This commit is contained in:
snt 2026-02-11 02:55:10 +01:00
parent 39eb9608dc
commit 69917d1ec2

View file

@ -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>