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
返信
5839
ビュー
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
|
1437 | ||
|
1
9月 23
|
1836 | ||
|
5
7月 25
|
7633 | ||
|
3
1月 24
|
13547 | ||
|
1
4月 23
|
227 |