1
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user