I uncommented line 122 in account/__openerp__.py
'account_unit_test.xml',
and got :
[2010-10-22 11:18:09,920][accounting] INFO:init:module account: loading test/account_cash_statement.yml [2010-10-22 11:18:11,375][accounting] INFO:init:module account: loading test/account_report.yml /home/max/openerp/openobject-server/bin/report/pyPdf/pdf.py:163: DeprecationWarning: the md5 module is deprecated; use hashlib instead import struct, md5 [2010-10-22 11:18:12,349][accounting] ERROR:report:'fiscalyear' Traceback (most recent call last): File "/home/max/openerp/openobject-server/bin/report/render/rml2pdf/utils.py", line 89, in _child_get eval(n.get('rml_except'), {}, self.localcontext) File "/home/max/openerp/openobject-server/bin/tools/safe_eval.py", line 271, in safe_eval return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict) File "", line 1, in <module> File "/home/max/openerp/openobject-addons/trunk/account/report/account_tax_report.py", line 46, in get_years fiscal_year_name = self.pool.get('account.fiscalyear').name_get(self.cr,self.uid,form['fiscalyear']) KeyError: 'fiscalyear' [2010-10-22 11:18:12,644][accounting] ERROR:report:'type' Traceback (most recent call last): File "/home/max/openerp/openobject-server/bin/report/render/rml2pdf/utils.py", line 89, in _child_get eval(n.get('rml_except'), {}, self.localcontext) File "/home/max/openerp/openobject-server/bin/tools/safe_eval.py", line 271, in safe_eval return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict) File "", line 1, in <module> File "/home/max/openerp/openobject-addons/trunk/account/report/account_balance_sheet.py", line 106, in get_data if self.res_bl['type'] == 'Net Profit C.F.B.L.': KeyError: 'type' [2010-10-22 11:18:12,717][accounting] ERROR:report:'type' Traceback (most recent call last): File "/home/max/openerp/openobject-server/bin/report/render/rml2pdf/utils.py", line 89, in _child_get eval(n.get('rml_except'), {}, self.localcontext) File "/home/max/openerp/openobject-server/bin/tools/safe_eval.py", line 271, in safe_eval return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict) File "", line 1, in <module> File "/home/max/openerp/openobject-addons/trunk/account/report/account_balance_sheet.py", line 106, in get_data if self.res_bl['type'] == 'Net Profit C.F.B.L.': KeyError: 'type'
I uncommented line 122 in account/ __openerp_ _.py
and got :
[2010-10-22 11:18:09, 920][accounting ] INFO:init:module account: loading test/account_ cash_statement. yml 375][accounting ] INFO:init:module account: loading test/account_ report. yml openerp/ openobject- server/ bin/report/ pyPdf/pdf. py:163: DeprecationWarning: the md5 module is deprecated; use hashlib instead 349][accounting ] ERROR:report: 'fiscalyear' max/openerp/ openobject- server/ bin/report/ render/ rml2pdf/ utils.py" , line 89, in _child_get n.get(' rml_except' ), {}, self.localcontext) max/openerp/ openobject- server/ bin/tools/ safe_eval. py", line 271, in safe_eval expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict) max/openerp/ openobject- addons/ trunk/account/ report/ account_ tax_report. py", line 46, in get_years year_name = self.pool. get('account. fiscalyear' ).name_ get(self. cr,self. uid,form[ 'fiscalyear' ]) 644][accounting ] ERROR:report:'type' max/openerp/ openobject- server/ bin/report/ render/ rml2pdf/ utils.py" , line 89, in _child_get n.get(' rml_except' ), {}, self.localcontext) max/openerp/ openobject- server/ bin/tools/ safe_eval. py", line 271, in safe_eval expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict) max/openerp/ openobject- addons/ trunk/account/ report/ account_ balance_ sheet.py" , line 106, in get_data 717][accounting ] ERROR:report:'type' max/openerp/ openobject- server/ bin/report/ render/ rml2pdf/ utils.py" , line 89, in _child_get n.get(' rml_except' ), {}, self.localcontext) max/openerp/ openobject- server/ bin/tools/ safe_eval. py", line 271, in safe_eval expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict) max/openerp/ openobject- addons/ trunk/account/ report/ account_ balance_ sheet.py" , line 106, in get_data
[2010-10-22 11:18:11,
/home/max/
import struct, md5
[2010-10-22 11:18:12,
Traceback (most recent call last):
File "/home/
eval(
File "/home/
return eval(test_
File "", line 1, in <module>
File "/home/
fiscal_
KeyError: 'fiscalyear'
[2010-10-22 11:18:12,
Traceback (most recent call last):
File "/home/
eval(
File "/home/
return eval(test_
File "", line 1, in <module>
File "/home/
if self.res_bl['type'] == 'Net Profit C.F.B.L.':
KeyError: 'type'
[2010-10-22 11:18:12,
Traceback (most recent call last):
File "/home/
eval(
File "/home/
return eval(test_
File "", line 1, in <module>
File "/home/
if self.res_bl['type'] == 'Net Profit C.F.B.L.':
KeyError: 'type'