Odoo Help

1

Show a graph view where the x axis is a time or date attribute

By
Walid Berrad
on 5/19/15, 2:33 PM 858 views

I'd like to have a graph where I show my data (production rate for example) in the vertical axis(y ), and in the horizontal axis (x) the create_date.

I declared this last one in my object attributes, so I can use it, when I tried to get it from the DB in the [module_view.xml] file it does show up in the graph and I get a direct line (horizontal line) instead of a graph.

I tried with another field of mine 'date' of type datetime, and give it the default value of the current system date (datetime.today() ), but it didn't work either.

Is something wrong with what I did ? How can I do this ?

Later I'd like to show this data in realtime, how is this possible ?

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: 5/19/15, 2:33 PM
Seen: 858 times
Last updated: 11/9/16, 6:43 AM