summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml/editor.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2017-11-07 14:15:13 +0100
committerYannick Tivisse <yti@odoo.com>2017-11-07 14:15:13 +0100
commit1c178eb89606544a964201c22f1ac3851627aaaa (patch)
tree9017691bb12a7a56dc50a9456d7e873c3bf001bb /addons/web_editor/static/src/xml/editor.xml
parent70a521205aae9ef7259dcbcc609c98b701fa8e1d (diff)
[IMP] convert.py: Extend accessible variables in '_tag_record'
Purpose ======= Currently on <record> tags, it's impossible to use 'datetime' or 'obj' when using 'search' attribute on a field. The following example won't work: <record id="foo" model="model.model"> <field name="bar_id" search="[('company.id', '=', obj([]).env.user.company_id.id)]"/> </record> Specification ============= Use '_get_idref' to extend the accessible variables on the 'safe_eval' computation.
Diffstat (limited to 'addons/web_editor/static/src/xml/editor.xml')
0 files changed, 0 insertions, 0 deletions