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:
+2
-1
@@ -26,7 +26,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_production_request">
|
||||
<field name="name">Request Productions</field>
|
||||
<field name="res_model">production</field>
|
||||
<field name="search_value">[('state', '=', 'request')]</field>
|
||||
<field name="search_value"
|
||||
eval="[('state', '=', 'request')]" pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_production_request_view1">
|
||||
|
||||
@@ -7,7 +7,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
id="act_order_point_form_domain_production">
|
||||
<field name="name">Production</field>
|
||||
<field name="sequence" eval="30"/>
|
||||
<field name="domain">[('type', '=', 'production')]</field>
|
||||
<field name="domain"
|
||||
eval="[('type', '=', 'production')]" pyson="1"/>
|
||||
<field name="act_window" ref="stock_supply.act_order_point_form"/>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user