move register from __init__ to tryton.cfg

This commit is contained in:
2026-07-02 19:21:02 -05:00
parent 24ce74cb65
commit 570828ead9
2 changed files with 7 additions and 17 deletions

View File

@@ -1,17 +0,0 @@
from trytond.pool import Pool
from . import printer, shop
__all__ = ['register']
def register():
Pool.register(
printer.Device,
printer.Api,
printer.Printer,
shop.Shop,
module='sale_printer', type_='model')
Pool.register(
module='sale_printer', type_='wizard')
Pool.register(
module='sale_printer', type_='report')