openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #03653
[Bug 1278078] [NEW] Broken yml test for purchase requisition
Public bug reported:
Since that merge : https://code.launchpad.net/~therp-nl/ocb-addons/lp1220716/+merge/184072,
the yml tests for purchase requisition are broken.
As reported by sbi on the merge request:
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.')
Since that was a backport of an OPW support branch, chances are that one
of the current openobject-addons 7.0 or saas branches does not exhibit
similar problem. That'll be the first focus of investigation.
** Affects: ocb-addons
Importance: Undecided
Status: New
** Description changed:
Since that merge : https://code.launchpad.net/~therp-nl/ocb-addons/lp1220716/+merge/184072,
the yml tests for purchase requisition are broken.
As reported by sbi on the merge request:
- 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.'))
+ 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.')
- Since that was a backport of an OPW support branch, chances are that on
+ Since that was a backport of an OPW support branch, chances are that one
of the current openobject-addons 7.0 or saas branches does not exhibit
similar problem. That'll be the first focus of investigation.
--
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (Addons).
https://bugs.launchpad.net/bugs/1278078
Title:
Broken yml test for purchase requisition
Status in OpenERP Community Backports (Addons):
New
Bug description:
Since that merge : https://code.launchpad.net/~therp-nl/ocb-addons/lp1220716/+merge/184072,
the yml tests for purchase requisition are broken.
As reported by sbi on the merge request:
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.')
Since that was a backport of an OPW support branch, chances are that
one of the current openobject-addons 7.0 or saas branches does not
exhibit similar problem. That'll be the first focus of investigation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1278078/+subscriptions
Follow ups
References