Create default properties under noupdate data tag

The default properties should be modifiable by the user.

issue5957
review26821002
This commit is contained in:
Cédric Krier committed 2016-10-25 23:17:48 +02:00
1 parent 26a468eab0
commit aea1b2fcc3
1 file changed
+7 -6
+7 -6
View File
@@ -104,16 +104,17 @@ this repository contains the full copyright notices and license terms. -->
<field name="group" ref="group_payment"/>
</record>
<record model="ir.property" id="property_payment_group_sequence">
<field name="field"
search="[('model.model', '=', 'account.configuration'), ('name', '=', 'payment_group_sequence')]"/>
<field name="value" eval="'ir.sequence,' + str(ref('sequence_account_payment_group'))"/>
</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>
<data noupdate="1">
<record model="ir.property" id="property_payment_group_sequence">
<field name="field"
search="[('model.model', '=', 'account.configuration'), ('name', '=', 'payment_group_sequence')]"/>
<field name="value" eval="'ir.sequence,' + str(ref('sequence_account_payment_group'))"/>
</record>
</data>
</tryton>