Odoo Help

0
1 Answer
0
Pranav P S
1/3/19, 12:06 AM


1) Create action for your wizard and define it in the value(2nd record)

    <record id="your_wizard_action_id" model="ir.actions.act_window">

        <field name="name">Create Group</field>

        <field name="res_model">wizard.name</field>

        <field name="view_mode">form</field>

        <field name="target">new</field>

    </record>



    <record model="ir.values" id="action_if_in_product">

        <field name="name">Action Name</field>

        <field name="key2">client_action_multi</field>

        <field name="value" eval="'ir.actions.act_window,' +str(ref('your_wizard_action_id'))" />

        <field name="key">action</field>

        <field name="model">Product.template</field>

    </record>



Ask a Question
Writer
Tag
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now