ljain112
f00a63b69d
perf: optimize validate_qty method to eliminate N+1 query problem
2025-10-07 12:46:30 +05:30
Lakshit Jain
3c70cbbaf8
feat: dynamic due date in payment terms when fetched from order ( #48864 )
...
* fix: dynamic due date when payment terms are fetched from order
* fix(test): use change_settings decorator for settings enable and disable
* fix(test): compare schedule for due_date dynamically
* fix: save conditions for due date at invoice level
* fix: make fields read only and on change of date unset the date condition fields
* fix: remove fetch_form
* fix: correct field assingment
* fix: revert unwanted changes
* refactor: streamline payment term field assignments and enhance discount date handling
* refactor: remove payment_term from fields_to_copy and optimize currency handling in transaction callback
* refactor: ensure default values for payment schedule and discount validity fields
2025-10-07 12:27:23 +05:30
Rohit Waghchaure
05f2b43344
feat: track purchases in accounting
2025-10-06 16:23:45 +05:30
Diptanil Saha
a5a3f52c64
Merge pull request #49816 from HarryPaulo/fix-decimal-break-dirty
...
fix: dirty on decimal values for field discount amount
2025-10-06 15:23:10 +05:30
ruthra kumar
5fe8692a8d
Merge pull request #49852 from fawaaaz111/patch-4
...
fix: SQL operator precedence in Project query customer filter
2025-10-06 13:04:10 +05:30
Nabin Hait
dcbcc596f2
fix: Set paid amount automatically only if return entry validated and has negative grand total ( #49829 )
2025-10-06 11:27:55 +05:30
Fawaz Alhafiz
0ec30a1cea
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
2025-10-02 14:24:51 +03:00
HarryPaulo
0e8f8677b8
fix: decimal break with dirty
2025-09-30 15:11:19 +00:00
HarryPaulo
3ffd50c772
fix: decimal break for discount amount
2025-09-30 15:03:59 +00:00
Kavin
fed8236919
fix: don't recalculate stock_qty with conversion_factor
2025-09-29 22:15:52 +05:30
ruthra kumar
073f88892e
Merge pull request #49590 from ruthra-kumar/make_checkboxes_opt_out
...
refactor: make checkboxes opt out
2025-09-29 16:56:27 +05:30
Rohit Waghchaure
6e597b9c42
feat: service expense account in the subcontracting receipt
2025-09-26 19:45:17 +05:30
Rohit Waghchaure
23f9d4c600
fix: auto batch not set for raw materials in subcontracting receipt
2025-09-26 09:23:49 +05:30
Rohit Waghchaure
99b7a9d15c
refactor: posting datetime for SABB
2025-09-24 23:15:55 +05:30
ruthra kumar
d3d03e8d83
refactor: rename checkbox for budget controller
2025-09-24 16:24:01 +05:30
Rohit Waghchaure
1a262483a4
fix: batch qty calculation performance issue
2025-09-07 16:24:00 +05:30
Rohit Waghchaure
4cac80a968
fix: sre status and delivered qty
2025-08-25 21:00:08 +05:30
Kavin
67e57018bc
Merge pull request #49183 from aerele/fix/mr-status-from-wo
...
Fix/mr status from wo
2025-08-20 15:12:18 +05:30
ruthra kumar
4ec2e16b98
Merge pull request #49192 from diptanilsaha/sql_qb
...
fix: improve queries with query builder and input sanitization
2025-08-19 10:30:13 +05:30
Rohit Waghchaure
bbc772abe7
fix: additional cost not consider in valuation rate for Stock Entry transfer
2025-08-17 10:34:33 +05:30
diptanilsaha
1db135262d
fix: use query builder instead of raw SQL in get_blanket_orders
2025-08-16 23:07:12 +05:30
diptanilsaha
6320f7290f
fix: formatted string for disabled filter in get_income_account
2025-08-16 23:07:11 +05:30
Mihir Kandoi
dbaa44688e
fix: modify all remaining SRE queries to consider new Closed status
2025-08-11 10:21:16 +05:30
mithili
7c8dd86a35
fix: add condition to fetch active accounts
2025-08-07 11:10:43 +05:30
mithili
c3111db6e2
fix(purchase invoice): filter only enabled account
2025-08-07 11:10:42 +05:30
Logesh Periyasamy
a8d17b7590
Merge pull request #48761 from aerele/exchange-gain-or-loss-on-repost
...
fix: prevent gain or loss entry cancellation upon reposting
2025-08-05 20:55:44 +05:30
Rohit Waghchaure
af7dc363e1
perf: process_gl_map causing performance issues in the reposting
...
(cherry picked from commit a96fa55704 )
# Conflicts:
# erpnext/stock/doctype/stock_entry/stock_entry.py
2025-08-03 09:46:15 +00:00
Lakshit Jain
e70caedddc
fix: multiple fixes for advance payment accounting
2025-07-31 20:17:14 +05:30
ruthra kumar
d4ad4a2f6e
Merge pull request #48684 from cogk/fix-add-title-to-payment-schedule-error-message
...
fix: Add title to payment schedule error message
2025-07-31 10:28:28 +05:30
Mihir Kandoi
15e354f76e
fix: over billed purchase receipt status
2025-07-29 11:15:14 +05:30
Rohit Waghchaure
b7039cc506
fix: valuation for rejected materials
2025-07-21 19:53:04 +05:30
Corentin Forler
205037fd6b
fix: Add title to payment schedule error message
2025-07-18 14:07:11 +02:00
rohitwaghchaure
cc2ca58721
Merge pull request #48655 from rohitwaghchaure/fixed-support-44001
...
fix: precision issue for Sales Incoming Rate
2025-07-17 15:34:31 +05:30
Rohit Waghchaure
7b99275ceb
fix: precision issue for Sales Incoming Rate
2025-07-17 15:10:06 +05:30
Rohit Waghchaure
bb7ddd11f1
fix: added serial no condition
2025-07-15 17:27:00 +05:30
ruthra kumar
e725780c6d
Merge pull request #48535 from ljain112/fix-dda
...
fix: handle cases where distributed discount amount is not set
2025-07-15 15:07:06 +05:30
rohitwaghchaure
403220c69a
Merge pull request #48595 from rohitwaghchaure/fixed-support-43674
...
fix: system was allowing credit notes with serial numbers for any customer
2025-07-15 14:56:58 +05:30
rohitwaghchaure
6150106dee
Merge pull request #48588 from mihir-kandoi/st43481
...
perf: optimize code for subcontracting
2025-07-15 14:14:24 +05:30
Rohit Waghchaure
e073075834
fix: system was allowing credit notes with serial numbers for any customer
2025-07-15 14:00:04 +05:30
Mihir Kandoi
bc6f69ad54
perf: optimize code for subcontracting
2025-07-15 11:55:03 +05:30
ljain112
816b84be02
fix: handle cases where distributed discount amount is not set
2025-07-14 14:56:12 +05:30
Thomas antony
de56faf862
chore: add missing key value
2025-07-12 10:18:34 +05:30
Thomas antony
89233d2b87
Merge branch 'frappe:develop' into employee_query
2025-07-12 10:04:35 +05:30
Thomas antony
75a00928b5
chore: included value in "key" for search condition
2025-07-12 09:48:08 +05:30
Mihir Kandoi
51751a7a05
fix: no attribute error in old subcontracting flow
2025-07-10 22:46:56 +05:30
Prateek Karamchandani
5f1ca4113d
feat: Ledger Preview for Stock Entry
2025-07-08 16:46:44 +05:30
rohitwaghchaure
b7bf2fad84
Merge pull request #48378 from aerele/refactor-quality-inspection
...
fix: update item reference in quality inspection
2025-07-08 16:01:38 +05:30
rohitwaghchaure
161e336d97
Merge pull request #48444 from mihir-kandoi/st42689
...
refactor: remove do_reposting_for_each_stock_transaction feature
2025-07-08 12:31:06 +05:30
Diptanil Saha
88255d3d3d
Merge pull request #48403 from aerele/validate_selling_price
...
fix: add selling price validation on update item
2025-07-08 12:14:06 +05:30
ruthra kumar
1cd2266da1
Merge pull request #48326 from ljain112/cost-center-advance-pe
...
fix: cost center for payment entry against advance payment doctypes in accounts payable/rece
2025-07-08 12:05:25 +05:30