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')
|
2015-04-04 14:33:02 +02:00
|
|
|
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'],
|
2018-08-20 18:04:11 +02:00
|
|
|
module='sale_supply_production', type_='wizard')
|