forked from OCA/pos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pos_config.xml
25 lines (25 loc) · 1002 Bytes
/
pos_config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_pos_config_form" model="ir.ui.view">
<field name="model">pos.config</field>
<field name="inherit_id" ref="point_of_sale.pos_config_view_form" />
<field name="arch" type="xml">
<xpath
expr="//field[@name='start_category']//ancestor::div[hasclass('o_setting_box')]"
position="after"
>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="iface_empty_home" />
</div>
<div class="o_setting_right_pane">
<label for="iface_empty_home" />
<div class="text-muted">
Hide products if no category is selected.
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>