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

I have 4states ... Like:- new, in progress, resolved and cancelled... All states are clickable only ... So i wanted to do .. when it is in resolved state all three should be readonly ... 

Thank you 🙂

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

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', 'in', ('resolved','new','in progress')]}"

Thanks

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

Hi Ashutosh,

Try this,

field name = "state" attrs="{'readonly': [('state', '=', 'resolved')]}"

Thanks


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

I tried this one .. particular this state is getting readonly .. I need all the states to be readonly

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 24
2789
3
يوليو 23
6041
1
أكتوبر 22
8962
1
يوليو 22
2344
1
مايو 21
6792