Odoo Help


launch wizard in python [Closed]

Voathnak Lim
on 5/16/13, 6:09 AM 1,179 views

The Question has been closed for reason: duplicate question

Cyril Gaspard (GEM)
on 05/19/2013 11:44:19

I have a requirement, to launch a wizard in my python. could anyone help me please!

here is my view:

<record id="my_config_view_form" model="ir.ui.view">
            <field name="name">my.item.config.view</field>
            <field name="model">my.model.config</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="base.res_config_view_base"/>
                <field name="arch" type="xml">

                <group string="res_config_contents" position="replace">
                    <label colspan="4" align="0.0" string="
                        Configure this item by defining its field"/>
                    <field name="my_field"/>
                <xpath expr="//button[@name='action_skip']"  position="attributes">
                    <attribute name="string">Proceed</attribute>
                    <attribute name="class">oe_highlight</attribute>
                <xpath expr="//button[@name='action_next']" position="attributes">
                    <attribute name="string">Ok</attribute>
                    <attribute name="class">none</attribute>

    <record id="my_config_window" model="ir.actions.act_window">
        <field name="name">My config window</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">my.model.config</field>
        <field name="view_type">form</field>
        <field name="view_id" ref="my_config_view_form"/>
        <field name="view_mode">form</field>
        <field name="target">new</field>

    <record id="my_config_step" model="ir.actions.todo">
        <field name="action_id" ref="my_config_window"/>

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.


Odoo Training Center

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

Test it now

Question tools

0 follower(s)


Asked: 5/16/13, 6:09 AM
Seen: 1179 times
Last updated: 3/16/15, 8:10 AM