Files
tryton/configuration.xml
T
Cédric Krier 18e5d06f54 Create default properties under noupdate data tag
The default properties should be modifiable by the user.

issue5957
review26821002
2016-10-25 23:24:17 +02:00

22 lines
909 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.ui.view"
id="sale_opportunity_configuration_view_form">
<field name="model">sale.configuration</field>
<field name="inherit" ref="sale.sale_configuration_view_form"/>
<field name="name">configuration_form</field>
</record>
</data>
<data noupdate="1">
<record model="ir.property" id="property_sale_opportunity_sequence">
<field name="field"
search="[('model.model', '=', 'sale.configuration'), ('name', '=', 'sale_opportunity_sequence')]"/>
<field name="value"
eval="'ir.sequence,' + str(ref('sequence_sale_opportunity'))"/>
</record>
</data>
</tryton>