This commit is contained in:
李鹏宇
2025-03-18 15:58:31 +08:00
parent cc80d13661
commit ca2940fac8
@@ -587,7 +587,7 @@ class SoongWorkflowMixin(models.AbstractModel):
id_el.set("name", "log_ids")
id_el.set("invisible", "1")
invisible += " or not log_ids "
invisible += " or not work_end "
# invisible += " or not work_end "
btn_exec_action_el.set("invisible", invisible)
btn_exec_action_el.set("context", "{'btn_key':'%s','active_model':'%s'}" % (button.btn_key, self._name),)
res["arch"] = etree.tostring(arch, encoding="unicode").replace("\t", "")