← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 513746] Re: Error in report_sale module

 

** Changed in: openobject-server
     Assignee: (unassigned) => Jay Vora (OpenERP) (jvo-openerp)

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

Title:
  Error in report_sale module

Status in OpenERP Server:
  Confirmed
Status in Ubuntu:
  Invalid

Bug description:
  Hello,

  Currently i am getting error in sale order module in one of our client
  machine. When i am clicking on 'Monthly Sales Turnover Over One Year',
  'Daily Sales Turnover Over One Year', 'Monthly Cumulated Sales
  Turnover Over One Year' at that time i am getting below error and i
  cant see the reports. So what is the problem?

  Environment Information : 
  System : Linux-2.6.28-17-generic-i686-with-Ubuntu-9.04-jaunty
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 9.04
  Release:	9.04
  Codename:	jaunty
  Operating System Release : 2.6.28-17-generic
  Operating System Version : #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009
  Operating System Architecture : 32bit
  Operating System Locale : en_IN.ISO8859-1
  Python Version : 2.6.2
  OpenERP-Client Version : 5.0.7
  Last revision No. & ID :1031 odo@xxxxxxxxxxx-20091223162627-xqh6v2p35qk5l9ud
  Traceback (most recent call last):
    File "/home/deven/workspace/server/bin/service/web_services.py", line 687, in go
      (result, format) = obj.create(cr, uid, ids, datas, context)
    File "/home/deven/workspace/server/bin/report/custom.py", line 280, in create
      res = self._create_bars(cr,uid, ids, report, fields, results2, context)
    File "/home/deven/workspace/server/bin/report/custom.py", line 559, in _create_bars
      ar.draw(can)
    File "/home/deven/workspace/server/bin/pychart/area.py", line 222, in draw
      plot.draw(self, can)
    File "/home/deven/workspace/server/bin/pychart/bar_plot.py", line 256, in draw
      self.draw_vertical(ar, can)
    File "/home/deven/workspace/server/bin/pychart/bar_plot.py", line 191, in draw_vertical
      totalWidth = self.get_bar_width(ar, self.cluster[1])
    File "/home/deven/workspace/server/bin/pychart/bar_plot.py", line 175, in get_bar_width
      plot = find_bar_plot(ar, i)
    File "/home/deven/workspace/server/bin/pychart/bar_plot.py", line 127, in find_bar_plot
      raise Exception, "The %dth bar plot in the cluster not found." % nth
  Exception: The 1th bar plot in the cluster not found.

  
  Please help me to solve this error ASAP.
  Waiting for the reply.

  
  Deven

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