Odoo Help

Welcome!

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.

0

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

By
E.M.
on 2/13/16, 5:32 AM 542 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?

 

1

Ahmed M.Elmubarak

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


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

Hi, 

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)

E.M.
on 2/13/16, 6:23 AM

osv.osv

Ahmed M.Elmubarak
on 2/13/16, 6:46 AM
0
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)

Stats

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