Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

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',


Imagine profil
Abandonează
Cel mai bun răspuns

Hi, you can follow following link for this:

https://youtu.be/oMnHpHH54QU

Thanks

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mar. 25
3425
0
ian. 24
1758
2
oct. 25
5528
2
ian. 24
3934
2
mar. 24
3142