تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3627 أدوات العرض

why odoo used res.config model as wizard not Model and that need to using set and get to store data into it.

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

res.config.settings model is TransientModel and TransientModel are designed to be stored temporary data, After periodically time it will remove data from the database. For saving those settings we have to implement set_param and get_param method of ir.config_parameter.


Hope it helps

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 19
3402
4
أكتوبر 21
37543
1
أكتوبر 20
12440
1
مارس 15
4935
2
فبراير 17
10787