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
- Účtovníctvo
- Sklady
- PoS
- Project
- MRP
This question has been flagged
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".
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistráciaRelated Posts | Replies | Zobrazenia | Aktivita | |
---|---|---|---|---|
|
1
dec 24
|
743 | ||
|
4
dec 24
|
30110 | ||
|
2
dec 17
|
16312 | ||
|
0
apr 15
|
3555 | ||
|
1
mar 15
|
9115 |