Fix methods argument in depends to take a list not a string

This commit is contained in:
Cédric Krier committed 2018-05-31 14:40:41 +02:00
1 parent ccbe913626
commit 3d7c3f12d3
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ class ShipmentOut:
self.on_change_inventory_moves()
@fields.depends('carrier', 'customer', 'inventory_moves',
methods='_get_carrier_context')
methods=['_get_carrier_context'])
def on_change_inventory_moves(self):
try:
super(ShipmentOut, self).on_change_inventory_moves()