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

Hello,

I'm currently using Odoo 12.0+e-20181025. At the moment I'm using the Helpdesk module and have been trying to modify it so that it can't be edited after it reached a certain stage. While my team managed to make it so that it can't change stage after reaching a certain stage, we realized that it can still be edited and then saved.

Is there a way to make it so that the edit/save button become invisible or at least unclickable when the ticket had reached a certain stage in the flow?

Thanks for reading and for the help. 

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

You can make the fields readonly using attrs based on your stage.

الصورة الرمزية
إهمال
الكاتب

That is a valid solution, but I don't think editing each of my 165 fields is going to be a good option. Thanks, I'll do that if all else is fail. Thank you.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 23
2783
1
يوليو 25
418
1
أكتوبر 24
1709
5
أغسطس 23
3346
2
مارس 23
10058