问题
I want to load a different stylesheet based on user group (or if possible user selected company company)
This is my code
<odoo>
<template id="id" name="your name" inherit_id="website.assets_backend">
<xpath expr="." position="inside">
<attribute name="attrs">{'invisible': 1}</attribute>
<link href="/n_hesaby_subscription_manager/static/src/css/style.css" rel="stylesheet" type="text/css"/>
</xpath>
</template>
</odoo>
Thank you for your help
can the file be scss
来源:https://stackoverflow.com/questions/62548218/how-to-load-css-based-on-group-odoo-13