Create default properties under noupdate data tag
The default properties should be modifiable by the user. issue5957 review26821002
This commit is contained in:
+7
-6
@@ -23,12 +23,6 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="code">account.landed_cost</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.property" id="property_landed_cost_sequence">
|
||||
<field name="field"
|
||||
search="[('model.model', '=', 'account.configuration'), ('name', '=', 'landed_cost_sequence')]"/>
|
||||
<field name="value" eval="'ir.sequence,' + str(ref('sequence_landed_cost'))"/>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="configuration_view_form">
|
||||
<field name="model">account.configuration</field>
|
||||
<field name="inherit" ref="account.configuration_view_form"/>
|
||||
@@ -116,4 +110,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">invoice_line_form</field>
|
||||
</record>
|
||||
</data>
|
||||
<data noupdate="1">
|
||||
<record model="ir.property" id="property_landed_cost_sequence">
|
||||
<field name="field"
|
||||
search="[('model.model', '=', 'account.configuration'), ('name', '=', 'landed_cost_sequence')]"/>
|
||||
<field name="value" eval="'ir.sequence,' + str(ref('sequence_landed_cost'))"/>
|
||||
</record>
|
||||
</data>
|
||||
</tryton>
|
||||
|
||||
Reference in New Issue
Block a user