Skip to Content
Menu
This question has been flagged
3 Replies
3812 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

Okay, Thanks Ravi Gadhia

Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
2
Oct 24
846
0
Apr 22
3513
1
May 21
3401
1
Jun 25
237
0
May 25
448