Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
4194 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Okay, Thanks Ravi Gadhia

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 10 24
1202
0
thg 4 22
4018
1
thg 5 21
3744
2
thg 8 25
2243
1
thg 7 25
778