Community mailing list archives
Re: Unexpected diffrences between Odoo Enterprise and Odoo Community interfacesby
Vauxoo S.A. de C.V., Nhomar Hernandez
On Tue, Apr 19, 2016 at 5:33 AM, Jerome Sonnet <firstname.lastname@example.org> wrote:
I suppose you understand there is not copyright or commercial issue here, it is a pure technical discussion as how to make this work or if we must expect to make two versions of most of our work.
You need to select properly your placeholder, if you use a placeholder which is used for css look and feel this will be for sure broken.
If this is not the case then may be it can be considered a wrong approach technically from odoo.
In yous specific case:
Did you know that ir.attachment module has an api to make the CRUD on documents on server side?.
I see you module is working on JS side (and that's incorrect AFAICU), you have an api that allow the document itself be reviewed by the ORM without jump the ORM is not good functional, technically speaking.
I mean even if it is true that some point will not be compatible between versions (And odoo should explain itself in that matter BTW) on this case specifically your design is the wrong one not the fact that Odoo called differently a css placeholder to for look and feel.
To avoid this bad approaches I strongly recommend to you put the module under OCA repositories maybe this should give you ebst comments at PR time and not At publishing time we are a lot of people taking this decisions day by day there helping each others. An you have lot of examples there.
I hope it helps you.