Преглед изворни кода

Merge pull request #15707 from ruchamahabal/fix-user-type

fix(User Type): Select perms not updated for link fields in child table
version-14
mergify[bot] пре 3 година
committed by GitHub
родитељ
комит
bca9205b64
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      frappe/core/doctype/user_type/user_type.py

+ 1
- 1
frappe/core/doctype/user_type/user_type.py Прегледај датотеку

@@ -121,7 +121,7 @@ class UserType(Document):

for child_table in doc.get_table_fields():
child_doc = frappe.get_meta(child_table.options)
if not child_doc.istable:
if child_doc:
self.prepare_select_perm_doctypes(child_doc, user_doctypes, select_doctypes)

if select_doctypes:


Loading…
Откажи
Сачувај