Commit ee33360f authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: use Software Product

parent 12ef414e
......@@ -130,7 +130,7 @@ if instance_tree.getCausalityState() == 'diverged':
default=None,
)
if price is None:
raise NotImplementedError('Price must be defined')
raise NotImplementedError('Price not found on %s' % open_sale_order.getSpecialise())
open_order_line.edit(
price=price
)
......
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