button id="is_approved" name="button_approved" string="Aprobar" type="object" groups="sales_team.group_sale_manager
" attrs="{'readonly': [('approved', '=', True)]}"
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
            
                2
                
                    Vastaukset
                
            
        
        
            
                6776
                
                    Näkymät
                
            
        
    Hi,
There's a disabled class which lets you disable the button in odoo. So, change the code to:
<button id="is_approved" name="button_approved" class="oe_highlight disabled" string="Aprobar" type="object" groups="sales_team.group_sale_manager"/>
Regards
 attrs="{'readonly': [('state', '=', 'disabled')]
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|  | 1 huhtik. 24  | 2030 | ||
|  | 1 syysk. 23  | 2459 | ||
|  | 5 heinäk. 25  | 8566 | ||
|  | 3 tammik. 24  | 14934 | ||
|  | 1 huhtik. 23  | 227 | 
