Commit 94ae57fe authored by Tristan Cavelier's avatar Tristan Cavelier

erp5 taskman view no state bug fixed

parent 928e8d71
......@@ -210,7 +210,8 @@
data.append(renderer_form.form_id.key,
renderer_form.form_id['default']);
metadata = toERP5Metadata(metadata);
if (metadata.translated_simulation_state_title !==
if (typeof metadata.translated_simulation_state_title === "string" &&
metadata.translated_simulation_state_title !==
result.translated_simulation_state_title) {
action = constant.task_state_to_action[
metadata.translated_simulation_state_title
......
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