Initial import from Docker volume
This commit is contained in:
28
modules/purchase_secondary_unit/__init__.py
Executable file
28
modules/purchase_secondary_unit/__init__.py
Executable file
@@ -0,0 +1,28 @@
|
||||
# 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, product, purchase, 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'])
|
||||
Pool.register(
|
||||
purchase.BlanketAgreementLine,
|
||||
purchase.LineBlanketAgreement,
|
||||
module='purchase_secondary_unit', type_='model',
|
||||
depends=['purchase_blanket_agreement'])
|
||||
Reference in New Issue
Block a user