diff --git a/stock_putaway_hook/models/stock_putaway_rule.py b/stock_putaway_hook/models/stock_putaway_rule.py index 617a8318865..997c15ede6c 100644 --- a/stock_putaway_hook/models/stock_putaway_rule.py +++ b/stock_putaway_hook/models/stock_putaway_rule.py @@ -88,7 +88,7 @@ def _fields_view_get_add_exclusive_selection_attrs(self, doc): field.set("attrs", str(attrs)) modifiers = {} transfer_node_to_modifiers( - field, modifiers, self.env.context, in_tree_view=True + field, modifiers, context=self.env.context ) transfer_modifiers_to_node(modifiers, field)