In v7, I found that there are some models which are deprecated.
I found three deprecated models in osv.
So it means that now onwards we should not use
But I was surprised when I looked into the addons,
osv.osv_memory are used.
So I am wondering why those models are deprecated?
osv_memory are just aliases to
TransientModel. They are still here for backward compatibility and will be supress with next release.
# deprecated - for backward compatibility. osv = Model osv_memory = TransientModel osv_abstract = AbstractModel # ;-)
in osv code.
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
|Asked: 3/26/13, 4:14 AM|
|Seen: 3406 times|
|Last updated: 7/22/16, 9:39 AM|