Hi,
Please advise how to make the below attribute functional. With below code, I can save the record without entering "measure_data_ids". The attribute required="test_type_id ==5" did not work.
           
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
Hi,
Please advise how to make the below attribute functional. With below code, I can save the record without entering "measure_data_ids". The attribute required="test_type_id ==5" did not work.
           
Hmm normally, we don't hard code like that. Assume 5 is the value you want need to be required, let's create a non store field to has the value which id is 5, then the required now will be equired="test_type_id ==require_field" (not u need to add field="require_field" invisible="1" before declare require attr)
Hi Duong,
Sorry, please provide more deatils
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| 
             | 
        
            
                
                1
            
            
             ott 25  
         | 
        1111 | ||
| 
             | 
        
            
                
                4
            
            
             ott 25  
         | 
        3351 | ||
| 
             | 
        
            
                
                2
            
            
             set 25  
         | 
        2119 | ||
| 
             | 
        
            
                
                4
            
            
             set 25  
         | 
        7349 | ||
| 
             | 
        
            
                
                0
            
            
             ago 25  
         | 
        1051 |