why odoo used res.config model as wizard not Model and that need to using set and get to store data into it.
لقد تم الإبلاغ عن هذا السؤال
1
الرد
5878
أدوات العرض
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 the set_param and get_param method of ir.config_parameter.
Hope it helps
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
0
سبتمبر 19
|
5375 | ||
|
Get model data in a controller
تم الحل
|
|
4
أكتوبر 21
|
40530 | |
|
|
1
أكتوبر 20
|
15431 | ||
|
|
1
مارس 15
|
7844 | ||
|
|
2
فبراير 17
|
10787 |