Shllokkk
b9f5a77fa7
fix: remove dead bundle helper call from purchase receipt print format
2026-06-26 15:00:54 +05:30
Nabin Hait
dca5d2ca3a
Merge pull request #56523 from frappe/chore/test-stock-ledger-invariant-check
...
test: Stock Ledger Invariant Check report coverage
2026-06-26 14:38:21 +05:30
Nabin Hait
dc59ee8034
Merge pull request #56533 from frappe/chore/test-item-variant-details
...
test: Item Variant Details report coverage
2026-06-26 14:36:58 +05:30
Nabin Hait
76da65ab4c
Merge pull request #56531 from frappe/chore/test-item-price-stock
...
test: Item Price Stock report coverage
2026-06-26 14:36:25 +05:30
Nabin Hait
bde23492fb
Merge pull request #56528 from frappe/chore/test-serial-no-ledger
...
test: Serial No Ledger report coverage
2026-06-26 14:34:51 +05:30
Nabin Hait
d47bc64576
Merge pull request #56527 from frappe/chore/test-serial-and-batch-summary
...
test: Serial and Batch Summary report coverage
2026-06-26 14:33:55 +05:30
Nabin Hait
4ac863d653
Merge pull request #56515 from frappe/chore/test-batch-wise-balance-history
...
test: Batch-Wise Balance History report coverage
2026-06-26 14:29:30 +05:30
Nabin Hait
5fe84305fc
Merge pull request #56503 from frappe/chore/trial-balance-for-party-test-coverage
...
test: Trial Balance for Party report coverage
2026-06-26 14:28:04 +05:30
Mihir Kandoi
a972ef313a
Merge pull request #56127 from harisansari008/fix/qip-allow-rename-develop
...
fix: allow rename for Quality Inspection Parameter
2026-06-26 13:43:40 +05:30
Nabin Hait
245925815e
test: reuse BootStrapTestData master data to reduce runtime
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:36:26 +05:30
Nabin Hait
7f5f2ccfa3
test: reuse BootStrapTestData master data to reduce runtime
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:28:05 +05:30
Nabin Hait
dc4f5ce0ab
test: reuse BootStrapTestData master data to reduce runtime
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:27:56 +05:30
Nabin Hait
182ef8a8e8
test: reuse BootStrapTestData master data to reduce runtime
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:27:48 +05:30
Nabin Hait
67ac8f64e8
test: reuse BootStrapTestData master data to reduce runtime
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:27:14 +05:30
Nabin Hait
9158d5f893
test: reuse BootStrapTestData master data to reduce runtime
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:27:04 +05:30
Nabin Hait
293ca4e96f
test: reuse BootStrapTestData master data to reduce runtime
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:26:08 +05:30
Mihir Kandoi
05e44ca63a
Merge pull request #56546 from mihir-kandoi/pg-rawsql-to-orm
...
refactor: convert convertible raw frappe.db.sql to ORM
2026-06-26 12:21:25 +05:30
Mihir Kandoi
0583349ae4
test: convert aggregate/pluck/positional raw SQL to ORM
...
A deeper re-audit (with an adversarial skeptic) of the queries left raw
in the prior commit found more that have exact ORM equivalents:
- scalar SUM/MAX -> frappe.qb + Sum/Max .run()[0][0]
- SUM ... GROUP BY -> frappe.qb .groupby().select(Sum().as_()) run(as_dict)
- name IN (values) -> get_all(filters={'f': ['in', ...]})
- sql_list(select col) -> get_all(pluck='col')
- bulk UPDATE ... = NULL/value -> frappe.db.set_value(filters, field, val)
- positional as_list reads -> get_all(..., as_list=True) (+ sorted())
Note: get_value(dt, filters, 'sum(x)') and get_all(fields=['sum(x)'])
are rejected by frappe ('SQL functions are not allowed as strings'), so
aggregates go through frappe.qb. get_all(as_list=True) returns a tuple
(not a list), so consumers that mutate use sorted().
All affected test modules pass on MariaDB.
2026-06-26 11:34:31 +05:30
Mihir Kandoi
0776f7f7fa
test: convert trivially-equivalent raw SQL to ORM helpers
...
Convert test-only raw frappe.db.sql calls that have an exact ORM
equivalent: full-table/filtered deletes -> frappe.db.delete, count ->
frappe.db.count, row-existence assertions -> frappe.db.exists,
single-row scalar fetches -> frappe.db.get_value, and simple
equality/range-filter selects -> frappe.get_all. No behaviour change.
Raw SQL that genuinely needs it is left as-is (dynamic identifiers,
aggregates/group-by, positional as_list consumers, DB-catalog
introspection).
2026-06-26 10:44:17 +05:30
Mihir Kandoi
0e54e532ff
refactor(accounts): use frappe.get_all for trial balance account fetch
...
The Account metadata fetch in the DuckDB trial-balance path is a plain
static SELECT (fixed columns, single company filter, order by lft).
Convert it to frappe.get_all. Verified on Postgres: identical 98 rows,
same order and same dict payload as the raw query.
2026-06-26 10:44:05 +05:30
Nabin Hait
4a6b189221
test: add coverage for Item Variant Details report
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 10:25:55 +05:30
Nabin Hait
08ce18fe58
test: add coverage for Item Price Stock report
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 10:25:40 +05:30
Nabin Hait
7661e5ed96
test: add coverage for Serial No Ledger report
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 10:25:18 +05:30
Nabin Hait
dddaa80f99
test: add coverage for Serial and Batch Summary report
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 10:25:11 +05:30
Nabin Hait
09be6fed9a
test: add coverage for Stock Ledger Invariant Check report
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 10:19:59 +05:30
Nabin Hait
5790bcf99d
test: add coverage for Batch-Wise Balance History report
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 10:19:04 +05:30
Mihir Kandoi
ea9bf932d8
Merge pull request #56510 from frappe/revert-56497-serial-batch-bundle-print-none-fix
...
Revert "fix: handle missing serial and batch bundle in print format"
2026-06-26 10:18:43 +05:30
Mihir Kandoi
993a011005
Revert "fix: handle missing serial and batch bundle in print format"
2026-06-26 10:07:23 +05:30
Nabin Hait
d18177665b
test: add coverage for Trial Balance for Party report
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 09:11:45 +05:30
Nabin Hait
507bc0930e
Merge pull request #56412 from frappe/chore/fixed-asset-register-test-coverage
...
test: Fixed Asset Register report coverage
2026-06-25 22:13:39 +05:30
MochaMind
c3d2ebd734
fix: sync translations from crowdin ( #56396 )
2026-06-25 16:35:56 +02:00
Shllokkk
142d80d7de
Merge pull request #56497 from Shllokkk/serial-batch-bundle-print-none-fix
...
fix: handle missing serial and batch bundle in print format
2026-06-25 19:22:23 +05:30
Mihir Kandoi
c8f86099e2
Merge pull request #56479 from mihir-kandoi/messages/crm
...
chore: rewrite user-facing messages in crm module
2026-06-25 18:47:25 +05:30
Mihir Kandoi
ab1e949752
Merge pull request #56482 from mihir-kandoi/messages/erpnext_integrations
...
chore: rewrite user-facing messages in erpnext_integrations module
2026-06-25 18:43:52 +05:30
Mihir Kandoi
8ad90338a3
Merge pull request #56469 from mihir-kandoi/messages/controllers
...
chore: rewrite user-facing messages in controllers module
2026-06-25 18:38:23 +05:30
Mihir Kandoi
d2ff0913df
Merge pull request #56476 from mihir-kandoi/messages/projects
...
chore: rewrite user-facing messages in projects module
2026-06-25 18:35:00 +05:30
Mihir Kandoi
05dd44246f
Merge pull request #56475 from mihir-kandoi/messages/subcontracting
...
chore: rewrite user-facing messages in subcontracting module
2026-06-25 18:33:55 +05:30
Mihir Kandoi
6e22f4b063
Merge pull request #56498 from mihir-kandoi/messages/exchange-rate-server-grammar
...
chore: fix grammar in Exchange Rate Revaluation validation message
2026-06-25 18:28:11 +05:30
Mihir Kandoi
d737c39131
Merge pull request #56473 from mihir-kandoi/messages/selling
...
chore: rewrite user-facing messages in selling module
2026-06-25 18:24:13 +05:30
Nabin Hait
38385432f6
test: assert group-by totals on delta to avoid shared-category leak
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-25 18:22:58 +05:30
Nabin Hait
78fd06048f
style: apply ruff formatting
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-25 18:21:08 +05:30
Mihir Kandoi
1b68445313
Merge pull request #56480 from mihir-kandoi/messages/utilities
...
chore: rewrite user-facing messages in utilities module
2026-06-25 18:17:50 +05:30
Nabin Hait
3a3f56350f
Merge remote-tracking branch 'origin/develop' into chore/fixed-asset-register-test-coverage
...
# Conflicts:
# erpnext/assets/report/fixed_asset_register/test_fixed_asset_register.py
2026-06-25 18:10:53 +05:30
Mihir Kandoi
6d035274d7
Merge pull request #56478 from mihir-kandoi/messages/maintenance
...
chore: rewrite user-facing messages in maintenance module
2026-06-25 18:06:57 +05:30
Mihir Kandoi
df6b8cdd60
Merge pull request #56481 from mihir-kandoi/messages/support
...
chore: rewrite user-facing messages in support module
2026-06-25 18:04:34 +05:30
Mihir Kandoi
62f7374942
Merge pull request #56477 from mihir-kandoi/messages/regional
...
chore: rewrite user-facing messages in regional module
2026-06-25 18:00:07 +05:30
Mihir Kandoi
f571ba749f
Merge pull request #56468 from mihir-kandoi/messages/manufacturing
...
chore: rewrite user-facing messages in manufacturing module
2026-06-25 17:56:28 +05:30
Mihir Kandoi
f151b2abee
Merge pull request #56485 from mihir-kandoi/messages-js/public
...
chore: rewrite user-facing JS messages in public module
2026-06-25 17:56:19 +05:30
Mihir Kandoi
27a7ec82c2
Merge pull request #56471 from mihir-kandoi/messages/setup
...
chore: rewrite user-facing messages in setup module
2026-06-25 17:54:53 +05:30
Mihir Kandoi
c769bc24c9
Merge pull request #56495 from mihir-kandoi/messages-js/support
...
chore: rewrite user-facing JS messages in support module
2026-06-25 17:54:41 +05:30