summaryrefslogtreecommitdiff
path: root/addons/pos_mercury
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2019-09-06 06:12:11 +0000
committerAntoine Prieels <anp@odoo.com>2019-09-17 08:31:32 +0000
commit75ee93a9b62db0db0729f8bd9395d1ff85c6745d (patch)
tree12389fe134d3bf854db0d6bf216abae8bc657e86 /addons/pos_mercury
parent7ba83df6f40c409703ec5cf4da53d901fc8eddcc (diff)
[IMP] point_of_sale: Small changes to the POS Config view
Add a class on the list of IoT Devices to override it easily in pos_iot and increase the width of the labels.
Diffstat (limited to 'addons/pos_mercury')
-rw-r--r--addons/pos_mercury/views/pos_config_views.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/pos_mercury/views/pos_config_views.xml b/addons/pos_mercury/views/pos_config_views.xml
index 63aa77de208..5fd9becf881 100644
--- a/addons/pos_mercury/views/pos_config_views.xml
+++ b/addons/pos_mercury/views/pos_config_views.xml
@@ -10,9 +10,9 @@
<field name="model">pos.config</field>
<field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
<field name="arch" type="xml">
- <label for="iface_scan_via_proxy" position="attributes">
+ <xpath expr="//div[hasclass('iot_barcode_scanner')]//label" position="attributes">
<attribute name="string">Barcode Scanner/Card Reader</attribute>
- </label>
+ </xpath>
</field>
</record>
</odoo>