← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 878683] Re: When install Sale - Found Traceback and Error

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/878683

Title:
  When install Sale - Found Traceback and Error

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Problem : When install Sale - Found Traceback and Error

  When Install the sale module. A traceback and error found due to yml file.
  ==========================================
  when install sale
  ==========================================
  [2011-10-20 06:03:26,567][crm_test_wiz8] ERROR:tests.sale:list index out of range
  Traceback (most recent call last):
    File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 740, in process
      self._process_node(node)
    File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 755, in _process_node
      self.process_python(node)
    File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 426, in process_python
      unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
    File "/home/amb/source/addons/trunk/sale/test/invoice_on_shipped_qty.yml", line 10, in <module>
      - name: Slider Mobile
  IndexError: list index out of range
  [2011-10-20 06:03:26,592][crm_test_wiz8] ERROR:init.test:Tests failed to execute in module sale
  Traceback (most recent call last):
    File "/home/amb/source/server/trunk/openerp/modules/loading.py", line 100, in load_test
      _load_data(cr, module_name, idref, mode, 'test')
    File "/home/amb/source/server/trunk/openerp/modules/loading.py", line 135, in _load_data
      tools.convert_yaml_import(cr, module_name, fp, idref, mode, noupdate)
    File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 805, in yaml_import
      yaml_interpreter.process(yaml_string)
    File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 740, in process
      self._process_node(node)
    File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 755, in _process_node
      self.process_python(node)
    File "/home/amb/source/server/trunk/openerp/tools/yaml_import.py", line 426, in process_python
      unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
    File "/home/amb/source/addons/trunk/sale/test/invoice_on_shipped_qty.yml", line 10, in <module>
      - name: Slider Mobile
  IndexError: list index out of range

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


References