why odoo used res.config model as wizard not Model and that need to using set and get to store data into it.
Această întrebare a fost marcată
1
Răspunde
5947
Vizualizări
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
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
0
sept. 19
|
5401 | ||
|
Get model data in a controller
Rezolvat
|
|
4
oct. 21
|
40567 | |
|
|
1
oct. 20
|
15578 | ||
|
|
1
mar. 15
|
7911 | ||
|
|
2
feb. 17
|
10787 |