Initial import from Docker volume

This commit is contained in:
root
2025-12-26 13:11:43 +00:00
commit 4998dc066a
13336 changed files with 1767801 additions and 0 deletions

56
modules/product_kit/__init__.py Executable file
View File

@@ -0,0 +1,56 @@
# 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, sale, stock
__all__ = ['register']
def register():
Pool.register(
product.Template,
product.Product,
product.Component,
module='product_kit', type_='model')
Pool.register(
account.Invoice,
account.InvoiceLine,
module='product_kit', type_='model', depends=['account_invoice_stock'])
Pool.register(
stock.Move,
module='product_kit', type_='model', depends=['stock'])
Pool.register(
sale.Sale,
sale.Line,
sale.LineComponent,
sale.LineComponentIgnoredMove,
sale.LineComponentRecreatedMove,
stock.ShipmentOutReturn,
stock.MoveSale,
account.InvoiceLineSale,
module='product_kit', type_='model', depends=['sale'])
Pool.register(
sale.HandleShipmentException,
module='product_kit', type_='wizard', depends=['sale'])
Pool.register(
sale.Amendment,
sale.AmendmentLine,
module='product_kit', type_='model', depends=['sale_amendment'])
Pool.register(
purchase.Purchase,
purchase.Line,
purchase.LineComponent,
purchase.LineComponentIgnoredMove,
purchase.LineComponentRecreatedMove,
stock.ShipmentIn,
stock.MovePurchase,
account.InvoiceLinePurchase,
module='product_kit', type_='model', depends=['purchase'])
Pool.register(
purchase.HandleShipmentException,
module='product_kit', type_='wizard', depends=['purchase'])
Pool.register(
purchase.Amendment,
purchase.AmendmentLine,
module='product_kit', type_='model', depends=['purchase_amendment'])