Files
tryton/__init__.py
T

34 lines
1010 B
Python
Raw Normal View History

2015-02-04 22:59:37 +01:00
# 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
2018-03-20 17:29:24 +01:00
from . import account
from . import sale
from . import purchase
2017-06-24 10:44:43 +02:00
from . import stock
2015-02-04 22:59:37 +01:00
def register():
Pool.register(
2019-08-18 19:03:12 +02:00
account.TaxRule,
2018-03-20 17:29:24 +01:00
account.TaxRuleLineTemplate,
account.TaxRuleLine,
2015-02-04 22:59:37 +01:00
module='account_tax_rule_country', type_='model')
2018-03-20 17:29:24 +01:00
Pool.register(
account.InvoiceLine,
module='account_tax_rule_country', type_='model',
depends=['account_invoice'])
Pool.register(
sale.Sale,
2020-03-01 12:33:51 +01:00
sale.Line,
2018-03-20 17:29:24 +01:00
module='account_tax_rule_country', type_='model',
depends=['sale'])
Pool.register(
2020-03-01 12:33:51 +01:00
purchase.Purchase,
purchase.Line,
2018-03-20 17:29:24 +01:00
module='account_tax_rule_country', type_='model',
depends=['purchase'])
Pool.register(
stock.Move,
module='account_tax_rule_country', type_='model',
depends=['stock'])