← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 715705] Re: [6.0.1] Error when you bill tasks works if group by is on

 

Hello Laurent,

I have tested your scenario with 6,0 and trunk at my end.
But I am not able to reproduce it . Would you please elaborate with more or prove the proper steps to reproduce it.

Thanks.

** Changed in: openobject-addons
       Status: New => Incomplete

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

Title:
  [6.0.1] Error when you bill tasks works if group by is on

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  In 
  Project/Invoicing/Bill tasks works.

  When you Group by Account.
  You select a line and do action to create an invoice.
  When you create the invoice, there is an error : 

    File "/home/laurent/workspace/OpenerpTrunkServer/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/laurent/workspace/OpenerpTrunkServer/bin/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