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

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?

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

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 

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

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.

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

Thanks a lot Ashish

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.พ. 24
1275
2
ก.พ. 24
7345
1
ม.ค. 24
1466
Error on view for an Odoo studio app แก้ไขแล้ว
1
ส.ค. 23
1703
1
ก.ค. 23
3503