2020-05-31 05:56:26 +02:00
|
|
|
from trytond.pool import Pool
|
|
|
|
from . import configuration
|
|
|
|
|
|
|
|
from . import invoice
|
|
|
|
from . import facho
|
|
|
|
from . import dian
|
|
|
|
|
|
|
|
__all__ = ['register']
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
Pool.register(
|
|
|
|
configuration.Configuration,
|
|
|
|
configuration.ConfigurationDianFECompany,
|
|
|
|
facho.FEGenericCode,
|
|
|
|
invoice.Invoice,
|
2020-06-01 18:14:16 +02:00
|
|
|
invoice.InvoiceLine,
|
|
|
|
invoice.Product,
|
2020-06-03 18:32:30 +02:00
|
|
|
invoice.PartyFeIdentifier,
|
|
|
|
invoice.PartyFeOrganization,
|
2020-06-01 18:14:16 +02:00
|
|
|
invoice.Party,
|
2020-06-02 21:09:37 +02:00
|
|
|
invoice.Cron,
|
2020-05-31 05:56:26 +02:00
|
|
|
dian.RangoFacturacion,
|
|
|
|
module='account_invoice_facho', type_='model')
|
|
|
|
Pool.register(
|
|
|
|
dian.SincronizarRangoFacturacion,
|
|
|
|
module='account_invoice_facho', type_='wizard')
|
|
|
|
Pool.register(
|
|
|
|
module='account_invoice_facho', type_='report')
|