-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
76 lines (74 loc) · 2.22 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# This file is part of Tryton. 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 account
from . import company
from . import currency
from . import invoice
from . import party
from . import payment
from . import product
from . import tax
from . import move
def register():
Pool.register(
account.Account,
account.AccountTemplate,
account.Period,
account.AccountType,
account.AccountTypeTemplate,
company.Company,
currency.Currency,
party.PartyIdentifier,
product.Category,
product.CategoryAccount,
product.Template,
tax.TaxCodeTemplate,
tax.TaxTemplate,
tax.Tax,
tax.TaxCode,
tax.TaxRuleTemplate,
tax.TaxRuleLineTemplate,
move.Move,
invoice.CreditInvoiceStart,
module='account_es', type_='model')
Pool.register(
account.CreateChart,
move.CancelMoves,
module='account_es', type_='wizard')
Pool.register(
payment.Journal,
payment.Group,
payment.Payment,
payment.ProcessPaymentStart,
payment.CreatePaymentGroupStart,
payment.MoveLine,
depends=['account_payment'],
module='account_es', type_='model')
Pool.register(
payment.CreatePaymentGroup,
payment.PayLine,
payment.ProcessPayment,
depends=['account_payment'],
module='account_es', type_='wizard')
Pool.register(
payment.AccountBankJournal,
depends=['account_bank', 'account_payment'],
module='account_es', type_='model')
Pool.register(
payment.AccountPaymentClearing,
depends=['account_payment_clearing'],
module='account_es', type_='model')
Pool.register(
invoice.Invoice,
invoice.InvoiceLine,
depends=['account_invoice'],
module='account_es', type_='model')
Pool.register(
invoice.CreditInvoice,
depends=['account_invoice'],
module='account_es', type_='wizard')
Pool.register(
invoice.InvoiceUnpay,
depends=['account_invoice'],
module='account_es', type_='model')