I just found that in selection field key is store not the value why is that give me valid reasons
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
Keys are compact and consistent across records (e.g., 'draft', 'done', 'cancelled'), which makes them easier to query and process in the backend.
Values (display text) can be longer, localized/translated into different languages, or dynamic, which would make database queries less efficient if stored directly.
The localization impact is significant, if someone in Spain marked a Sales Order as "Hecho" then it would cause problems for someone in the United States looking for Sales Orders marked as "Done".
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ść | |
---|---|---|---|---|
|
1
gru 24
|
1055 | ||
|
4
gru 24
|
30760 | ||
|
2
gru 17
|
16831 | ||
|
0
kwi 15
|
3884 | ||
|
1
mar 15
|
9431 |