Fix registration of models and wizards.

This commit is contained in:
Albert Cervera i Areny 2018-08-20 18:04:11 +02:00
parent 39fa14a0cc
commit e50d0279ba
1 changed files with 1 additions and 4 deletions

View File

@ -10,18 +10,15 @@ def register():
Pool.register(
configuration.Configuration,
production.Production,
production.ChangeQuantityStart,
sale.Sale,
sale.SaleLine,
module='sale_supply_production', type_='model')
Pool.register(
production.ChangeQuantity,
module='sale_supply_production', type_='wizard')
Pool.register(
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_='model')
module='sale_supply_production', type_='wizard')