ruthra kumar
88b7a38be4
refactor: synced reports should be enabled on sites based on requirements
...
(cherry picked from commit 963bbc8729 )
2026-07-13 12:16:28 +00:00
ruthra kumar
21ddb00e20
feat(profit-and-loss): implement execute_synced_report with full parity to normal report
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 6a93baacf0 )
2026-07-13 12:16:28 +00:00
ruthra kumar
636bcbedc0
feat(balance-sheet): implement execute_synced_report with full parity to normal report
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit bb19540816 )
2026-07-13 12:16:27 +00:00
ruthra kumar
19ec095ff8
feat(general-ledger): implement execute_synced_report with full parity to normal report
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 6b4895bcc9 )
2026-07-13 12:16:27 +00:00
ruthra kumar
2f6ef7b2ec
refactor: DB agnostic method names
...
(cherry picked from commit f40cd41801 )
2026-07-13 12:16:26 +00:00
ruthra kumar
d41b9f11ff
refactor: maintain sync dependency in report master
...
(cherry picked from commit 5c536b8ad1 )
2026-07-13 12:16:25 +00:00
ruthra kumar
98a65f7529
refactor(trial-balance): execute_duckdb only reads GL Entry from duckdb
...
Replaces the previous over-engineered stub with 7 short functions.
Account data, Account Closing Balance, and all metadata come from
frappe.db as normal; only tabGL Entry is read from the duckdb_conn.
Reuses get_opening_balance() for Account Closing Balance unchanged,
reuses all downstream compute helpers (calculate_values, prepare_data,
etc.) unchanged.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 55862f98f4 )
2026-07-13 12:16:24 +00:00
ruthra kumar
228418b05f
feat(trial-balance): implement execute_duckdb with full parity to normal report
...
Replaces the placeholder stub with 8 focused functions that mirror the
normal execute() flow using parameterized DuckDB SQL queries: account
fetch, period GL entries, opening balances (with Period Closing Voucher
path), and all filters (cost center, project, finance book, accounting
dimensions). Reuses existing pure-Python processing functions unchanged.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit b1c8e2cb5c )
2026-07-13 12:16:24 +00:00
ruthra kumar
08e267271e
refactor: reports on duckdb
...
(cherry picked from commit adb768505a )
2026-07-13 12:16:23 +00:00
mergify[bot]
bf1b7f2bea
feat: weekly auto-repost of incorrect stock valuation entries (backport #56637 ) ( #56700 )
...
* feat: weekly auto-repost of incorrect stock valuation entries (#56637 )
(cherry picked from commit adae0bd732 )
# Conflicts:
# erpnext/stock/report/stock_and_account_value_comparison/stock_and_account_value_comparison.py
* chore: fix conflicts
Removed merge conflict markers and cleaned up code.
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2026-07-13 10:11:12 +00:00
ruthra kumar
6bd903e45a
Merge pull request #57085 from frappe/mergify/bp/version-16-hotfix/pr-56817
...
feat: restructure Philippines chart of accounts with amortization sup… (backport #56817 )
2026-07-13 13:08:42 +05:30
ruthra kumar
5281d538ce
Merge pull request #56817 from Soham-ambibuzz/philipinnes_localization_coa_v3
...
feat: restructure Philippines chart of accounts with amortization sup…
(cherry picked from commit 33abc53d7a )
2026-07-13 07:28:54 +00:00
ruthra kumar
5261566b41
Merge pull request #57081 from frappe/mergify/bp/version-16-hotfix/pr-56902
...
fix(budget-variance): correct month shift in comparison chart (backport #56902 )
2026-07-13 12:55:57 +05:30
ruthra kumar
5bbb71ef76
Merge pull request #57083 from frappe/mergify/bp/version-16-hotfix/pr-56628
...
fix(journal-entry): fetch outstanding on foreign currency (backport #56628 )
2026-07-13 12:50:49 +05:30
Ejaaz Khan
d453781374
Merge pull request #57080 from frappe/mergify/bp/version-16-hotfix/pr-57071
...
fix: guard company logo lookup in default letterheads (backport #57071 )
2026-07-13 12:40:06 +05:30
SowmyaArunachalam
ec782ee20d
fix(journal-entry): fetch outstanding on foreign currency
...
(cherry picked from commit 07f641c48c )
2026-07-13 07:07:59 +00:00
Mohd Haris
703e9a728c
fix(budget-variance): correct month shift in comparison chart
...
The Budget Variance Report chart plotted the actual expense one month
earlier than the table (e.g. July actual shown under June).
build_comparison_chart_data() collected budget columns using
fieldname.startswith("budget_"). The dimension column "budget_against"
also matches that prefix, so it was added as an extra leading entry to
budget_fields and labels, while actual_fields had no such leading entry.
This shifted every actual value one position ahead of its label.
Skip the "budget_against" dimension column so budget/actual values and
labels stay aligned per month.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
(cherry picked from commit 48418eadb0 )
2026-07-13 07:02:18 +00:00
Ejaaz Khan
0d80fef3bf
fix: set explicit table and logo widths in grey letterhead
...
(cherry picked from commit e39ca72997 )
2026-07-13 06:29:01 +00:00
Ejaaz Khan
7b543142a2
fix: guard company logo lookup in default letterheads
...
(cherry picked from commit 23c09fe0f3 )
2026-07-13 06:29:01 +00:00
Mihir Kandoi
90768c42d8
Merge pull request #57075 from frappe/mergify/bp/version-16-hotfix/pr-57073
2026-07-13 10:46:36 +05:30
ruthra kumar
fd3bebee02
Merge pull request #57023 from frappe/mergify/bp/version-16-hotfix/pr-56801
...
refactor: reversing exchange rate revaluation journals (backport #56801 )
2026-07-13 10:13:57 +05:30
ruthra kumar
431ae6bc93
chore: resolve conflict
2026-07-13 10:02:18 +05:30
Mihir Kandoi
4aed77df0c
fix: make represents company field in purchase invoice ignore user permissions
...
(cherry picked from commit 6729a53fee )
2026-07-12 18:39:28 +00:00
MochaMind
9e95bfe472
chore: update POT file ( #57066 )
2026-07-12 20:25:28 +02:00
Mihir Kandoi
b6821c0ee5
Merge pull request #57044 from mihir-kandoi/fix-job-card-pick-list-transfer-v16
...
fix(stock): link job card in stock entry created from pick list (backport #57031 )
2026-07-12 17:51:50 +05:30
Mihir Kandoi
51d2077eed
fix(stock): propagate project from job card to stock entry
2026-07-12 17:31:22 +05:30
rohitwaghchaure
5642359c10
fix: enforce read permission on ledger preview endpoints ( #57039 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
Co-authored-by: diptanilsaha <diptanil@frappe.io >
2026-07-12 09:53:17 +00:00
mergify[bot]
4136ca55a7
fix(accounts): retain invoice table on opening invoice creation error (backport #56353 ) ( #57058 )
...
* fix(accounts): retain invoice table on opening invoice creation error (#56353 )
Co-authored-by: diptanilsaha <diptanil@frappe.io >
(cherry picked from commit ad17efe243 )
# Conflicts:
# erpnext/accounts/doctype/opening_invoice_creation_tool/opening_invoice_creation_tool.py
* chore: resolve conflicts
---------
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com >
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-07-12 07:45:18 +00:00
MochaMind
2e892be1c1
chore: sync translations to version-16-hotfix ( #56911 )
2026-07-12 13:12:57 +05:30
mergify[bot]
edfbc71135
fix: remove incorrect Payable account_type from Customer Deposits in Philippines CoA (backport #57018 ) ( #57061 )
...
Co-authored-by: Raghav Ruia <168326921+raghavisruia@users.noreply.github.com >
2026-07-11 17:52:48 +00:00
Mohammad Umair Sayed
62fed1d562
feat: explain FIFO allocation of fixed Discount Amount on Sales Order ( #56436 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
Co-authored-by: Diptanil Saha <diptanil@frappe.io >
2026-07-11 17:41:20 +00:00
mergify[bot]
e2fd061b3d
fix: update events order by date asc (backport #56963 ) ( #57056 )
...
Co-authored-by: Pandiyan P <pandiyanpalani37@gmail.com >
Co-authored-by: nareshkannasln <nareshkannashanmugam@gmail.com >
2026-07-11 18:45:35 +05:30
mergify[bot]
835e32cec7
fix(banking): allow negative balance in bank statement import (backport #56959 ) ( #57054 )
...
fix(banking): allow negative balance in bank statement import (#56959 )
(cherry picked from commit d449ad3b3f )
Co-authored-by: Nikhil Kothari <nik.kothari22@live.com >
2026-07-11 18:18:17 +05:30
Diptanil Saha
04d982fa0d
Merge branch 'version-16' into version-16-hotfix
2026-07-11 18:17:59 +05:30
mergify[bot]
e6a6c13355
fix(financial_statement): render columnar financial statements instea… (backport #56921 ) ( #57053 )
...
Co-authored-by: Vishnu Priya Baskaran <145791817+ervishnucs@users.noreply.github.com >
2026-07-11 10:41:49 +00:00
mergify[bot]
24f0989ac1
fix: correct filter handling in Sales Person-wise Transaction Summary + tests (backport #56783 ) ( #56908 )
...
Co-authored-by: Nabin Hait <nabinhait@gmail.com >
2026-07-11 15:28:23 +05:30
mergify[bot]
240fb2c4b8
fix: map stock_qty in apply_price_list_on_item (backport #56869 ) ( #57052 )
...
Co-authored-by: Vishnu Priya Baskaran <145791817+ervishnucs@users.noreply.github.com >
2026-07-11 15:26:36 +05:30
Vishnu Priya Baskaran
8eb92b8b18
fix(payment reconciliation): honour user permissions on accounting di… ( #56560 )
2026-07-11 15:04:44 +05:30
Mihir Kandoi
755b9ccbc3
fix(stock): link job card in stock entry created from pick list (backport #57031 )
...
A Stock Entry created from a Pick List against a job card's Material
Request never set job_card, job_card_item, fg_completed_qty or the
'Material Transfer for Manufacture' purpose, so the Job Card did not
recognize the transfer and blocked submission. The WIP warehouse was
also not populated.
Route such pick lists through a job-card-aware branch mirroring the
direct Material Request -> Stock Entry mapper, and set the purpose to
'Material Transfer for Manufacture' in the work order branch so the
WO -> MR -> Pick List flow updates the work order too.
2026-07-10 17:46:57 +05:30
mergify[bot]
67c85ef0af
fix: fetch payment entry reference amounts from invoice (backport #56928 ) ( #57042 )
...
Co-authored-by: Vishnu Priya Baskaran <145791817+ervishnucs@users.noreply.github.com >
2026-07-10 11:43:01 +00:00
mergify[bot]
bdba4c8091
fix: display outstanding amount using company default currency (backport #56785 ) ( #57009 )
...
Co-authored-by: Vishnu Priya Baskaran <145791817+ervishnucs@users.noreply.github.com >
Co-authored-by: S Sakthivel Murugan <s.sakthivelmurugan2003@gmail.com >
2026-07-10 15:36:34 +05:30
Mihir Kandoi
c56eb2635a
Merge pull request #57024 from aerele/backport-56923-version-16-hotfix
...
perf: avoid per-row Warehouse doc fetches in auto reorder job
2026-07-10 12:43:56 +05:30
Mihir Kandoi
f96166af5b
Merge pull request #57028 from aerele/backport-56913-version-16-hotfix
...
fix: make trend report based-on and group-by column labels translatable
2026-07-10 12:43:47 +05:30
pandiyan
b8199d88b6
fix: make trend report based-on and group-by column labels translatable
...
based_wise_columns_query() and group_wise_column() built column labels as
raw strings, so headers like Item, Item Name, Customer, Supplier, and
Territory never went through the _() translation function and stayed in
English regardless of the user's language, while period and total columns
translated fine. Build these as column dicts with an explicit _()-wrapped
label instead, so they're translated the same way as the rest of the report.
(cherry picked from commit 015fa68fc0 )
2026-07-10 12:16:45 +05:30
mergify[bot]
20255a8a7f
fix: partial delivery note against pick list (backport #56985 ) ( #57006 )
...
* fix: partial delivery note against pick list (#56985 )
(cherry picked from commit 53af4d53ef )
# Conflicts:
# erpnext/stock/doctype/pick_list/test_pick_list.py
* chore: fix conflicts
Refactor tests for pick list to improve clarity and organization.
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com >
2026-07-10 06:38:02 +00:00
ruthra kumar
4711a28dd0
refactor(test): for reverse journals as well
...
(cherry picked from commit 65775e59a1 )
# Conflicts:
# erpnext/accounts/doctype/exchange_rate_revaluation/test_exchange_rate_revaluation.py
2026-07-10 06:20:54 +00:00
ruthra kumar
63e5117182
refactor: handle reverse ERR journals in AR / AP report
...
(cherry picked from commit 6838242063 )
2026-07-10 06:20:53 +00:00
ruthra kumar
051757760f
refactor: reversal capability on exchange rate revaluation
...
(cherry picked from commit a0b14c0607 )
# Conflicts:
# erpnext/accounts/doctype/exchange_rate_revaluation/exchange_rate_revaluation.py
2026-07-10 06:20:53 +00:00
ruthra kumar
277c651a9f
refactor: add payment ledger to ignore link
...
(cherry picked from commit 6a4c5b6062 )
2026-07-10 06:20:53 +00:00
pandiyan
39b5e12305
perf: avoid per-row Warehouse doc fetches in auto reorder job
...
get_item_warehouse_projected_qty() called frappe.get_doc("Warehouse", ...)
inside the per-bin loop to walk up the warehouse hierarchy, re-fetching the
same parent warehouses over and over on sites with nested warehouses. Preload
the warehouse-to-parent mapping with a single query and walk it in-memory
instead, cutting the DB round-trips from O(bins * hierarchy depth) to one
query.
(cherry picked from commit 6beb3d2509 )
2026-07-10 11:48:04 +05:30