I am trying to install a module on odoo 10 EE. the modules works on CE perfectly. But in enterprise it seems it can't find openerp definition. How to convert following into odoo 10 ee compatible:
openerp.attachment_preview = function(instance) {
The module is this:
https://github.com/leblanc-simon/odoo-attachment-preview
do you have access Odoo 10 EE code ?
did you put your module into your Odoo 10 EE addon folder ?
yes, it says.. Uncaught ReferenceError: openerp is not defined
It works on CE version but not in EE