Files
tryton/__init__.py
T

33 lines
970 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(
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,
sale.SaleLine,
module='account_tax_rule_country', type_='model',
depends=['sale'])
Pool.register(
purchase.PurchaseLine,
module='account_tax_rule_country', type_='model',
depends=['purchase'])
Pool.register(
stock.Move,
module='account_tax_rule_country', type_='model',
depends=['stock'])