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
회신
12368
화면
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
|
1323 | ||
|
1
3월 24
|
2371 | ||
|
0
1월 23
|
3098 | ||
|
2
9월 20
|
4034 | ||
|
6
9월 20
|
29473 |