From 3d7c3f12d3fc29fbb85bb149f00e29a749488374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 31 May 2018 14:40:41 +0200 Subject: [PATCH] Fix methods argument in depends to take a list not a string --- stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock.py b/stock.py index c7f22f30e7..5b8e5da02c 100644 --- a/stock.py +++ b/stock.py @@ -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()