return { "type": "set_scrollTop", }
this is not working on odoov12.
how to resolve this problem ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
return { "type": "set_scrollTop", }
this is not working on odoov12.
how to resolve this problem ?
Try it
return {
'type': 'ir.actions.act_window',
'view_type': 'form',
'view_mode': 'form',
'res_model': 'change.quantity.wizard',
'views':[[self.env.ref('create_product_ept.quantity_update_wizard_form').id,'form']],
'context':context,
'target': 'new',
}
Try this:
return {
'name': _("wizard name"),
'view_mode': 'form',
'view_type': 'form',
'res_model': 'model', # your current model
'type': 'ir.actions.act_window',
'nodestroy': True,
'target': 'new',
'context': {'default_fieldname': 'your value'}
}
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
มิ.ย. 24
|
2693 | ||
|
1
มิ.ย. 19
|
2952 | ||
|
0
ต.ค. 21
|
1363 | ||
|
0
ส.ค. 20
|
3942 | ||
|
1
พ.ค. 24
|
4152 |
Try this:
return {
'name': _("wizard name"),
'view_mode': 'form',
'view_type': 'form',
'res_model': 'model', # your current model
'type': 'ir.actions.act_window',
'nodestroy': True,
'target': 'new',
'context': {'default_fieldname': 'your value'}
}