summaryrefslogtreecommitdiff
path: root/web_responsive/views/web.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
commit1ca3b3df3421961caec3b747a364071c80f5c7da (patch)
tree6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /web_responsive/views/web.xml
parentb57188be371d36d96caac4b8d65a40745c0e972c (diff)
initial commit
Diffstat (limited to 'web_responsive/views/web.xml')
-rw-r--r--web_responsive/views/web.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/web_responsive/views/web.xml b/web_responsive/views/web.xml
new file mode 100644
index 0000000..487efed
--- /dev/null
+++ b/web_responsive/views/web.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright 2018 Alexandre Díaz
+ License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
+-->
+<odoo>
+ <template
+ id="webclient_bootstrap"
+ inherit_id="web.webclient_bootstrap"
+ name="App Drawer - Web Client"
+ >
+ <xpath expr="//t[@t-set='body_classname']" position="attributes">
+ <attribute
+ name="t-value"
+ add="+ ' o_chatter_position_' + (request.env.user.chatter_position or 'normal')"
+ separator=" "
+ />
+ </xpath>
+ </template>
+ <template
+ id="responsive_web_layout"
+ inherit_id="web.layout"
+ name="Responsive Layout"
+ >
+ <xpath expr="//meta[last()]" position="after">
+ <meta
+ name="viewport"
+ content="width=device-width, initial-scale=1, user-scalable=no"
+ />
+ </xpath>
+ </template>
+</odoo>