diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-08-02 17:47:58 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-08-02 18:15:20 +0200 |
| commit | 683471ae6fea924534bbf8a51b54c9b8d7c0295c (patch) | |
| tree | 73a1afdde75303f89d83ede2c97bc0f47ee02616 /addons/pos_cache/views | |
| parent | 30207886b77ee3ae62ac17d2114d032f6ff70c26 (diff) | |
[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.
Diffstat (limited to 'addons/pos_cache/views')
| -rw-r--r-- | addons/pos_cache/views/pos_cache_views.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/addons/pos_cache/views/pos_cache_views.xml b/addons/pos_cache/views/pos_cache_views.xml index 522d9437a0b..dca4b9cf07c 100644 --- a/addons/pos_cache/views/pos_cache_views.xml +++ b/addons/pos_cache/views/pos_cache_views.xml @@ -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> |
