Files
tryton/modules/sale_supply/__init__.py
T
Cédric Krier d3264484c4 Update sale based on purchase request update state
It is simpler if the purchase triggers the update of the request and the
update of the request triggers the process of the sale.
2023-12-21 12:33:00 +01:00

21 lines
560 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 product, purchase, sale, stock
def register():
Pool.register(
sale.Sale,
sale.Line,
purchase.Request,
stock.ShipmentIn,
product.Template,
product.Product,
module='sale_supply', type_='model')
Pool.register(
stock.OrderPoint,
module='sale_supply', type_='model', depends=['stock_supply'])