Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4019 มุมมอง

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





อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi, you can follow following link for this:

https://youtu.be/oMnHpHH54QU

Hope it helps,

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi

You can refer to the Blog: https://www.cybrosys.com/blog/how-to-create-wizard-in-odoo-13

Hope it helps

อวตาร
ละทิ้ง