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

I created a custom field but created the wrong type (boolean) of field. I want to delete the field and add it again with the correct (decimal) type. How do I delete it?

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

Use the Views and Fields Menus (available in Developer Mode)

Views - search for your field (in the View Architecture) and delete it from the UI

Fields - search for your field and delete it from the Data Model.

This question has been asked and answered before, search Google for "odoo delete studio field" to find that information

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

I have added a field in the stock record and it will not allow me to delete and gives me an error 'This column contains module data and cannot be removed!'

This error is triggered when you try to delete a standard field, not a Custom one. I have seen this happen before when a field is added to a model than is inherited by another - so if you add a field to product.template, a matching field is added to product.product - and you can't delete the field from product.product (because it is not a custom field) but when you delete the field from product.template, it will delete the second field. I don't have any other advice other than contacting Support if you are a Customer.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 25
1020
Editing Fields แก้ไขแล้ว
2
พ.ย. 20
3387
Editing Fields แก้ไขแล้ว
2
พ.ย. 20
8043
0
ก.ย. 24
140
Portal user : add extra fields แก้ไขแล้ว
1
มี.ค. 25
3430