Odoo Help


how to change a module ? when i change in py file nothing change

samir Guesmi
on 3/4/13, 7:03 AM 1,713 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



Andreas Brueckl

--Andreas Brueckl--

| 7 8 7
Vienna, Austria
--Andreas Brueckl--
OpenERP Consulting and Development
Andreas Brueckl
On 3/4/13, 8:00 AM

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.




| 5 4 7
Buenos Aires, Argentina
Karma will give me a place in heaven!
On 3/4/13, 10:58 AM

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 :)

samir Guesmi
on 3/4/13, 11:05 AM
samir Guesmi
On 3/4/13, 9:57 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/4/13, 7:03 AM
Seen: 1713 times
Last updated: 3/16/15, 8:10 AM