Add depends on Pool.register

issue7178
review37051002
This commit is contained in:
Cédric Krier
2018-03-20 17:32:38 +01:00
parent be1d8729bd
commit 5378d577f3
+4 -1
View File
@@ -15,8 +15,11 @@ def register():
stock.ShipmentInReturn,
stock.ShipmentOut,
stock.ShipmentOutReturn,
stock.Package,
module='stock_shipment_measurements', type_='model')
Pool.register(
stock.Package,
module='stock_shipment_measurements', type_='model',
depends=['stock_package'])
Pool.register(
module='stock_shipment_measurements', type_='wizard')
Pool.register(