Fix methods argument in depends to take a list not a string
This commit is contained in:
1 parent
ccbe913626
commit
3d7c3f12d3
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user