fix: Don't throw error for fieldtype Button conflicts
This commit is contained in:
parent
03efb18571
commit
8d590eabca
1 changed files with 3 additions and 0 deletions
|
|
@ -123,6 +123,9 @@ class DocType(Document):
|
|||
}
|
||||
|
||||
for docfield in self.get("fields") or []:
|
||||
if docfield.fieldtype == "Button":
|
||||
continue
|
||||
|
||||
conflict_type = None
|
||||
field = docfield.fieldname
|
||||
field_label = docfield.label or docfield.fieldname
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue