Commit 018f5e61 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: debug trade condition

parent fecbaec3
...@@ -141,7 +141,9 @@ if instance_tree.getCausalityState() == 'diverged': ...@@ -141,7 +141,9 @@ if instance_tree.getCausalityState() == 'diverged':
default=None, default=None,
) )
if price is None: if price is None:
raise NotImplementedError('Price not found on %s for %s %s' % (open_sale_order.getSpecialise(), raise NotImplementedError('Price not found on %s (%s) for %s %s' % (
open_sale_order.getSpecialiseTitle(),
open_sale_order.getSpecialise(),
service.getRelativeUrl(), service.getRelativeUrl(),
str([x.getRelativeUrl() for x in predicate_list]))) str([x.getRelativeUrl() for x in predicate_list])))
open_order_line.edit( open_order_line.edit(
......
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