← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 776961] Re: error in the purchase dashoard after pressing the serarch button

 

@Mihai: based on the above investigations, it appears that a simple workaround for your case is to login as Administrator, go to Administration>Customization>User Interface>Views, search for the view named "purchase.order.monthly.categ.tree", and decrease the sequence number, for example change it from 16 to 10.
Save the changes and it should be fixed immediately.
This is only a workaround, the bug will of course be fixed in trunk soon.

Hope this helps...

-- 
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/776961

Title:
  error in the purchase dashoard after pressing the serarch button

Status in OpenERP GTK Client:
  Confirmed

Bug description:
  Steps to reproduce:
  Open Purchase dashboard,
  press search button at the "monthly purchase category" right side

  Some errors will occur (one for every fiscal opened month I guess) , and after that the search purchase window will be presented
  Environment Information : 
  System : Linux-2.6.38-020638rc6-generic-i686-with-LinuxMint-10-julia
  OS Name : posix
  Distributor ID:	LinuxMint
  Description:	Linux Mint 10 Julia
  Release:	10
  Codename:	julia
  Operating System Release : 2.6.38-020638rc6-generic
  Operating System Version : #201102220910 SMP Tue Feb 22 10:23:10 UTC 2011
  Operating System Architecture : 32bit
  Operating System Locale : ro_RO.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/lib/openerp-server-6.0.1/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/lib/openerp-server-6.0.1/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/lib/openerp-server-6.0.1/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/lib/openerp-server-6.0.1/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/lib/openerp-server-6.0.1/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/lib/openerp-server-6.0.1/osv/orm.py", line 2146, in read_group
      assert not groupby or groupby in fields, "Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)"
  AssertionError: Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)


References