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'}
}
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
giu 24
|
2570 | ||
|
1
giu 19
|
2888 | ||
|
0
ott 21
|
1275 | ||
|
0
ago 20
|
3823 | ||
|
1
mag 24
|
4048 |
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'}
}