This is my code for call wizard from button.
<button type="action" name="%(split_wo.action_view_wizard)d" string="Finished" class="oe_highlight" help="Finish Order"/>
in this code the important is name, as you can se split_wo.action_view_wizard, so split_wo is module where is the wizard, and action_view_wizard is name of the wizard. Simple right? that's it. So if you have question, you can write comment bellow, don't worry i will help you if i can. I hope this is can help you for little bit. lol
What if the wizard is in a folder inside the module, like module/wizard_folder/wizard
ReplyDeleteThat's fine, just call it and make sure you declare you wizard model on the __open_erp.py file, and your wizard model will be create on module.
Deletewhen i use this to launch a wizard with a button i ge this errror
ReplyDelete"AttributeError: type object 'intempus.description' has no attribute '357'"
purpose of % and d
ReplyDeleteNice article! Very informative blog. Looking for the best VR App Development Company in Australia? Reach IDYA Technology.
ReplyDelete