Since fea57ac2ca9d the taxes for consignment invoice lines are computed by the invoice line and no more by the stock move. Closes #13432 (grafted from 4840a1e96212f31f84e6bc5ad4eda64c2d74099a) --HG-- branch : 7.0
29 lines
841 B
Python
29 lines
841 B
Python
# 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, purchase, sale
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
account.TaxRule,
|
|
account.TaxRuleLineTemplate,
|
|
account.TaxRuleLine,
|
|
module='account_tax_rule_country', type_='model')
|
|
Pool.register(
|
|
account.InvoiceLine,
|
|
module='account_tax_rule_country', type_='model',
|
|
depends=['account_invoice'])
|
|
Pool.register(
|
|
sale.Sale,
|
|
sale.Line,
|
|
module='account_tax_rule_country', type_='model',
|
|
depends=['sale'])
|
|
Pool.register(
|
|
purchase.Purchase,
|
|
purchase.Line,
|
|
module='account_tax_rule_country', type_='model',
|
|
depends=['purchase'])
|