Commit 1f5b5fcb authored by Romain Courteaud's avatar Romain Courteaud

Display a more useful error message.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10501 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9c2a0d5e
......@@ -383,5 +383,7 @@ class Rule(XMLObject, Predicate):
else:
# movement not modifiable, we can decide to create a compensation
# with negative quantity
raise NotImplementedError("Not Implemented")
raise NotImplementedError(
"Can not create a compensation movement for %s" % \
movement.getRelativeUrl())
return (add_list, modify_dict, delete_list)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment