This question has been flagged
1746 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.

Avatar
Discard
Author

Any help guys even any idea will be appreciated.