Files
tryton/account.xml
T
Cédric Krier c37d02babf 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
2015-03-09 19:41:16 +01:00

25 lines
998 B
XML

<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.action.act_window.domain"
id="act_move_line_form_domain_receivable_mandate">
<field name="name">Receivable with Mandate</field>
<field name="sequence" eval="25"/>
<field name="domain"
eval="['AND', ['OR', ('debit', '&gt;', 0), ('credit', '&lt;', 0)], ('party.sepa_mandates', '!=', None)]"
pyson="1"/>
<field name="act_window" ref="account_payment.act_move_line_form"/>
</record>
<record model="ir.ui.view" id="configuration_view_form">
<field name="model">account.configuration</field>
<field name="inherit" ref="account.configuration_view_form"/>
<field name="name">configuration_form</field>
</record>
</data>
</tryton>