Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
4224 มุมมอง

Is this possible to add value to a selection field without coding, by any settings way ?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

No, there is no way to add new value to as existing selection field (created by python) without python code.
Selection field selection values don't store in a database. when the server start its create python instance of the field class and for selection value stored in the instance.
That's why we don't change it from UI/Settings (unlike other attributes of fields).
due to this limitation odoo studio could not provide an option to add value to selection field

อวตาร
ละทิ้ง
ผู้เขียน

Okay, Thanks Ravi Gadhia

คำตอบที่ดีที่สุด

It is possible for Custom Fields, either through Odoo Studio or through Settings / Technical / Fields, but not for base fields.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 24
1229
0
เม.ย. 22
4037
1
พ.ค. 21
3761
2
ส.ค. 25
2325
1
ก.ค. 25
844