Odoo Help

0

Difference between osv.osv_memory and osv.TransientModel

By
Shawn Varghese
on 5/7/15, 4:40 AM 2,638 views

I need to create a wizard but only keep the data temporarily. I assumed the job would be done using osv.osv_memory and a cron would periodically flush the data. But I also noticed there is an osv.Transient model being used in other Odoo module. Can anyone tell me what the difference is and when to use the right type of model?

3

Hi,

there is one line of code in osv.py

osv_memory = TransientModel

it means that both are same. 

In V6.1, V7 and V8 both are same but in V6.0 there is no any existence of TransientModel.

I hope it is useful to you. 

Thanks !

ePillars Systems LLC, Shawn Varghese
on 5/7/15, 5:25 AM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/7/15, 4:40 AM
Seen: 2638 times
Last updated: 5/7/15, 5:26 AM