Browse Source

Merge branch 'develop' into payment-reconc-party-validation-fix

develop
Afshan 3 years ago
committed by GitHub
parent
commit
87372c8ce4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      erpnext/controllers/queries.py

3
erpnext/controllers/queries.py

@ -526,6 +526,9 @@ def get_filtered_dimensions(doctype, txt, searchfield, start, page_len, filters)
if meta.is_tree:
query_filters.append(['is_group', '=', 0])
if meta.has_field('disabled'):
query_filters.append(['disabled', '!=', 1])
if meta.has_field('company'):
query_filters.append(['company', '=', filters.get('company')])

Loading…
Cancel
Save