Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3755 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 19
3436
4
thg 10 21
37612
1
thg 10 20
12522
1
thg 3 15
4989
2
thg 2 17
10787