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

When I am trying to modify some fields in selection using Studio 16.0 I get this message ' Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon!'


What am I doing wrong?

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

Please can someone tell me how to create this new module and what code is required. alternatively if there is a module created on github maybe? Then just how to install it 

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

To modify base fields in Odoo, you need to create a custom module and use Python code to make the changes. This is because the fields that are part of the core Odoo system (known as "base" fields) cannot be modified directly through the studio user interface. By creating a custom module, you can write the code needed to make the desired changes to the field, and then install and activate the module to apply the changes to your system.

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

Thanks a lot Ashish

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 24
1275
2
thg 2 24
7345
1
thg 1 24
1466
1
thg 8 23
1703
1
thg 7 23
3503