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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
3705
Widoki
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
wrz 19
|
3415 | ||
Get model data in a controller
Rozwiązane
|
|
4
paź 21
|
37567 | |
|
1
paź 20
|
12494 | ||
|
1
mar 15
|
4969 | ||
|
2
lut 17
|
10787 |