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 🙂
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
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
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
| 
             | 
        
            
                
                2
            
            
             März 24  
         | 
        3178 | ||
| 
             | 
        
            
                
                3
            
            
             Juli 23  
         | 
        6513 | ||
| 
             | 
        
            
                
                1
            
            
             Okt. 22  
         | 
        9468 | ||
| 
             | 
        
            
                
                1
            
            
             Juli 22  
         | 
        2675 | ||
| 
             | 
        
            
                
                1
            
            
             Mai 21  
         | 
        7182 |