mirror of
https://github.com/NaN-tic/trytond-product_cost_plan_operation-old.git
synced 2023-12-13 21:20:12 +01:00
Fix tests.
This commit is contained in:
parent
98099a9cfd
commit
6bfc352916
1 changed files with 3 additions and 0 deletions
|
@ -245,6 +245,9 @@ Create a cost plan for 10 units::
|
|||
>>> plan.product = product
|
||||
>>> plan.route = route
|
||||
>>> plan.quantity = 1
|
||||
>>> plan.save()
|
||||
>>> CostPlan.compute([plan.id], config.context)
|
||||
>>> plan.reload()
|
||||
>>> len(plan.operations) == 2
|
||||
True
|
||||
>>> plan.save()
|
||||
|
|
Loading…
Reference in a new issue