changeset 9da24b313d9b in modules/production_work:default
details:
https://hg.tryton.org/modules/production_work?cmd=changeset;node=9da24b313d9b
description:
Test work state is done when production is done
issue9417
review307821002
diffstat:
tests/scenario_production_work.rst | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r cc81b1fef359 -r 9da24b313d9b tests/scenario_production_work.rst
--- a/tests/scenario_production_work.rst Wed Jul 22 08:50:15 2020 +0200
+++ b/tests/scenario_production_work.rst Wed Jul 22 08:51:02 2020 +0200
@@ -253,3 +253,8 @@
>>> production.state
'done'
+Work is now done::
+
+ >>> work2.reload()
+ >>> work2.state
+ 'done'