Reputation: 23
I am working with Odoo and I have a problem viewing PDFs in Chatter after moving the files to an external server (Alfresco).
What I do:
When I try to view the file again in Odoo, I get this error:
An error occurred while loading the PDF.
PDF.js v2.16.105 (build: 172ccdbe5)
Message: file origin does not match viewer's
However, I can download it without problems from Odoo. How can I make Odoo allow to display the PDF correctly from Chatter?
Upvotes: 1
Views: 39
Reputation: 2737
I don't know odoo and chatter, but I think you have to take care of CORS Configuration in Alfresco. That would explain the error message complaining about origin
.
Upvotes: 1