← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 855316] Re: Graph view does not handle combination of multiple columns and grouping

 

** Changed in: openerp-web
    Milestone: 6.1 => None

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/855316

Title:
  Graph view does not handle combination of multiple columns and
  grouping

Status in OpenERP Web:
  Confirmed

Bug description:
  This is not natively supported by our graphing library, according to
  al "it's low priority and nobody uses it anyway".

  It might be possible to hack it in in a manner similar to Excel or
  Numbers (which also do not support clustered stacked bar charts):
  http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/

  But according to dhtmlx folks, this would require "heavy
  customization" of the grid code:
  http://forum.dhtmlx.com/viewtopic.php?f=8&t=20605

  ————————————————
  original report:

  fwd odo: Have a look at the invoice.report graph view, visible in
  Accounting>Reporting>Statistics Reports>Invoice Analysis.

  If you redefine it as:

  <graph string="Invoices Analysis" type="bar">
                  <field name="product_id"/>
                  <field name="price_total"  operator="+"/>
                  <field name="residual" operator="+"/>
                  <field name="partner_id" group="True"/>
  </graph>

  You're supposed to see 2 bars per product (price and redsidual), both
  being vertically split by partner_id contribution.
  The last part (group=True) seems to work sometimes, e.g. if you only
  have one bar in the graph.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/855316/+subscriptions


References