In the mako template files:
- <%setLang(user.context_lang)%> + <%setLang(user.context.lang)%>
seems to fix the last error in the original report.
On to the next error:
--------------------------------------- Uncaught exception Traceback (most recent call last): File "/opt/openerp/7.0/server/openerp/osv/osv.py", line 123, in wrapper return f(self, dbname, *args, **kwargs) File "/opt/openerp/7.0/server/openerp/osv/osv.py", line 179, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/opt/openerp/7.0/server/openerp/osv/osv.py", line 166, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/openerp/7.0/addons/account/wizard/account_report_common.py", line 172, in check_report data['form'] = self.read(cr, uid, ids, ['date_from', 'date_to', 'fiscalyear_id', 'journal_ids', 'period_from', 'period_to', 'filter', 'chart_account_id', 'target_move'], context=context)[0] IndexError: list index out of range ---------------------------------------
In the mako template files:
- <%setLang( user.context_ lang)%> user.context. lang)%>
+ <%setLang(
seems to fix the last error in the original report.
On to the next error:
------- ------- ------- ------- ------- ---- 7.0/server/ openerp/ osv/osv. py", line 123, in wrapper 7.0/server/ openerp/ osv/osv. py", line 179, in execute 7.0/server/ openerp/ osv/osv. py", line 166, in execute_cr 7.0/addons/ account/ wizard/ account_ report_ common. py", line 172, in check_report ------- ------- ------- ------- ----
Uncaught exception
Traceback (most recent call last):
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
data['form'] = self.read(cr, uid, ids, ['date_from', 'date_to', 'fiscalyear_id', 'journal_ids', 'period_from', 'period_to', 'filter', 'chart_account_id', 'target_move'], context=context)[0]
IndexError: list index out of range
-------