← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 665157] [NEW] ValueError: No references to account.test_invoice_1

 

Public bug reported:

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,745][accounting] INFO:init:module account: loading test/account_bank_statement.yml
[2010-10-22 10:52:15,652][accounting] INFO:init:module account: loading test/account_cash_statement.yml
[2010-10-22 10:52:17,185][accounting] INFO:init:module account: loading test/account_report.yml
[2010-10-22 10:52:17,276][accounting] ERROR:tests.account:No references to account.test_invoice_1
Traceback (most recent call last):
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 723, in process
    self._process_node(node)
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 738, in _process_node
    self.process_python(node)
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 412, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/max/openerp/openobject-addons/trunk/account/test/account_report.yml", line 2, in <module>
    In order to test the PDF reports defined on an invoice, we will print an Invoice Report
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 177, in get_id
    ir_id = self.pool.get('ir.model.data')._get_id(self.cr, self.uid, module, checked_xml_id)
  File "/home/max/openerp/openobject-server/bin/tools/misc.py", line 808, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/max/openerp/openobject-server/bin/addons/base/ir/ir_model.py", line 402, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.test_invoice_1

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
ValueError: No references to account.test_invoice_1
https://bugs.launchpad.net/bugs/665157
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

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,745][accounting] INFO:init:module account: loading test/account_bank_statement.yml
[2010-10-22 10:52:15,652][accounting] INFO:init:module account: loading test/account_cash_statement.yml
[2010-10-22 10:52:17,185][accounting] INFO:init:module account: loading test/account_report.yml
[2010-10-22 10:52:17,276][accounting] ERROR:tests.account:No references to account.test_invoice_1
Traceback (most recent call last):
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 723, in process
    self._process_node(node)
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 738, in _process_node
    self.process_python(node)
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 412, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/max/openerp/openobject-addons/trunk/account/test/account_report.yml", line 2, in <module>
    In order to test the PDF reports defined on an invoice, we will print an Invoice Report
  File "/home/max/openerp/openobject-server/bin/tools/yaml_import.py", line 177, in get_id
    ir_id = self.pool.get('ir.model.data')._get_id(self.cr, self.uid, module, checked_xml_id)
  File "/home/max/openerp/openobject-server/bin/tools/misc.py", line 808, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/max/openerp/openobject-server/bin/addons/base/ir/ir_model.py", line 402, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to account.test_invoice_1





Follow ups

References