openerp - How to create multiple wizards under 'actions' menu for one model in odoo 10? -
how can create multiple action wizards under "actions" menu 1 model. example need create "wizard 1 , wizard 2 , wizard 3" under "actions" menu model (mymodel).
you can create using different external ids.
<act_window name="string" context="{}" res_model="res_model" src_model="src_model" id="act_unique_id"/> <act_window name="string" context="{}" res_model="res_model" src_model="src_model" id="act_unique_id1"/> you need set context in action, when action call context in python file.
based on context value can execute code.
this may you.
Comments
Post a Comment