[FIX] pos_cache: repair broken xpath
The button `set_deprecated` no longer exists in the parent view. Add the button next to the pos_cache field, at the end of the form.
This commit is contained in:
@@ -6,11 +6,10 @@
|
||||
<field name="model">pos.config</field>
|
||||
<field name="inherit_id" ref="point_of_sale.view_pos_config_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='set_deprecate']" position="after">
|
||||
<button name='delete_cache' type="object" string="Recompute cache"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='sequence_id']" position="after">
|
||||
<xpath expr="//field[@name='currency_id']" position="after">
|
||||
<field name='oldest_cache_time'/>
|
||||
<button name='delete_cache' type="object"
|
||||
string="Recompute cache"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user