تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2033 أدوات العرض

I need to conditionally disable the "Handle" widget for the "sequence" field in an Odoo form view.

I want the "Handle" widget to be disabled to prevent dragging and rearranging the value. Seeking advice on how to achieve this effectively. Thanks for your help!

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

If you need to control the handle widget in the one2many lines based on parent record, try assigning a invisible condition and see it works out. Hide the sequence field using column_invisible based on parent record and see if it works


Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
نوفمبر 20
5854
0
مارس 15
5954
5
أغسطس 24
47377
2
أبريل 24
2961
3
يونيو 23
6660