Browse Source

[FIX] warning about dynamic context

pull/1055/head
Holger Brunn 7 years ago
committed by Sylvain LE GAL
parent
commit
a59070f12c
  1. 3
      base_view_inheritance_extension/models/ir_ui_view.py

3
base_view_inheritance_extension/models/ir_ui_view.py

@ -105,7 +105,8 @@ class IrUiView(models.Model):
for attribute_node in specs: for attribute_node in specs:
python_dict = tools.safe_eval( python_dict = tools.safe_eval(
node.get(attribute_node.get('name')) or '{}', node.get(attribute_node.get('name')) or '{}',
UnquoteEvalObjectContext()
UnquoteEvalObjectContext(),
nocopy=True
) )
python_dict[attribute_node.get('key')] = UnquoteObject( python_dict[attribute_node.get('key')] = UnquoteObject(
attribute_node.text attribute_node.text

Loading…
Cancel
Save