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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
2
Cevaplar
5800
Görünümler
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')]
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Nis 24
|
1410 | ||
|
1
Eyl 23
|
1816 | ||
|
5
Tem 25
|
7571 | ||
|
3
Oca 24
|
13509 | ||
|
1
Nis 23
|
227 |