summaryrefslogtreecommitdiff
path: root/addons/test_mail/data
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-02-07 13:42:17 +0000
committerVictor Feyens <vfe@odoo.com>2020-02-11 13:07:06 +0000
commitd4e0fe018d05fd0dc3e9ab77977d6e97440c73c0 (patch)
treedb7191da6d78af6abf72548e60ae924153360c63 /addons/test_mail/data
parenta247d643777c5aa5e3804bb6f07a7ba1d5753d26 (diff)
[IMP] *: use `ref=` instead of `eval="ref('` in xml field tags.
* Code cleanup * Avoid a safe evaluation of the field value when loading those records. closes odoo/odoo#44883 Related: odoo/enterprise#8283 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'addons/test_mail/data')
-rw-r--r--addons/test_mail/data/subtype_data.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/test_mail/data/subtype_data.xml b/addons/test_mail/data/subtype_data.xml
index 076f4cbbf9b..f97e60e72f7 100644
--- a/addons/test_mail/data/subtype_data.xml
+++ b/addons/test_mail/data/subtype_data.xml
@@ -27,7 +27,7 @@
<record id="st_mail_test_child_full" model="mail.message.subtype">
<field name="name">Umbrella Child Full Subtype</field>
<field name="res_model">mail.test</field>
- <field name="parent_id" eval="ref('test_mail.st_mail_test_full_umbrella_upd')"/>
+ <field name="parent_id" ref="test_mail.st_mail_test_full_umbrella_upd"/>
<field name="relation_field">umbrella_id</field>
<field name="default" eval="False"/>
<field name="internal" eval="False"/>