Odoo Help

Welcome!

This community 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.

0

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

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

0

Andreas Brueckl

--Andreas Brueckl--
5056
| 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.

0
samir
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

0
Lucio
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
on 3/4/13, 11:05 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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