mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Fix production tests introduced in previous commit
This commit is contained in:
parent
d595f57dfa
commit
8cb0c7ad9f
|
@ -34,7 +34,7 @@ Index: trytond/trytond/modules/production/tests/scenario_production.rst
|
|||
+
|
||||
+Make a production with a bom of zero quantity::
|
||||
+
|
||||
+ >>> zero_bom, = BOM.duplicate([bom])
|
||||
+ >>> zero_bom, = BOM.copy([bom.id], config.context)
|
||||
+ >>> for input_ in bom.inputs:
|
||||
+ ... input_.quantity = 0.0
|
||||
+ >>> bom_output, = bom.outputs
|
||||
|
|
Loading…
Reference in a new issue