mergify[bot]
27af9baaa5
refactor(queries): using frappe.get_query in get_filtered_child_rows (backport #57991 ) ( #57992 )
...
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-08-10 19:51:55 +00:00
Poovetha
478426b436
fix(projects): include on hold status in project filters and reports
...
(cherry picked from commit 51a9fc0316 )
2026-07-31 11:09:53 +05:30
mergify[bot]
75d00ef173
fix(stock): change qb to qb get_query to fix filter issues (backport #55443 ) ( #55444 )
...
Co-authored-by: Sudharsanan Ashok <135326972+Sudharsanan11@users.noreply.github.com >
fix(stock): change qb to qb get_query to fix filter issues (#55443 )
2026-06-01 05:33:25 +00:00
mergify[bot]
4f89f3a856
fix: prevent AttributeError in batch query filters (backport #55257 ) ( #55278 )
...
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com >
fix: prevent AttributeError in batch query filters (#55257 )
2026-05-26 05:11:11 +00:00
mergify[bot]
ff442cd8e7
fix(stock): apply posting datetime filters while fetching available batches (backport #54976 ) ( #55184 )
...
fix(stock): apply posting datetime filters while fetching available batches
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com >
2026-05-22 11:34:43 +00:00
mergify[bot]
5de4102dda
fix(sales invoice): toggle Get Items From button based on is_return and POS view (backport #52594 ) ( #54138 )
...
Co-authored-by: NaviN <118178330+Navin-S-R@users.noreply.github.com >
Co-authored-by: Navin-S-R <navin@aerele.in >
fix(sales invoice): toggle Get Items From button based on is_return and POS view (#52594 )
2026-04-09 11:58:07 +05:30
mergify[bot]
f7536f645b
fix: invalid dynamic link filter for address doctype (backport #53849 ) ( #53851 )
2026-03-27 12:38:29 +00:00
ruthra kumar
03f09222cf
fix: use qb to prevent incorrect sql due to user permissions
...
(cherry picked from commit 04b967bd6d )
# Conflicts:
# erpnext/controllers/queries.py
2026-03-17 16:45:29 +05:30
ruthra kumar
f232024fa4
chore: remove incorrect import
...
(cherry picked from commit fc2edfbded )
# Conflicts:
# erpnext/controllers/queries.py
2026-03-17 11:02:32 +00:00
Fawaz Alhafiz
d950de2d09
fix: SQL operator precedence in Project query customer filter
...
Added explicit parentheses around customer OR conditions in get_project_name()
to ensure proper grouping with AND filters. Without these parentheses, SQL
operator precedence caused the status filter to be bypassed when a customer
filter was applied, resulting in completed and cancelled projects appearing
in link field dropdowns.
Before:
WHERE customer='X' OR customer IS NULL OR customer='' AND status NOT IN (...)
was interpreted as:
WHERE customer='X' OR customer IS NULL OR (customer='' AND status NOT IN (...))
After:
WHERE (customer='X' OR customer IS NULL OR customer='') AND status NOT IN (...)
Fixes: Completed/cancelled projects showing in Project link fields
Affected: Any doctype using Project link fields with customer filters
(cherry picked from commit 0ec30a1cea )
2025-10-06 07:34:55 +00:00
diptanilsaha
4a0d7fd205
fix: use query builder instead of raw SQL in get_blanket_orders
...
(cherry picked from commit 1db135262d )
2025-08-19 05:25:18 +00:00
diptanilsaha
c9f79b3ba9
fix: formatted string for disabled filter in get_income_account
...
(cherry picked from commit 6320f7290f )
2025-08-19 05:25:17 +00:00
mithili
0d47eb1fa0
fix: add condition to fetch active accounts
...
(cherry picked from commit 7c8dd86a35 )
2025-08-08 05:25:04 +00:00
mithili
b060cdb4f5
fix(purchase invoice): filter only enabled account
...
(cherry picked from commit c3111db6e2 )
2025-08-08 05:25:04 +00:00
Diptanil Saha
6b96a26462
Merge pull request #48614 from diptanilsaha/backport_48411
...
fix: employee search based on the fields mentioned in the employee doctype search fields (backport #48411 )
2025-07-15 18:51:51 +05:30
Rohit Waghchaure
994454bfc3
fix: batch page length
...
(cherry picked from commit 338256b799 )
2025-06-11 14:33:13 +00:00
ljain112
e752f3f914
chore: added test case for employee query with user permissions
...
(cherry picked from commit 4be975f87c )
# Conflicts:
# erpnext/controllers/tests/test_queries.py
2025-04-22 16:00:00 +05:30
ljain112
a450ce25b9
fix: respect field "ignore_user_permissions" property in employee query
...
(cherry picked from commit 91d7bc55be )
2025-04-22 10:12:30 +00:00
Rohit Waghchaure
3d4f3e1be7
fix: disbaled UOM showing in the list
...
(cherry picked from commit 3745825052 )
2025-04-21 16:43:17 +00:00
Rohit Waghchaure
288aad6f5d
feat: allow UOMs to select for which converstion rate defined in item master
...
(cherry picked from commit b1dfbbe85e )
# Conflicts:
# erpnext/stock/doctype/stock_settings/stock_settings.json
2025-03-31 10:53:11 +00:00
Ninad Parikh
877d5bd3aa
fix: base_net_rate Required to Check Valid Range (backport #46332 ) ( #46382 )
...
fix: `base_net_rate` required to check valid range
2025-03-12 16:12:44 +05:30
ruthra kumar
0b591ba7eb
chore: resolve conflicts
2025-02-05 16:37:09 +05:30
Bhavan23
8ea9a9e467
fix: filter the item tax template using the input text
...
(cherry picked from commit 4dd37ba033 )
# Conflicts:
# erpnext/controllers/queries.py
2025-02-05 11:01:21 +00:00
venkat102
74220430e5
fix: include company in filter condition
...
(cherry picked from commit b92f8bc514 )
2024-12-30 09:59:09 +00:00
rohitwaghchaure
4ba07a40eb
fix: not able to reconcile expired batches ( #44012 )
...
(cherry picked from commit 8805e74784 )
2024-11-12 10:19:19 +00:00
mergify[bot]
56dad7d365
fix: disabled batches showing in the list (backport #43024 ) ( #43069 )
...
fix: disabled batches showing in the list (#43024 )
(cherry picked from commit c13a147df1 )
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2024-09-05 16:00:33 +05:30
Rohit Waghchaure
67d1709ef8
fix: batch qty in the dropdown field
...
(cherry picked from commit eb426c69fe )
2024-06-12 07:32:03 +00:00
mergify[bot]
24775db97e
fix: batch selection issue (backport #41692 ) ( #41693 )
...
fix: batch selection issue (#41692 )
(cherry picked from commit 968120d0eb )
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2024-05-30 18:49:12 +05:30
Akhil Narang
960ef14b7a
refactor(treewide): formatting and ruff fixes, + manually enabled F401
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev >
2024-04-10 14:15:58 +05:30
Rohit Waghchaure
79d047802a
fix: existing batch from different warehouse not showing in the dropdown
...
(cherry picked from commit 662cf21afb )
2024-03-26 10:35:51 +00:00
Deepesh Garg
313350534f
fix: Remove custom queries for customer
...
(cherry picked from commit 60ba25caf2 )
2024-03-16 14:34:36 +00:00
Deepesh Garg
2512d4c7f2
chore: Remove custom party queries
...
(cherry picked from commit c9623b6fd6 )
2024-03-16 14:34:36 +00:00
mergify[bot]
40752c1f5c
fix: conditionally apply is_group filter in accounting dimension query (backport #40414 ) ( #40416 )
...
fix: conditionally apply `is_group` filter in accounting dimension query (#40414 )
(cherry picked from commit daf4ae2a6b )
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com >
2024-03-12 20:45:31 +05:30
Deepesh Garg
173b3b85f6
fix: Filter for projects in Sales Cycle
...
(cherry picked from commit d0e0b66b2f )
2024-03-10 13:57:13 +00:00
mergify[bot]
4b15c00b11
fix: use serial batch fields for subcontracting receipt (backport #40311 ) ( #40315 )
...
fix: use serial batch fields for subcontracting receipt (#40311 )
(cherry picked from commit cef6291311 )
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2024-03-06 19:59:21 +05:30
mergify[bot]
53992deb10
fix: show warehouse title field in sales docs (backport #39746 ) ( #39755 )
...
fix: show warehouse title field in sales docs
(cherry picked from commit ee14faaa39 )
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2024-02-06 12:45:37 +05:30
ruthra kumar
5a65a10dba
refactor: better ordering of query result
...
(cherry picked from commit bfe42fdccb )
2024-01-16 10:55:36 +00:00
ruthra kumar
1b8f572e80
fix(test): test case for project query
...
(cherry picked from commit 3349dde5e2 )
2024-01-16 10:55:36 +00:00
ruthra kumar
07e2901e4b
fix: project query controller logic
...
(cherry picked from commit 4eefb445a7 )
2024-01-16 10:55:35 +00:00
Rohit Waghchaure
1394a1c5e9
fix: batches not coming correctly in the batch selector
...
(cherry picked from commit 114f2b4326 )
2024-01-14 18:19:30 +00:00
mergify[bot]
8c2c90f77a
feat: provision to add items in Stock Reservation dialog (backport #38558 ) ( #38920 )
...
* feat: provision to update items in Stock Reservation dialog
(cherry picked from commit 9471d8fff9 )
* fix(ux): show row index and field label while selecting the Sales Order Item
(cherry picked from commit 00261094c8 )
* feat: provision to add items in Stock Reservation dialog
(cherry picked from commit 8d5045ef4c )
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com >
2023-12-22 15:50:07 +05:30
ruthra kumar
ef9e8406eb
refactor: ignore disabled account while selecting Income Accounts
...
(cherry picked from commit 6e3e094c95 )
2023-11-09 04:45:59 +00:00
ruthra kumar
662ccd467c
fix: allocation logic on 'Get Outstanding Invoices' btn in PE
...
1. fixed broken `payment_term` filter in Payment References section
2. Throw error if user fails to select 'Payment Term' for an invoice
with 'Payment Term based allocation' enabled.
2023-07-23 11:37:27 +05:30
mergify[bot]
b4db5e9561
fix: validate docs in closed accounting period on save ( #36157 )
...
fix: validate docs in closed accounting period on save (#36157 )
(cherry picked from commit 5985e02574 )
Co-authored-by: Anand Baburajan <anandbaburajan@gmail.com >
2023-07-18 17:40:49 +05:30
Rohit Waghchaure
acd12c5830
fix: get_query for batch number and incorrect batch qty
2023-06-04 16:09:01 +05:30
HarryPaulo
e12e3bb012
fix: allow search leads by doctype search fields
...
* fix: allow search leads by doctype search fields
* fix: allow search leads by doctype search fields, linters fix
2023-05-14 08:08:47 +05:30
Ankush Menat
6de71eb158
fix: pass reference_doctype in link queries ( #35038 )
2023-04-25 18:33:31 +05:30
Rohit Waghchaure
b0fc568c80
fix: not able to select customer / supplier
2022-11-03 11:24:58 +05:30
Rohit Waghchaure
5f84993bae
test: added test case to validate seachfields for customer, supplier
2022-10-24 16:10:47 +05:30
Rohit Waghchaure
46d148defd
fix: searchfield not working for cuctsomer, supplier as per customize form
2022-10-24 15:48:34 +05:30