if not permlevel set 0
This commit is contained in:
parent
995e7573ab
commit
ad76337fa3
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ class DocType:
|
|||
fieldnames = {}
|
||||
illegal = ['.', ',', ' ', '-', '&', '%', '=', '"', "'", '*', '$']
|
||||
for d in self.doclist:
|
||||
if not d.permlevel: d.permlevel = 0
|
||||
if d.parent and d.fieldtype and d.parent == self.doc.name:
|
||||
# check if not double
|
||||
if d.fieldname:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue