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:25:59 +02:00
1 parent cdaa9aff8b
commit c7c9772293
1 file changed
+6 -6
+6 -6
View File
@@ -30,12 +30,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="code">stock.shipment.drop</field>
</record>
<record model="ir.property" id="property_shipment_drop_sequence">
<field name="field"
search="[('model.model', '=', 'stock.configuration'), ('name', '=', 'shipment_drop_sequence')]"/>
<field name="value" eval="'ir.sequence,' + str(ref('sequence_shipment_drop'))"/>
</record>
<record model="ir.ui.view" id="shipment_drop_view_form">
<field name="model">stock.shipment.drop</field>
<field name="type">form</field>
@@ -208,6 +202,12 @@ this repository contains the full copyright notices and license terms. -->
<field name="type">drop</field>
</record>
<record model="ir.property" id="property_shipment_drop_sequence">
<field name="field"
search="[('model.model', '=', 'stock.configuration'), ('name', '=', 'shipment_drop_sequence')]"/>
<field name="value" eval="'ir.sequence,' + str(ref('sequence_shipment_drop'))"/>
</record>
<record model="ir.property" id="default_sale_location_drop">
<field name="field"
search="[('model.model', '=', 'sale.configuration'), ('name', '=', 'sale_drop_location')]"/>