summaryrefslogtreecommitdiff
path: root/addons/pos_restaurant/static/src/xml/Chrome.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/pos_restaurant/static/src/xml/Chrome.xml')
-rw-r--r--addons/pos_restaurant/static/src/xml/Chrome.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/pos_restaurant/static/src/xml/Chrome.xml b/addons/pos_restaurant/static/src/xml/Chrome.xml
new file mode 100644
index 00000000000..ee29abe2e36
--- /dev/null
+++ b/addons/pos_restaurant/static/src/xml/Chrome.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template" xml:space="preserve">
+
+ <t t-name="Chrome" t-inherit="point_of_sale.Chrome" t-inherit-mode="extension" owl="1">
+ <xpath expr="//OrderSelector" position="attributes">
+ <attribute name="t-if">mainScreen.name !== 'FloorScreen'</attribute>
+ </xpath>
+ <xpath expr="//OrderSelector" position="after">
+ <div t-else="" class="order-selector"></div>
+ </xpath>
+ </t>
+
+</templates>