← Back to team overview

openerp-india team mailing list archive

[Bug 1221119] [NEW] Second Operator in Graph View Doesn't show any effect

 

Public bug reported:

Using a second "operator" in graph views does not show any effect on
graph view. it always consider first occurrence.

For example following code in Project Module. project_view.xml

<record id="view_project_task_graph" model="ir.ui.view">
            <field name="name">project.task.graph</field>
            <field name="model">project.task</field>
            <field name="arch" type="xml">
                <graph string="Project Tasks" type="bar">
                    <field name="project_id"/>
                    <field name="planned_hours" operator="+"/>
                    <field name="delay_hours" operator="+"/>
                </graph>
            </field>
        </record>


Graph always shows "planned_hours" and not "delay_hours" even if there is data.

Cheers,
Parthiv

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1221119

Title:
  Second Operator in Graph View Doesn't show any effect

Status in OpenERP Addons (modules):
  New

Bug description:
  Using a second "operator" in graph views does not show any effect on
  graph view. it always consider first occurrence.

  For example following code in Project Module. project_view.xml

  <record id="view_project_task_graph" model="ir.ui.view">
              <field name="name">project.task.graph</field>
              <field name="model">project.task</field>
              <field name="arch" type="xml">
                  <graph string="Project Tasks" type="bar">
                      <field name="project_id"/>
                      <field name="planned_hours" operator="+"/>
                      <field name="delay_hours" operator="+"/>
                  </graph>
              </field>
          </record>

  
  Graph always shows "planned_hours" and not "delay_hours" even if there is data.

  Cheers,
  Parthiv

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1221119/+subscriptions


Follow ups

References