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:
1 parent
16b624ebaf
commit
7058ffeb77
1 file changed
+3
-1
+3
-1
@@ -18,7 +18,9 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_timesheet_line_form_invoice">
|
||||
<field name="name">Timesheet Lines</field>
|
||||
<field name="res_model">timesheet.line</field>
|
||||
<field name="domain">[('invoice_line.invoice', 'in', Eval('active_ids'))]</field>
|
||||
<field name="domain"
|
||||
eval="[('invoice_line.invoice', 'in', Eval('active_ids'))]"
|
||||
pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.keyword"
|
||||
id="act_timesheet_line_form_invoice_keyword1">
|
||||
|
||||
Reference in new issue
Block a user