添加功能
This commit is contained in:
@@ -1247,13 +1247,13 @@ class SoongWorkflowMixin(models.AbstractModel):
|
||||
id_el = etree.Element("field")
|
||||
id_el.set("name", "log_ids")
|
||||
id_el.set("invisible", "1")
|
||||
invisible += " or not log_ids or is_done"
|
||||
invisible += " or not log_ids or is_done or is_show_transfer"
|
||||
if button.name == "分发":
|
||||
btn_exec_action_el.set("class", "btn btn-distribute")
|
||||
invisible += " or not is_send"
|
||||
if button.name == "转交":
|
||||
btn_exec_action_el.set("class", "btn btn-transfer")
|
||||
invisible += " or is_done"
|
||||
invisible += " or is_done or is_show_transfer"
|
||||
if button.name == "加签确认":
|
||||
invisible += "or not is_show_transfer"
|
||||
if button.name == "收回":
|
||||
|
||||
Reference in New Issue
Block a user