← Back to team overview

openerp-india team mailing list archive

[Bug 931103] Re: [6.1 trunk] [l10n_ch] module breaks yml tests on db update

 

*** This bug is a duplicate of bug 931104 ***
    https://bugs.launchpad.net/bugs/931104

** This bug has been marked a duplicate of bug 931104
   [6.1 trunk] [product] yml test breaks on update

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/931103

Title:
  [6.1 trunk] [l10n_ch] module breaks yml tests on db update

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  hello,

  latest revs.
  demo db with l10n_ch
  update db

  traceback:
  2012-02-12 19:20:20,405 9826 INFO bs_test_120206 openerp.modules.loading: module base: loading test/test_osv_expression.yml
  2012-02-12 19:20:21,155 9826 ERROR bs_test_120206 openerp.osv.orm: Can't find field 'bvr_scan_line_letter_spacing' in the following view parts composing the view of object model 'res.company':
   * res.company.form.inherit.bvr

  Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
  2012-02-12 19:20:21,155 9826 ERROR bs_test_120206 openerp.tools.yaml_import: ('View error', u"Can't find field 'bvr_scan_line_letter_spacing' in the following view parts composing the view of object model 'res.company':\n * res.company.form.inherit.bvr\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/yaml_import.py", line 843, in process
      self._process_node(node)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/yaml_import.py", line 856, in _process_node
      self.process_record(node)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/yaml_import.py", line 346, in process_record
      view = model.fields_view_get(self.cr, 1, varg, 'form', context)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/orm.py", line 2144, in fields_view_get
      xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/orm.py", line 1804, in __view_look_dom_arch
      raise except_orm('View error', msg)
  except_orm: ('View error', u"Can't find field 'bvr_scan_line_letter_spacing' in the following view parts composing the view of object model 'res.company':\n * res.company.form.inherit.bvr\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")
  2012-02-12 19:20:21,183 9826 ERROR bs_test_120206 openerp.modules.loading: Tests failed to execute in module base
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/modules/loading.py", line 100, in load_test
      _load_data(cr, module_name, idref, mode, 'test')
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/modules/loading.py", line 136, in _load_data
      tools.convert_yaml_import(cr, module_name, fp, idref, mode, noupdate)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/yaml_import.py", line 908, in yaml_import
      yaml_interpreter.process(yaml_string)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/yaml_import.py", line 843, in process
      self._process_node(node)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/yaml_import.py", line 856, in _process_node
      self.process_record(node)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/tools/yaml_import.py", line 346, in process_record
      view = model.fields_view_get(self.cr, 1, varg, 'form', context)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/orm.py", line 2144, in fields_view_get
      xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
    File "/usr/local/lib/python2.7/dist-packages/openerp-6.1rc1-py2.7.egg/openerp/osv/orm.py", line 1804, in __view_look_dom_arch
      raise except_orm('View error', msg)
  except_orm: ('View error', u"Can't find field 'bvr_scan_line_letter_spacing' in the following view parts composing the view of object model 'res.company':\n * res.company.form.inherit.bvr\n\nEither you wrongly customized this view, or some modules bringing those views are not compatible with your current data model")

  not sure wether the module breaks the test or the test is faulty...
  :-)

  regards,
  bogdan

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/931103/+subscriptions


References