Production cost is not computed until production is saved.
This commit is contained in:
parent
a19188fc25
commit
9b4d4bbc93
|
@ -221,9 +221,9 @@ Make a production::
|
|||
>>> output, = production.outputs
|
||||
>>> output.quantity == 2
|
||||
True
|
||||
>>> production.save()
|
||||
>>> production.cost == Decimal('25')
|
||||
True
|
||||
>>> production.save()
|
||||
>>> Production.wait([production.id], config.context)
|
||||
>>> Production.assign_try([production.id], config.context)
|
||||
True
|
||||
|
|
Loading…
Reference in New Issue