-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
35 lines (30 loc) · 990 Bytes
/
__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
# 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
__all__ = ['register']
def register():
# Prevent import of backend when importing scripts
from . import account, sale, tax
Pool.register(
tax.Tax,
tax.TaxBoundary,
tax.TaxCode,
tax.TaxCodeLine,
tax.TaxCodeContext,
tax.TaxKey,
tax.TaxLine,
tax.TaxRule,
tax.TaxRuleLine,
module='account_us_sstp', type_='model')
Pool.register(
account.InvoiceLine,
account.InvoiceTax,
module='account_us_sstp', type_='model',
depends=['account_invoice'])
Pool.register(
sale.SaleLine,
module='account_us_sstp', type_='model', depends=['sale'])
Pool.register(
module='account_us_sstp', type_='wizard')
Pool.register(
module='account_us_sstp', type_='report')