Community mailing list archives

community@mail.odoo.com

Re: Odoo 9 Javascript API

by
Nhomar Hernandez
- 03/05/2016 18:48:36

2016-03-05 15:37 GMT-06:00 Phillip Stack <phillips@aimsystems.ca>:
This documentation is making reference to the global openerp variable as well as instance and local parameters that get passed to your namespace. I am not sure but I was under the impression based on what I read here https://www.odoo.com/documentation/9.0/reference/javascript.html that this format and these arguments are deprecated. I can see in the latter mentioned link that there is a brief overview of the new javascript module api based on requirejs. However not much in the way of a fully functional example. The documentation could be worse. However the section on building interface extensions is basically the exact same as v8 which I dont believe reflects the new new javascript standards.

I didn't tested yet, but it looks as you are right.

@lessuise is the guy to answer this... I hope he do it. :-(


--
--------------------
Saludos Cordiales

CEO at Vauxoo Odoo's Gold Partner.
 
--
Nhomar Hernandez
http://about.me/nhomar