forked from coopengo/account_invoice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
46 lines (43 loc) · 1.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
# 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 .payment_term import *
from .invoice import *
from .party import *
from .account import *
def register():
Pool.register(
PaymentTerm,
PaymentTermLine,
PaymentTermLineRelativeDelta,
TestPaymentTermView,
TestPaymentTermViewResult,
Invoice,
InvoicePaymentLine,
InvoiceLine,
InvoiceLineTax,
InvoiceTax,
PayInvoiceStart,
PayInvoiceAsk,
CreditInvoiceStart,
Address,
Party,
PartyPaymentTerm,
InvoiceSequence,
# Match pattern migration fallbacks to Fiscalyear values so Period
# must be registered before Fiscalyear
Period,
FiscalYear,
Move,
Reconciliation,
module='account_invoice', type_='model')
Pool.register(
TestPaymentTerm,
PayInvoice,
CreditInvoice,
PartyReplace,
RenewFiscalYear,
module='account_invoice', type_='wizard')
Pool.register(
InvoiceReport,
module='account_invoice', type_='report')