Odoo Help

0

How can I edit in openerp/models.py file to add more logger.info?

By
marwa
on 7/19/16, 3:44 AM 325 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

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

Question tools

1 follower(s)

Stats

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