hey
today i "bzr pulled" the financial addons from c2c... now if i want create a "General Ledger" or a "Trial Balance" i get:
(<type 'exceptions.Exception'>, Exception('Missing account or period_ids',), <traceback object at 0x2140b90>)
Whole server output:
[2012-02-08 23:52:24,908][apz_20120201] ERROR:web-services:[01]: Exception: Missing account or period_ids
[2012-02-08 23:52:24,908][apz_20120201] ERROR:web-services:[02]: Traceback (most recent call last):
[2012-02-08 23:52:24,908][apz_20120201] ERROR:web-services:[03]: File "/home/thomi/Daten/openerp-dev/development/server/bin/service/web_services.py", line 724, in go
[2012-02-08 23:52:24,909][apz_20120201] ERROR:web-services:[04]: (result, format) = obj.create(cr, uid, ids, datas, context)
[2012-02-08 23:52:24,909][apz_20120201] ERROR:web-services:[05]: File "/home/thomi/Daten/openerp-dev/development/server/bin/addons/report_webkit/webkit_report.py", line 372, in create
[2012-02-08 23:52:24,909][apz_20120201] ERROR:web-services:[06]: result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
[2012-02-08 23:52:24,909][apz_20120201] ERROR:web-services:[07]: File "/home/thomi/Daten/openerp-dev/development/server/bin/report/report_sxw.py", line 481, in create_source_pdf
[2012-02-08 23:52:24,909][apz_20120201] ERROR:web-services:[08]: return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2012-02-08 23:52:24,909][apz_20120201] ERROR:web-services:[09]: File "/home/thomi/Daten/Organisation/Kunden/A/APZ Direct AG/Informationen/Projekte/OpenERP/AgileBG SVN/svn/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 156, in create_single_pdf
[2012-02-08 23:52:24,910][apz_20120201] ERROR:web-services:[10]: self.parser_instance.set_context(objs, data, ids, report_xml.report_type)
[2012-02-08 23:52:24,910][apz_20120201] ERROR:web-services:[11]: File "/home/thomi/Daten/Organisation/Kunden/A/APZ Direct AG/Informationen/Projekte/OpenERP/AgileBG SVN/svn/account_financial_report_webkit/report/account_report_general_ledger.py", line 106, in set_context
[2012-02-08 23:52:24,910][apz_20120201] ERROR:web-services:[12]: init_balance_memoizer = self._compute_initial_balances(accounts, start, fiscalyear)
[2012-02-08 23:52:24,910][apz_20120201] ERROR:web-services:[13]: File "/home/thomi/Daten/Organisation/Kunden/A/APZ Direct AG/Informationen/Projekte/OpenERP/AgileBG SVN/svn/account_financial_report_webkit/report/common_report_header_webkit.py", line 379, in _compute_initial_balances
[2012-02-08 23:52:24,910][apz_20120201] ERROR:web-services:[14]: res[acc.id] = self._compute_init_balance(acc.id, bs_period_ids)
[2012-02-08 23:52:24,910][apz_20120201] ERROR:web-services:[15]: File "/home/thomi/Daten/Organisation/Kunden/A/APZ Direct AG/Informationen/Projekte/OpenERP/AgileBG SVN/svn/account_financial_report_webkit/report/common_report_header_webkit.py", line 325, in _compute_init_balance
[2012-02-08 23:52:24,910][apz_20120201] ERROR:web-services:[16]: raise Exception('Missing account or period_ids')
[2012-02-08 23:52:24,911][apz_20120201] ERROR:web-services:[17]: Exception: Missing account or period_ids
Before this "bzr pull" the report have worked fine...
thanks for feedback and fixing.
thomi
Hello,
We do not have such problem like this on any on our installation.
Maybe you have some special configuration which may lead to this issue ? Do you have some ideas which can help us to find the conditions to reproduce it ?
Do you have an opening period on the first january (with special flag) ? Other periods which are flagged as "special" ?
Thanks
Guewen