Commit a2098dd9 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_research_item: fix state

parent 59fcb19c
...@@ -37,8 +37,9 @@ if len(task_state_set): ...@@ -37,8 +37,9 @@ if len(task_state_set):
**inventory_kw)) **inventory_kw))
task_report_state_set = simulation_state_set.difference(before_confirmed_task_state_set) task_report_state_set = simulation_state_set.difference(before_confirmed_task_state_set)
# User can create draft task report directly # User can create draft task report directly
if 'draft' in before_confirmed_task_state_set: if 'draft' in simulation_state_set:
task_report_state_set.add('draft') task_report_state_set.add('draft')
if len(task_report_state_set): if len(task_report_state_set):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment