How to open wizard from odoo more option

In xml file

<!– Define the form view –>

<record model=”ir.ui.view” id=”view_id”>
<field name=”name”></field>
<field name=”model”>wizard model name</field>
<field name=”arch” type=”xml”>
<form string=”any string” version=”7.0″>
<!– Define fields–>
<button string=”Any String” name=”your_method_name” type=”object” class=”oe_highlight”/>
<button string=”Cancel” class=”oe_link” special=”cancel”/>

<!– Define the act window –>

<act_window id =”your_action_id”
name=”Any String”
res_model=”wizard model name”
src_model=”model name where you want to see from more option”  # I want See wizard inside sale order more option so here I will write “sale.order”


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s