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

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -