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

View file

@ -11,9 +11,9 @@
<field name="standard_price" position="attributes"> <field name="standard_price" position="attributes">
<attribute name="readonly">last_purchase_price_compute_type != 'manual_update'</attribute> <attribute name="readonly">last_purchase_price_compute_type != 'manual_update'</attribute>
</field> </field>
<field name="list_price" position="after"> <field name="standard_price" position="before">
<separator string="Label Info" colspan="2"/> <group string="Automatic Price Update" colspan="2" attrs="{'invisible': [('last_purchase_price_compute_type', '!=', 'automatic_update')]}">
<field name="last_purchase_price_compute_type" /> <field name="last_purchase_price_compute_type" readonly="1"/>
<field name="last_purchase_price_received" <field name="last_purchase_price_received"
widget="monetary" widget="monetary"
options="{'currency_field': 'currency_id', 'field_digits': True}" options="{'currency_field': 'currency_id', 'field_digits': True}"
@ -21,6 +21,7 @@
/> />
<field name="list_price_theoritical" readonly="1" /> <field name="list_price_theoritical" readonly="1" />
<field name="last_purchase_price_updated" readonly="1" /> <field name="last_purchase_price_updated" readonly="1" />
</group>
</field> </field>
</field> </field>
</record> </record>