diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-24 12:01:57 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-24 12:01:57 +0700 |
| commit | 9e640373587dea1e612b34eca6308cb42458b714 (patch) | |
| tree | 5222b900daef5a6eafceeed7c572c715891ae620 /ob_chatter_position/views/web.xml | |
| parent | 2b3c94874466c3dd0a05f0f81dd4b09bc3f87987 (diff) | |
Update __init__.py, __manifest__.py, and 21 more files...
Diffstat (limited to 'ob_chatter_position/views/web.xml')
| -rwxr-xr-x | ob_chatter_position/views/web.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ob_chatter_position/views/web.xml b/ob_chatter_position/views/web.xml new file mode 100755 index 0000000..55bccd4 --- /dev/null +++ b/ob_chatter_position/views/web.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="webclient_bootstrap" inherit_id="web.webclient_bootstrap"> + <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="view_web_layout" inherit_id="web.layout" name="View Layout"> + <xpath expr="//meta[last()]" position="after"> + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> + </xpath> + </template> +</odoo> |
