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
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
2
답글
6082
화면
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')]
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
4월 24
|
1568 | ||
|
1
9월 23
|
1981 | ||
|
5
7월 25
|
7923 | ||
|
3
1월 24
|
13863 | ||
|
1
4월 23
|
227 |