Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

this is what we have as default in odoo v16 when we select a product in order line. an pop-up will appear and you can select values.

I want to open an wizard from an onchange of product_template_id to select some values.

But I don't know why its not opening. I am using this code

view_item = [(self.env.ref('product_uoms.uom_wizard_view').id, 'form')]
view = self.env.ref('product_uoms.uom_wizard_view')
return {
'name': 'Select UoM',
'view_type': 'form',
'view_mode': 'form',
'view_id': view.id,
'res_model': 'uom.wizard',
'views': view_item,
'type': 'ir.actions.act_window',
'target': 'new',


Avatar
Opusti
Best Answer

Hi, you can follow following link for this:

https://youtu.be/oMnHpHH54QU

Thanks

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
mar. 25
2982
0
jan. 24
1419
2
mar. 23
5154
2
jan. 24
3306
2
mar. 24
2797