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
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
1
Vastaa
3940
Näkymä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
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
syysk. 19
|
3594 | ||
Get model data in a controller
Ratkaistu
|
|
4
lokak. 21
|
37781 | |
|
1
lokak. 20
|
12745 | ||
|
1
maalisk. 15
|
5156 | ||
|
2
helmik. 17
|
10787 |