Any help please..?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
12394
ビュー
1. Define your form view with the specific fields that you want to show.
2. Then return a form view in your model, like this:
@api.model
def my_action(self):
try:
form_view_id = self.env.ref("my_module.my_form_view_external_id").id
except Exception as e:
form_view_id = False
return {
'type': 'ir.actions.act_window',
'name': 'My Action Name',
'view_type': 'form',
'view_mode': 'form',
'res_model': 'my.model',
'views': [(form_view_id, 'form')],
'target': 'current',
}
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
0
12月 24
|
1325 | ||
|
1
3月 24
|
2379 | ||
|
0
1月 23
|
3100 | ||
|
2
9月 20
|
4039 | ||
|
6
9月 20
|
29481 |