Commit 9fd65714 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: quantity is defined on cell

parent 98bc76f5
......@@ -187,7 +187,6 @@ if instance_tree.getCausalityState() == 'diverged':
)
if order_cell.getPrice() is None:
# No price found, do not create anything for now
# XXX add comment on Instance Tree
storeWorkflowComment(instance_tree, "No price found")
return
open_sale_order, open_order_line, open_order_cell = newOpenOrder(
......@@ -206,7 +205,7 @@ if instance_tree.getCausalityState() == 'diverged':
assert open_order_line.getBaseContributionList()[1] == 'base_amount/invoicing/taxable'
assert open_order_line.getUse() == 'trade/sale'
#assert open_order_line.getPrice() == 1, open_order_line.getPrice()
assert open_order_line.getQuantity() == 1
assert open_order_cell.getQuantity() == 1
open_sale_order.OpenSaleOrder_updatePeriod()
......
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