OpenERP Module Development Wizard
Today we develop simple wizard call from menu item click. This wizard simply receive the value in text box, and using this value, will change the current user password.
Step 1: Create a folder (e.g. having name abc).
Step 2: Create a file abc_view.xml in abc folder.
Step 4: Write a wizard code in abc_view.xml like below (also create the __init__.py and __terp__.py files i am assuming you create both of these files correctly).
<wizard string="Change Password" model="res.users" name="abc.user.password" menu="False" id="wizard_abc_password"/>
Step 5: Write a menu item code in abc_view.xml, set the action attribute of menu item with the wizard id like below
<menuitem name="Main Menu/User/Change Password" id="menu_abc_password" type="wizard" action="wizard_abc_password"/>

Recent Comments