This question has been flagged
3 Replies
4678 Views

hello ,

am trying to change in module , when i try other code in .py file , the oldest version still appear .

also , i find two directory : 1st : /usr/share/pyshared/openerp/addons/ : there i have changed a css file , and it make changing . but not for other module.

2nd directory: /usr/lib/pymodules/python2.6/openerp/addons

thks

Avatar
Discard
Best Answer

After changing a python file you have to restart the OpenERP server.

If you have installed OpenERP through apt-get, then /usr/share/pyshared/openerp/addons/ should be the right directory.

Avatar
Discard
Author Best Answer

i have follow up this instructions

sudo nano /etc/apt/sources.list

deb http: // nightly.openerp.com/6.1/nightly/deb/ ./ quit with " ctl+x."

sudo apt-get update sudo apt-get install openerp

Avatar
Discard
Best Answer

Make sure you have the path to the addons folder you are working at in server.conf (the file you use when starting the server) The second line of the file:

adddons_path = /usr/lib/pymodules/python2.6/openerp/addons[,<other/addons/folders>]

If this is so, make sure you restart the server with the option -u <name_of_your_module> This specifies the server that your module need to be updated.

Hope it helps!

Avatar
Discard
Author

thks for ur replay :)