[6.0RC1] ValueError: No references to account.test_invoice_1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Mustufa Rangwala (Open ERP) |
Bug Description
Ubuntu 10.04
openobject-server from trunk
openobject-addons from trunk
openobject-client from trunk
Create database (demo data: Yes, Language: French)
Select interface: Extended
Company name : Test; Currency: CAD
Install applications : check Accounting & Finance
Then the installation continue, but I have this error message in the server console. Maybe nothing important, but worth filing a bug :
[2010-10-22 10:52:14,
[2010-10-22 10:52:15,
[2010-10-22 10:52:17,
[2010-10-22 10:52:17,
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
unsafe_
File "/home/
In order to test the PDF reports defined on an invoice, we will print an Invoice Report
File "/home/
ir_id = self.pool.
File "/home/
result2 = fn(self2, cr, *args[:
File "/home/
raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
milestone: | none → 6.0-rc2 |
assignee: | nobody → mra (Open ERP) (mra-tinyerp) |
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'