fix form
This commit is contained in:
parent
39eb9608dc
commit
69917d1ec2
1 changed files with 11 additions and 10 deletions
|
|
@ -11,16 +11,17 @@
|
|||
<field name="standard_price" position="attributes">
|
||||
<attribute name="readonly">last_purchase_price_compute_type != 'manual_update'</attribute>
|
||||
</field>
|
||||
<field name="list_price" position="after">
|
||||
<separator string="Label Info" colspan="2"/>
|
||||
<field name="last_purchase_price_compute_type" />
|
||||
<field name="last_purchase_price_received"
|
||||
widget="monetary"
|
||||
options="{'currency_field': 'currency_id', 'field_digits': True}"
|
||||
readonly="1"
|
||||
/>
|
||||
<field name="list_price_theoritical" readonly="1" />
|
||||
<field name="last_purchase_price_updated" readonly="1" />
|
||||
<field name="standard_price" position="before">
|
||||
<group string="Automatic Price Update" colspan="2" attrs="{'invisible': [('last_purchase_price_compute_type', '!=', 'automatic_update')]}">
|
||||
<field name="last_purchase_price_compute_type" readonly="1"/>
|
||||
<field name="last_purchase_price_received"
|
||||
widget="monetary"
|
||||
options="{'currency_field': 'currency_id', 'field_digits': True}"
|
||||
readonly="1"
|
||||
/>
|
||||
<field name="list_price_theoritical" readonly="1" />
|
||||
<field name="last_purchase_price_updated" readonly="1" />
|
||||
</group>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue