c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25261
Re: [Bug 788639] Re: Error in 'Follow ups Sent'
Hello Amit,
I talk about 'report' not 'wizard'.
Regards
Le Friday 27 May 2011 à 05:48:00 (-0000), Amit Parik (OpenERP) a écrit :
> 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 direct subscriber
> of the bug.
> 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.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openobject-addons/+bug/788639/+subscribe
--
Cordialement
------------------------
Christophe CRIER - Héonium
Tél : +33.(0)9.74.76.78.21 (VoIP) - Fax : +33.(0)4.42.29.07.45
GSM : +33.(0)6.65.59.39.68
Web : http://heonium.com
------------------------
Membre de l'association Libertis
Réseau Opérationnel des Sociétés de Services en Logiciels Libres Web : http://libertis.net
--
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.
References