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

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
2450
3
يوليو 23
5730
1
أكتوبر 22
8569
1
يوليو 22
2145
1
مايو 21
6461