Commit e1ee216f authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_mrp_quality_assurance: batch mode for test

parent 5a8ceb20
Pipeline #37173 passed with stage
in 0 seconds
......@@ -88,6 +88,8 @@ if unprocess_data_list:
unprocess_data_list = [x for x in unprocess_data_list if x not in processed_data_list]
if unprocess_data_list or already_used_dict:
if batch:
return unprocess_data_list, already_used_dict
msg = ''
if unprocess_data_list:
msg = msg + translateString("Those data are not processed")
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>traceability_data, **kw</string> </value>
<value> <string>traceability_data, batch = 0, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
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