Remove safe_eval

We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
This commit is contained in:
Cédric Krier
2015-03-09 19:41:41 +01:00
parent af6eb8bb9b
commit ae12e96a43
+2 -1
View File
@@ -60,7 +60,8 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.action.act_window" id="act_zip_form">
<field name="name">Zip</field>
<field name="res_model">country.zip</field>
<field name="domain">[('country', 'in', Eval('active_ids'))]</field>
<field name="domain"
eval="[('country', 'in', Eval('active_ids'))]" pyson="1"/>
</record>
<record model="ir.action.act_window.view" id="act_zip_form_view1">
<field name="sequence" eval="10"/>