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
ديسمبر 24
|
1171 | ||
|
4
ديسمبر 24
|
30961 | ||
|
2
ديسمبر 17
|
17070 | ||
|
0
أبريل 15
|
4073 | ||
|
1
مارس 15
|
9588 |