Files
web/web_chatter_position/views/web.xml
2023-07-20 11:45:54 +02:00

13 lines
435 B
XML

<?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 'bottom')"
separator=" "
/>
</xpath>
</template>
</odoo>