Commit 56b9c602 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: price/quantity can comes from subscription request

parent 124fc001
...@@ -155,8 +155,8 @@ if instance_tree.getCausalityState() == 'diverged': ...@@ -155,8 +155,8 @@ if instance_tree.getCausalityState() == 'diverged':
assert open_order_line.getBaseContribution() == 'base_amount/invoicing/discounted' assert open_order_line.getBaseContribution() == 'base_amount/invoicing/discounted'
assert open_order_line.getBaseContributionList()[1] == 'base_amount/invoicing/taxable' assert open_order_line.getBaseContributionList()[1] == 'base_amount/invoicing/taxable'
assert open_order_line.getUse() == 'trade/sale' assert open_order_line.getUse() == 'trade/sale'
assert open_order_line.getPrice() == 1 #assert open_order_line.getPrice() == 1, open_order_line.getPrice()
assert open_order_line.getQuantity() == 1 #assert open_order_line.getQuantity() == 1
open_order.OpenSaleOrder_updatePeriod() open_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