Odoo Help

3

0
2 Answers
8
Avatar

Antonin Bourguignon (abo)

--Antonin Bourguignon (abo)--

912
| 0 0 0
--Antonin Bourguignon (abo)--
Murder simulators enthusiast. http://gaming.stackexchange.com/users/15726/anto
Antonin Bourguignon (abo)
2/14/13, 12:09 PM

Everytime you make a modification to server or addons's python code, you have to restart your instance in order to re-load the codebase including your modifications.

On a side note, if you modify an XML view, you'll have to update the module (-u mymodule in launching args) to take your modifications into account.

And finally, if you modify some JS code, a simple refresh in your browser will do the trick.

2 Comments
Quentin De Paoli (qdp) Belgium
2/15/13, 12:21 PM

and when modifying a RML file directly, just calling the report again do the trick

vita soa Madagascar
7/16/13, 5:40 AM

Bjr Anto, j'ai modifié un bout de code python dans openerp 7, mais quand je restart tous mes serveurs postgres, python, le code n'est pas modifié dans openerp. Pour info je suis en Win 7

1
Avatar

Bonnet Denis France

--Bonnet Denis--
981
| 5 6 10
St avé, France
--Bonnet Denis--

CEO/ODOO expert at Talyes.in

Bonnet Denis France
2/12/13, 12:49 PM

I found the problem after 1 day of work. I have to restart openERP. This is the second time this solution resolve a problem and it's written nowhere in the doc. If this tips can help someone else: If nothing work : RESTART

2 Comments
Vo Minh Thu Belgium
2/15/13, 6:48 AM

The question would have some sense if it was asking about some hot code reloading feature. But it is otherwise quite abvious that code changes are not visible to a running program.

Bonnet Denis France
2/15/13, 9:28 AM

yes but in a web environment i use to just refresh my page to update my script(php,javascript...)

Ask a Question
Writer
Keep Informed
0 follower(s)
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.

Register
Odoo Training Center

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

Test it now