This commit is contained in:
ljmwkx
2025-03-04 14:24:05 +08:00
parent 4a165f3311
commit 700b829761
@@ -928,7 +928,10 @@ class SoongWorkflowMixin(models.AbstractModel):
else:
# Set Attributes
if readonly_arr:
field_inst.set("readonly", "state in %s" % readonly_arr)
id_el = etree.Element("field")
id_el.set("name", "log_ids")
id_el.set("invisible", "1")
field_inst.set("readonly", "state in %s and log_ids" % readonly_arr)
if required_arr:
field_inst.set("required", "state in %s" % required_arr)
if invisible_arr: