Use tryton.cfg to register in the Pool

This commit is contained in:
Cédric Krier
2025-09-18 16:42:29 +02:00
parent 390dd930d8
commit 95456d6f92
433 changed files with 3421 additions and 4814 deletions
@@ -1,16 +1,2 @@
# 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
__all__ = ['register']
def register():
Pool.register(
account.TaxTemplate,
account.Tax,
account.InvoiceLine,
module='account_tax_non_deductible', type_='model')
@@ -6,3 +6,9 @@ depends:
ir
xml:
account.xml
[register]
model:
account.TaxTemplate
account.Tax
account.InvoiceLine