Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3784 มุมมอง

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 the set_param and get_param method of ir.config_parameter.




Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 19
3449
Get model data in a controller แก้ไขแล้ว
4
ต.ค. 21
37619
1
ต.ค. 20
12537
1
มี.ค. 15
5011
2
ก.พ. 17
10787