-
Notifications
You must be signed in to change notification settings - Fork 23.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LESS doesn't work on login page. #13324
Comments
Hi @DanielGasperoni, Thanks for your report but Github issues are only for reporting issues in the official Odoo code. P.S: It is best to ask these kind of questions on the official Odoo help forum (help.odoo.com). Regards, |
Actually I had the same issue also a while back. I was trying to edit the login page css, and I couldn't figure out why my .less css wasn't parsed by just extending the login template page. Latter I figure out the layout was actually the website layout, and I just added there. However, it would make sense this .xml that contains the login page layout declaration be capable of parsing the .less files, wouldn't? Thanks |
Hi @rafaeljuzwiak, The back-end (read everything not website related) and the front-end (website related) are cleanly separated. This means you'll have to call the right asset ( |
@Yenthe666 Actually, there are two login pages: Sorry, I didn't post on forum because I assumed this was a bug. |
Hmm I see, @JKE-be can you shed some extra light on this please? |
any solution for that ? |
Impacted versions: V9.0
Issue:
On login page, if I link a less, Odoo is not generating the css on the fly, but on backend and website's frontend the less is working fine. The issue is only on login page.
example:
<link rel="stylesheet" type="text/less" href="/mymodule/static/src/less/style.less"/>
I call this line in "web.assets_backend" template and works
but this same line in web.login_layout doesn't
The text was updated successfully, but these errors were encountered: