Can I use the syntax as condition1.type1 and condition2.type1 in the field of view xml?
 if condition1 and condition2 have the type1 attribute? 
<field name="name" attrs="{'invisible': [('condition1.type1', '=', False)], 'required': [('condition2.type1', '=', True)]}"/>
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
            
                1
                
                    Responder
                
            
        
        
            
                11179
                
                    Visualizações
                
            
        
    Hello, if it's still problem. You can use context.
context="{'default_type_1': condition1.type1, 'default_type_2': condition2.type1}"
invisible="context.get('default_type_1', False)"
required="context.get('default_type_2')=='default_type_2_value'"
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|  | 1 out. 22  | 10401 | ||
|  | 1 mar. 15  | 12720 | ||
|  | 6 set. 17  | 9137 | ||
|  | 2 mar. 15  | 10623 | ||
|  | 1 mar. 15  | 4985 | 
