Odoo Help


Can I log to terminal from inside a code field?

Kit Sunde
on 8/24/14, 3:38 PM 1,030 views

Is it possble to output things from the code field for debug purposes? I.e if I wanted to log from this code block:

<record id="action_schedule_emails" model="ir.actions.server">
    <field name="state">code</field>
    <field name="model_id" ref="sale.model_sale_order"/>
    <field name="code">
        // log me?
    <field name="type">ir.actions.server</field>
    <field name="condition">True</field>
    <field name="name">Schedule Emails</field>

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

Question tools

2 follower(s)


Asked: 8/24/14, 3:38 PM
Seen: 1030 times
Last updated: 3/16/15, 8:10 AM