Odoo Help


Odoo Boolean Graph?

Ouchene yacine
on 5/28/15, 6:09 AM 516 views

I'd like to display a graph in odoo. in which i have two fields:

Date in the x-axis.

Boolean in the y-axis.

odoo use the nvd3.js to display this charts,

this is the view.xml:

<record model="ir.ui.view" id="id_view">
    <field name="name">test.base.graph.view16</field>
    <field name="model">module.base</field>
    <field name="type">graph</field>
    <field name="arch" type="xml">
        <graph string="test" type="bar" >
            <field name="date" interval="day" type="row"/>
            <field name="boolean" type="measure"/>


this code doesn't work for me, it return an empty graph. any one have idea about this issue.

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 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

1 follower(s)


Asked: 5/28/15, 6:09 AM
Seen: 516 times
Last updated: 5/28/15, 6:09 AM