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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
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".
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
12月 24
|
691 | ||
|
4
12月 24
|
30051 | ||
|
2
12月 17
|
16273 | ||
|
0
4月 15
|
3539 | ||
|
1
3月 15
|
9089 |