Skip to content

Commit

Permalink
stock_putaway_rule: adapt to new odoo api
Browse files Browse the repository at this point in the history
  • Loading branch information
hparfr committed Feb 4, 2021
1 parent c04af7f commit 667ed2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stock_putaway_hook/models/stock_putaway_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 667ed2b

Please sign in to comment.