Odoo 도움말


1 응답

Yenthe Van Ginneken 벨기에

--Yenthe Van Ginneken--
| 10 9 12
Turnhout, 벨기에
--Yenthe Van Ginneken--

Yenthe Van Ginneken 벨기에
14. 11. 7. 오전 10:54

So you want to write in to the log file from Python when something executes?

You can simply use the default logging module from Python for this, you only need to import logging in your Python file.
A detailed example can be found here: 

A second way would be to use print statements to write to your stdout.
NOTE: you HAVE to start your server with the --debug parameter to show the debug logs though.

2 의견
Guillaume Seran France
14. 11. 7. 오전 11:19

Thank you !!

Oocademy, Yenthe Van Ginneken 벨기에
14. 11. 9. 오전 5:47

No problem, best of luck!

Keep Informed
0 팔로워
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.

Odoo Training Center

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

Test it now