Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


In OLD API, which is the difference between osv.osv and osv.Model?

on 2/13/16, 5:32 AM 400 views

I am extending sale class.

As it is coded in OLD API, I guess it is easier to follow the OLD API conventions.

- Should I use osv.osv or osv.Model and why?



Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
| 5 3 5
--Ahmed M.Elmubarak--

Ahmed M.Elmubarak
On 2/13/16, 6:14 AM


There is no difference they're the same ...

Check this line and this question  ...

Which one is deprecated? osv.osv or osv.Model? (in old API)

on 2/13/16, 6:23 AM


Ahmed M.Elmubarak
on 2/13/16, 6:46 AM
Krupesh Laiya
On 2/13/16, 5:51 AM

Yes, old api convention is applicable for the sale.order object. 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/13/16, 5:32 AM
Seen: 400 times
Last updated: 2/13/16, 6:54 AM