Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
5363 Представления

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Автор Лучший ответ

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

Аватар
Отменить
Лучший ответ

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!

Аватар
Отменить
Автор

thks for ur replay :)