跳至內容
選單
此問題已被標幟
1 回覆
3626 瀏覽次數

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
9月 19
3400
4
10月 21
37543
1
10月 20
12440
1
3月 15
4935
2
2月 17
10787