4

I have developed one custom module in Odoo v8 and I want the same module to work on Odoo v9, is it possible to do this??

Vaibhav Bhavsar
  • 493
  • 3
  • 15

1 Answers1

1

Regading: Is there any specific difference in code for odoo 8 and odoo 9
My Answer is YES,

You can't just put module developed for odoo8 in odoo9 addons it will not work.

There are major changes in ODOO9, i have find some difference in the module/model:

  1. In Stock
  2. In Payment
  3. in Delivery
  4. Website Editor
  5. Mail (email.template is replace with mail.template )

For the developer point of view i have found many changes in js also, we using the backbone.js instead of raw js/jquery .

  1. Js [use doo.define and requires.js]
  2. jsonRpc is now called using require('web.ajax'); Some controller and method have the number of parameter

Overall ODOO9 have the implementation of more structured and pythonic code .

Hope this may help you in understanding the difference.

Prakash Kumar
  • 2,554
  • 2
  • 18
  • 28
  • Thanks for the answer, but what should I do basically if I want to run odoo 8 custom module in odoo 9?? – Vaibhav Bhavsar Apr 21 '16 at 12:41
  • for making the compatibility , start form inherited view. i can't recommend you a sliver bullet, as the compatibility issue is particular for module to module, – Prakash Kumar Apr 21 '16 at 12:49