trunk: test data fail on installing new db (error 1)

Bug #620774 reported by Ana Juaristi Olalde
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Installing a fresh database with trunk version downloaded today 2010-08-18, I obtain this errors installing a fresh db and selecting to install all modules except accounting.

This is the first one:

 INFO:init:module mrp_jit: loading test/mrp_jit.yml
[2010-08-19 11:31:00,987] ERROR:tests.mrp_jit:No references to mrp.mrp_bom_1
Traceback (most recent call last):
  File "/home/ana/openerp6.0/server/bin/tools/yaml_import.py", line 691, in process
    self._process_node(node)
  File "/home/ana/openerp6.0/server/bin/tools/yaml_import.py", line 704, in _process_node
    self.process_record(node)
  File "/home/ana/openerp6.0/server/bin/tools/yaml_import.py", line 294, in process_record
    record_dict = self._create_record(model, fields)
  File "/home/ana/openerp6.0/server/bin/tools/yaml_import.py", line 305, in _create_record
    field_value = self._eval_field(model, field_name, expression)
  File "/home/ana/openerp6.0/server/bin/tools/yaml_import.py", line 349, in _eval_field
    value = self.get_id(expression)
  File "/home/ana/openerp6.0/server/bin/tools/yaml_import.py", line 175, in get_id
    ir_id = self.pool.get('ir.model.data')._get_id(self.cr, self.uid, module, checked_xml_id)
  File "/home/ana/openerp6.0/server/bin/tools/misc.py", line 809, in cached_result
    result2 = fn(self2, cr, *args[:self.skiparg-2], **kwargs2)
  File "/home/ana/openerp6.0/server/bin/addons/base/ir/ir_model.py", line 500, in _get_id
    raise ValueError('No references to %s.%s' % (module, xml_id))
ValueError: No references to mrp.mrp_bom_1

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed with yml-specific fixes.
Thanks.

Changed in openobject-addons:
status: New → Fix Released
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.