trytond-sale_supply_production/__init__.py

25 lines
758 B
Python
Raw Permalink Normal View History

2014-01-03 13:18:29 +01:00
#The COPYRIGHT file at the top level of this repository contains the full
#copyright notices and license terms.
from trytond.pool import Pool
2018-05-11 10:10:27 +02:00
from . import configuration
from . import production
from . import sale
2014-01-03 13:18:29 +01:00
def register():
Pool.register(
2018-05-11 10:10:27 +02:00
configuration.Configuration,
production.Production,
sale.Sale,
sale.SaleLine,
2017-12-18 17:19:57 +01:00
module='sale_supply_production', type_='model')
Pool.register(
2018-05-11 10:10:27 +02:00
production.ChangeQuantity,
sale.ChangeLineQuantityStart,
depends=['sale_change_quantity'],
module='sale_supply_production', type_='model')
Pool.register(
sale.ChangeLineQuantity,
depends=['sale_change_quantity'],
module='sale_supply_production', type_='wizard')