c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27610
[Bug 802818] Re: [6.0] groupby "Reason" in procurement give a traceback
Hello Nhomar,
The issue has been fixed by revision 4681 ach@xxxxxxxxxxx-20110629121439-3xiy8hwhrkgn8fpn
in stable v6.
Thanks for your contribution.
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
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/802818
Title:
[6.0] groupby "Reason" in procurement give a traceback
Status in OpenERP Modules (addons):
Fix Released
Bug description:
Go to:
Warehous > Schedulers > Procurement Exceptions
Un select @To Fix@ demo data a little of records appear.
Try to group by "reason":
The following traceback appear.
Environment Information :
System : Linux-2.6.35-28-generic-x86_64-with-Ubuntu-10.10-maverick
OS Name : posix
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Operating System Release : 2.6.35-28-generic
Operating System Version : #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : es_VE.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 "/home/nhomar/CD_curso/linux_and_sources/server_o/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/nhomar/CD_curso/linux_and_sources/server_o/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/nhomar/CD_curso/linux_and_sources/server_o/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/nhomar/CD_curso/linux_and_sources/server_o/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/nhomar/CD_curso/linux_and_sources/server_o/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/nhomar/CD_curso/linux_and_sources/server_o/bin/osv/orm.py", line 2167, 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?)
Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/802818/+subscriptions
References