-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path__init__.py
51 lines (49 loc) · 1.44 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.pool import Pool
from . import cron
from . import invoice
from . import aeat
from . import party
from . import account
from . import aeat_mapping
from . import sale
from . import purchase
from . import contract
def register():
Pool.register(
account.Configuration,
account.ConfigurationDefaultSII,
account.TemplateTax,
account.Tax,
cron.Cron,
party.Party,
party.PartyIdentifier,
invoice.Invoice,
invoice.ResetSIIKeysStart,
invoice.ResetSIIKeysEnd,
aeat.CreateSiiIssuedPendingView,
aeat.CreateSiiReceivedPendingView,
aeat.SIIReport,
aeat.SIIReportLine,
aeat.SIIReportLineTax,
aeat_mapping.IssuedInvoiceMapper,
aeat_mapping.RecievedInvoiceMapper,
module='aeat_sii', type_='model')
Pool.register(
contract.ContractConsumption,
depends=['contract'],
module='aeat_sii', type_='model')
Pool.register(
sale.Sale,
depends=['sale'],
module='aeat_sii', type_='model')
Pool.register(
purchase.Purchase,
depends=['purchase'],
module='aeat_sii', type_='model')
Pool.register(
invoice.ResetSIIKeys,
aeat.CreateSiiIssuedPending,
aeat.CreateSiiReceivedPending,
module='aeat_sii', type_='wizard')