openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #00974
Re: [Merge] lp:~therp-nl/ocb-addons/lp1220716 into lp:ocb-addons
Review: Needs Fixing test
I confirm this one breaks purchase_requisition tests.
2013-11-03 13:01:02,778 13936 TEST dd-test openerp.tools.yaml_import: I cancel requisition.
2013-11-03 13:01:02,782 13936 ERROR dd-test openerp.tools.yaml_import: (u'Unable to cancel this purchase order.', u'First cancel all receptions related to this purchase order.')
Traceback (most recent call last):
File "~/parts/openerp/openerp/tools/yaml_import.py", line 864, in process
self._process_node(node)
File "~/parts/openerp/openerp/tools/yaml_import.py", line 877, in _process_node
self.process_python(node)
File "~/parts/openerp/openerp/tools/yaml_import.py", line 550, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "~/addons/purchase_requisition/test/cancel_purchase_requisition.yml", line 1, in <module>
-
File "~/addons/purchase_requisition/purchase_requisition.py", line 105, in tender_cancel
purchase_order_obj.action_cancel(cr, uid, purchase_ids, context=context)
File "~/addons/purchase/purchase.py", line 584, in action_cancel
_('First cancel all receptions related to this purchase order.'))
except_osv: (u'Unable to cancel this purchase order.', u'First cancel all receptions related to this purchase order.')
2013-11-03 13:01:02,783 13936 ERROR dd-test openerp.modules.loading: module purchase_requisition: an exception occurred in a test
Traceback (most recent call last):
File "~/parts/openerp/openerp/modules/loading.py", line 83, in load_test
_load_data(cr, module_name, idref, mode, 'test')
File "~/parts/openerp/openerp/modules/loading.py", line 122, in _load_data
tools.convert_yaml_import(cr, module_name, fp, kind, idref, mode, noupdate, report)
File "~/parts/openerp/openerp/tools/yaml_import.py", line 928, in yaml_import
yaml_interpreter.process(yaml_string)
File "~/parts/openerp/openerp/tools/yaml_import.py", line 864, in process
self._process_node(node)
File "~/parts/openerp/openerp/tools/yaml_import.py", line 877, in _process_node
self.process_python(node)
File "~/parts/openerp/openerp/tools/yaml_import.py", line 550, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "~/addons/purchase_requisition/test/cancel_purchase_requisition.yml", line 1, in <module>
-
File "~/addons/purchase_requisition/purchase_requisition.py", line 105, in tender_cancel
purchase_order_obj.action_cancel(cr, uid, purchase_ids, context=context)
File "~/addons/purchase/purchase.py", line 584, in action_cancel
_('First cancel all receptions related to this purchase order.'))
except_osv: (u'Unable to cancel this purchase order.', u'First cancel all receptions related to this purchase order.')
--
https://code.launchpad.net/~therp-nl/ocb-addons/lp1220716/+merge/184072
Your team OpenERP Community Backports Team is subscribed to branch lp:ocb-addons.