Archive for January, 2011

OpenERP Module Development Wizard

January 28, 2011 19 comments

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 and  files i am assuming you create both of these files correctly).

string="Change 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

name="Main Menu/User/Change Password"

Read more…

Categories: OpenERP, Python, XML

PostgreSQL default password

January 20, 2011 14 comments

Step 1: open terminal

Step 2: su postgres

Note: If you don’t remember the postgres (ubuntu user) password then use the command ‘sudo passwd postgres’

Stept 3: Type ‘psql’ and enter

Step 4: Use the following command to change the posgres user password

alter user postgres with password ‘newpassword’;

‘\q’ is used to exit psql

and Finsish

Categories: Postgresql

Some Sweet Memories

January 10, 2011 Leave a comment

Click To see more

Categories: Personal