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:24:39 +02:00
1 parent 6276b449d0
commit 850e2ee21d
1 file changed
+7 -6
+7 -6
View File
@@ -10,12 +10,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">configuration_form</field>
</record>
<record model="ir.property" id="property_sale_shipment_cost_method">
<field name="field"
search="[('model.model', '=', 'sale.configuration'), ('name', '=', 'sale_shipment_cost_method')]" />
<field name="value">,order</field>
</record>
<record model="ir.ui.view" id="sale_view_form">
<field name="model">sale.sale</field>
<field name="type" eval="None"/>
@@ -31,4 +25,11 @@ this repository contains the full copyright notices and license terms. -->
</record>
</data>
<data noupdate="1">
<record model="ir.property" id="property_sale_shipment_cost_method">
<field name="field"
search="[('model.model', '=', 'sale.configuration'), ('name', '=', 'sale_shipment_cost_method')]" />
<field name="value">,order</field>
</record>
</data>
</tryton>