Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I need a graph in the "hr.employee" model, on a one2many field (contract_ids). I need to print the "date_start" and the "wage" for each employee in a graph of the "hr.employee" view, but this attributes are in the "hr.contract" model. I can access to this attributes by the field "contract_ids", but i don't know how to add this graph to my hr.model!
For example, this is what i try in XML :
<record model="ir.ui.view" id="hr_employee_view_graph">
<field name="arch" type="xml">
<graph string="Actuals wages" type="area">
I really don't know how to print in a graph some information from a one2many field in a model ... Did you have any idea please?
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
|Asked: 5/20/14, 5:04 AM|
|Seen: 1363 times|
|Last updated: 2/28/17, 7:26 AM|