Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
5361 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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!

Awatar
Odrzuć
Autor

thks for ur replay :)