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

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
2655
3
يوليو 23
5906
1
أكتوبر 22
8803
1
يوليو 22
2258
1
مايو 21
6639