Files
tryton/__init__.py
T
Cédric Krier 655a6528c0 Add secondary unit
issue8239
review271131003
2019-07-28 14:34:20 +02:00

26 lines
688 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
from . import product
from . import purchase
from . import stock
__all__ = ['register']
def register():
Pool.register(
account.InvoiceLine,
product.Template,
product.Product,
product.ProductSupplier,
purchase.Line,
stock.Move,
module='purchase_secondary_unit', type_='model')
Pool.register(
purchase.RequisitionLine,
module='purchase_secondary_unit', type_='model',
depends=['purchase_requisition'])