[FIX] product_sale_price_from_pricelist: Fix view xpath to use group_standard_price anchor
This commit is contained in:
parent
ec9f5a572c
commit
3cb0af6a7b
1 changed files with 16 additions and 16 deletions
|
|
@ -13,23 +13,23 @@
|
|||
name="readonly"
|
||||
>last_purchase_price_compute_type != 'manual_update'</attribute>
|
||||
</field>
|
||||
<field name="standard_price" position="before">
|
||||
<group
|
||||
string="Automatic Price Update"
|
||||
colspan="2"
|
||||
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" />
|
||||
<xpath expr="//group[@name='group_standard_price']" position="after">
|
||||
<group string="Automatic Price Update">
|
||||
<group>
|
||||
<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"
|
||||
/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="list_price_theoritical" readonly="1" />
|
||||
<field name="last_purchase_price_updated" readonly="1" />
|
||||
</group>
|
||||
</group>
|
||||
</field>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue