c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26949
[Bug 798615] Re: account_followup.stat in account_followup module getting records with same id and throwing error on opening Follow-ups Sent
** Changed in: openobject-server
Status: Confirmed => In Progress
--
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/798615
Title:
account_followup.stat in account_followup module getting records with
same id and throwing error on opening Follow-ups Sent
Status in OpenERP Server:
In Progress
Bug description:
We are not able to use "Accounting/Reporting/Generic Reporting/Partners/Follow-ups Sent". In the old database with many invoices and transactions I am getting the following error.
File "/home/workspace/npg_jonco/openerp-trunk-server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/workspace/npg_jonco/openerp-trunk-server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/workspace/npg_jonco/openerp-trunk-server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/workspace/npg_jonco/openerp-trunk-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 "/home/workspace/npg_jonco/openerp-trunk-server/bin/osv/orm.py", line 2228, in read_group
d['__domain'] = [(groupby, '=', alldata[d['id']][groupby] or False)] + domain
KeyError: 'followup_id'
To check whether it is an issue with our module, we created new
database and created some invoice with same partner and validate. Then
go to "Accounting/Reporting/Generic Reporting/Partners/Follow-ups
Sent" and open the list. It open without any issues with grouped by
Followup Level. But when we clicked on Expand icon on "Follow ups" to
see the list under the follow up, the client hangs. This hangs all
computer taking lot of CPU. When I check the database, I can see
account_followup_stat View having records with same ids. I think this
is the issue. Please check and fix the issue.
Thankyou.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/798615/+subscriptions
References