I am trying to embed the scheduler to a landing page via an iframe. The Odoo CORS policy is blocking it.
What can be done to remediate the issue ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am trying to embed the scheduler to a landing page via an iframe. The Odoo CORS policy is blocking it.
What can be done to remediate the issue ?
Where do you add that code ?
Isnt it the change supposed to happen on the Odoo website ?
Solution 1:
Your can try to set proxy_mode = True in the odoo.conf file
Solution 2:
You can change nginx configuration to enable cors
nano /etc/nginx/site-enabled/websiteserver{
.......
add_header Access-Control-Allow-Origin "*";
}
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
1
feb. 25
|
2370 | |||
|
2
okt. 25
|
37499 | |||
|
3
mei 24
|
4572 | |||
|
Adding I frame in OpenERP
Opgelost
|
2
nov. 23
|
37938 | ||
|
3
dec. 23
|
19249 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.