Browse Source
Merge branch 'develop' into payment-reconc-party-validation-fix
develop
Afshan
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
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')]) |
|
|
|
|
|
|
|