Skip to Content

Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
25 Views

Hi,

I created different assets to customize my Odoo Online service:

- [CSS] To edit the colors of the Odoo Frontend

- [CSS] To change the aspect of the view a user see when filling a survey

- [JS] To add Google Ads Conversion at the end of the survey


When I start a test with the dedicated button on Surveys everything works fine which is good, but when I copy the link to use it..


Private navigator

In order to simulate a real new user I go on a private navigator. Here the errors shown:

[CSS] Refuse to apply {LINK TO CSS FILE}.css because its MIME type ('image/png') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Meanwhile the files are shown in the

but the style are not applied..

[JS] Same as the [CSS] but in addition the console log me "warning: Some modules could not be started" and the list of "Missng dependencies : []", "Non loaded modules: []" and so when I try to start the survey, the page reload.


Non private navigator

When I load the survey in a new tab, because I'm connected in the ERP everything loads fine. But when I disconnect myself to try the errors shows up again. You might say : "Make user log in then", thing is, the people whose filling the form are new potential customers.



Avatar
Discard

The solution was simple, I had to set my attachments to public.



Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!