fix scenario

This commit is contained in:
?ngel ?lvarez 2015-02-17 18:04:47 +01:00
parent 51a27e2140
commit 972e7b17b1
1 changed files with 2 additions and 0 deletions

View File

@ -223,5 +223,7 @@ Create a manual cost and test total cost is updated::
>>> cost.type = costtype
>>> cost.cost = Decimal('25.0')
>>> plan.costs.append(cost)
>>> plan.save()
>>> plan.reload()
>>> plan.cost_price == Decimal('42.5')
True