← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670908] [NEW] point of sale : yml error

 

Public bug reported:


yml test case fails. 

point_of_sale: loading test/point_of_sale_test.yml
[2010-11-04 18:17:57,822][trunk] ERROR:tests.point_of_sale:('warning', 'Message')
Traceback (most recent call last):
  File "/home/vir/erog/openobject-server/bin/tools/yaml_import.py", line 723, in process
    self._process_node(node)
  File "/home/vir/erog/openobject-server/bin/tools/yaml_import.py", line 738, in _process_node
    self.process_python(node)
  File "/home/vir/erog/openobject-server/bin/tools/yaml_import.py", line 412, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/vir/erog/openobject-addons/point_of_sale/test/point_of_sale_test.yml", line 3, in <module>
    
  File "/home/vir/erog/openobject-addons/point_of_sale/wizard/pos_open_statement.py", line 52, in open_statement
    raise osv.except_osv(_('Message'), _('You can not open a Cashbox for "%s".\nPlease close its related cash register.' %(journal.name)))

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

-- 
point of sale : yml error
https://bugs.launchpad.net/bugs/670908
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:

yml test case fails. 

point_of_sale: loading test/point_of_sale_test.yml
[2010-11-04 18:17:57,822][trunk] ERROR:tests.point_of_sale:('warning', 'Message')
Traceback (most recent call last):
  File "/home/vir/erog/openobject-server/bin/tools/yaml_import.py", line 723, in process
    self._process_node(node)
  File "/home/vir/erog/openobject-server/bin/tools/yaml_import.py", line 738, in _process_node
    self.process_python(node)
  File "/home/vir/erog/openobject-server/bin/tools/yaml_import.py", line 412, in process_python
    unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
  File "/home/vir/erog/openobject-addons/point_of_sale/test/point_of_sale_test.yml", line 3, in <module>
    
  File "/home/vir/erog/openobject-addons/point_of_sale/wizard/pos_open_statement.py", line 52, in open_statement
    raise osv.except_osv(_('Message'), _('You can not open a Cashbox for "%s".\nPlease close its related cash register.' %(journal.name)))





Follow ups

References