The before solutions working until odoo 13 on this mode:
"type": "ir.actions.do_nothing"
But in after versions it don't work. How can i do?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
2
回覆
8118
瀏覽次數
Hello Sergio Villanueva,
You can try with below code
return {
'view_mode': 'form',
'res_model': wiz.model,
'res_id': current_wiz_id.id,
'type': 'ir.actions.act_window',
}It will open that wizard this existing id.
return {
'name': _('Price List'),
'view_mode': 'form',
'res_model': 'product.supplierinfo.wizard',
'type': 'ir.actions.act_window',
'res_id': self.id,
'target': 'new',
}
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
0
12月 23
|
2715 | ||
|
|
1
10月 22
|
6314 | ||
|
|
2
8月 22
|
5000 | ||
|
|
1
4月 22
|
3943 | ||
|
|
2
3月 22
|
5198 |