Odoo's ORM in v7 vs v8

More than a month I haven't written anything. Okay, actually I recently tried Odoo v8 and made a module for v8. What I got surprised was not my module, the ORM has been changed. I was got an error because of model, so I looked up the references inside orm.py file and orm.py has only 148 lines. I was surprised. Really.

Figure 1. orm.py in v8
I was looked up again where the model class is placed. I found it, it was moved to models.py file inside openerp folder. All methods like browse, search, etc are in that file. Perhaps orm.py will be deprecated like osv.py. I'm not sure, but my feeling tells me like that. Haha.

Figure 2. orm.py in v7

Comments

Popular posts from this blog

Making SublimePythonIDE Works on Windows

Another Way to Access Virtual Machine via http