Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
3997 Näkymät

Iam using odoo 13

Wizard is opening from button event but with same code its not opening from Action menu event why.


sample.wizard.form
sample.wizard
















Change My Preferences
ir.actions.act_window
sample.wizard

form

new
 
Update wizard ddd


ir.actions.server
code

records.openwizarddemo()

def openwizarddemo(self):
print('wizard')
action = self.env['ir.actions.act_window'].for_xml_id('sample_wizard', 'sample_wizard_action')





Avatar
Hylkää
Paras vastaus

Hi, you can follow following link for this:

https://youtu.be/oMnHpHH54QU

Hope it helps,

Thanks

Avatar
Hylkää