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 can I edit in openerp/models.py file to add more logger.info?

By
marwa
on 7/19/16, 3:44 AM 162 views

Hello Everyone,

I am using odoo 9 and I need to add logger in the models.py file (Odoo 9.0-20160324\server\openerp\models.py) to be able to monitor the system in a more customized way for my needs,

every time I try to edit in any line the odoo server stops working and initiate shutdown,

I tried to: 1- Delete the file and the compiled file too and add it again with my changes and that did not work.

                 2- I changed the openerp.conf t and set (debug_mode, dev_mode, logrotate) to true and no luck.

                 3- Tried minimal changes even if I hashed a line the server still stops and need to rollback all changes to start again.

I will appreciate any kind of suggestions.

Thank you in advance.

Any help guys even any idea will be appreciated.

marwa
on 7/20/16, 5: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

1 follower(s)

Stats

Asked: 7/19/16, 3:44 AM
Seen: 162 times
Last updated: 7/19/16, 4:01 AM