why odoo used res.config model as wizard not Model and that need to using set and get to store data into it.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
3631
Visualizzazioni
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
set 19
|
3403 | ||
Get model data in a controller
Risolto
|
|
4
ott 21
|
37547 | |
|
1
ott 20
|
12442 | ||
|
1
mar 15
|
4935 | ||
|
2
feb 17
|
10787 |