[FIX] product_sale_price_from_pricelist: Fix view xpath to use group_standard_price anchor

This commit is contained in:
snt 2026-02-11 18:37:34 +01:00
parent ec9f5a572c
commit 3cb0af6a7b

View file

@ -13,23 +13,23 @@
name="readonly" name="readonly"
>last_purchase_price_compute_type != 'manual_update'</attribute> >last_purchase_price_compute_type != 'manual_update'</attribute>
</field> </field>
<field name="standard_price" position="before"> <xpath expr="//group[@name='group_standard_price']" position="after">
<group <group string="Automatic Price Update">
string="Automatic Price Update" <group>
colspan="2" <field name="last_purchase_price_compute_type" />
invisible="last_purchase_price_compute_type != 'automatic_update'" <field
> name="last_purchase_price_received"
<field name="last_purchase_price_compute_type" readonly="1" /> widget="monetary"
<field options="{'currency_field': 'currency_id', 'field_digits': True}"
name="last_purchase_price_received" readonly="1"
widget="monetary" />
options="{'currency_field': 'currency_id', 'field_digits': True}" </group>
readonly="1" <group>
/> <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>
</group> </group>
</field> </xpath>
</field> </field>
</record> </record>