← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 788639] Re: Error in 'Follow ups Sent'

 

Hello Chistophe,

I have checked your issue. In old OpenERP revision this problem is
occurs because of the wrong domain syntax in
account_followup/wizard/account_followup_print.py line no 118 on
partner_ids many2many field.

Currently the domain syntax problem is fixed in trunk but there is no
need to domain because this domain is useless and broken the
functionality so the domain need to be remove and it is already fixed in
other branch of trunk which is merge soon with the trunk.

But in stable 6.0.2 latest revision the domain has been removed and it
is fixed in proper way.

So the problem has been fixed in trunk as well as stable version with
the following revision number.

Stable addons :4574,
Trunk addons :4544, 

Hope this will help for you.

Thank you.

** Changed in: openobject-addons
       Status: New => 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/788639

Title:
  Error in 'Follow ups Sent'

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  Hi,

  On fresh installation of OpenERP 6.0.2, when i try to use :
   Accounting > Reporting > Generic Reporting > Follow-ups Sent
  we have the following error message :

   Traceback (most recent call last):
    File "/opt/heonium/OpenERP/oerp_hnm/oeh/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/opt/heonium/OpenERP/oerp_hnm/oeh/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/opt/heonium/OpenERP/oerp_hnm/oeh/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/opt/heonium/OpenERP/oerp_hnm/oeh/server/bin/addons/account_followup/report/account_followup_report.py", line 64, in read_group
      return super(account_followup_stat, self).read_group(cr, uid, domain, *args, **kwargs)
    File "/opt/heonium/OpenERP/oerp_hnm/oeh/server/bin/osv/orm.py", line 2223, in read_group
      d['__domain'] = [(groupby, '=', alldata[d['id']][groupby] or False)] + domain
  KeyError: 'followup_id'

  This is because in SQL query used to create data for the view, the 'id' is affected to 'partner_id' and this information is not unique.
  You can found a  litle patch in attachement.


Follow ups

References