Mihir Kandoi
91c92b5e20
refactor: parse native JSON request args in buying/doctype/request_for_quotation/mapper.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
b3c64107df
refactor: parse native JSON request args in buying/doctype/purchase_order/purchase_order.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
7ec052a084
refactor: parse native JSON request args in buying/doctype/purchase_order/mapper.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
5fa1599639
refactor: parse native JSON request args in assets/doctype/asset_capitalization/asset_capitalization.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
f1499b210f
refactor: parse native JSON request args in assets/doctype/asset/mapper.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
97f128791c
refactor: parse native JSON request args in assets/doctype/asset/asset.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
0e862d61d1
refactor: parse native JSON request args in accounts/services/child_item_update.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
fe8be87200
refactor: parse native JSON request args in accounts/doctype/unreconcile_payment/unreconcile_payment.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
4fc952badf
refactor: parse native JSON request args in accounts/doctype/purchase_invoice/mapper.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
668ca62ea5
refactor: parse native JSON request args in accounts/doctype/process_payment_reconciliation/process_payment_reconciliation.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
ffce7aff55
refactor: parse native JSON request args in accounts/doctype/pricing_rule/utils.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
2bc943c7e2
refactor: parse native JSON request args in accounts/doctype/pricing_rule/pricing_rule.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
2985a8b263
refactor: parse native JSON request args in accounts/doctype/pos_invoice/pos_invoice.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
3b25c2b7c2
refactor: parse native JSON request args in accounts/doctype/payment_request/payment_request.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
28770e3988
refactor: parse native JSON request args in accounts/doctype/payment_entry/payment_entry.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
ecbf8632aa
refactor: parse native JSON request args in accounts/doctype/invoice_discounting/invoice_discounting.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
348e3ac4ae
fix: handle native JSON request args in financial report template
...
Replace json.loads(object_hook=...) with frappe.parse_json and wrap each
row in frappe._dict, fixing attribute access when args arrive as native
JSON (list of dicts) instead of a JSON string.
2026-06-24 20:37:31 +05:30
Mihir Kandoi
e37c7e9b32
refactor: parse native JSON request args in accounts/doctype/dunning/dunning.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:30 +05:30
Mihir Kandoi
475cd83861
refactor: parse native JSON request args in accounts/doctype/bank_transaction/bank_transaction_upload.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:30 +05:30
Mihir Kandoi
9d8f6d4ed9
refactor: parse native JSON request args in accounts/doctype/bank_statement_import_log/bank_statement_import_log.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:30 +05:30
Mihir Kandoi
2f0367807f
refactor: parse native JSON request args in accounts/doctype/bank_statement_import/bank_statement_import.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:30 +05:30
Mihir Kandoi
ec496c42b5
refactor: parse native JSON request args in accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:30 +05:30
Mihir Kandoi
a847d15748
refactor: parse native JSON request args in accounts/doctype/accounting_dimension/accounting_dimension.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:30 +05:30
Mihir Kandoi
a869b748f1
refactor: parse native JSON request args in accounts/doctype/account/chart_of_accounts/chart_of_accounts.py
...
Use frappe.parse_json instead of json.loads so the whitelisted endpoints
accept native JSON types (list/dict/bool) in addition to JSON strings.
2026-06-24 20:37:30 +05:30
Ankush Menat
59fe10bfbd
perf: make CLI faster ( #56437 )
2026-06-24 13:48:28 +00:00
Ejaaz Khan
7cb03a427a
fix(letter-head): guard company lookups when doc has no company field
2026-06-24 18:23:21 +05:30
Raghav Ruia
2bf9fcb817
feat: confirmation dialog when enabling negative stock on Item
...
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-24 16:06:30 +05:30
rohitwaghchaure
9b0e1b61f2
fix: precision issue causing COGS in inter transfer PR ( #56420 )
2026-06-24 09:50:22 +00:00
Mihir Kandoi
67d314f32f
Merge pull request #56421 from mihir-kandoi/gh56355
...
fix: exclude virtual child doctypes from deletion in transaction dele…
2026-06-24 15:17:35 +05:30
Mihir Kandoi
8bd8b28207
fix: exclude virtual child doctypes from deletion in transaction deletion record
2026-06-24 14:57:35 +05:30
ruthra kumar
314aa303e5
Merge pull request #56417 from ruthra-kumar/configurable_timeout_on_process_pcv
...
refactor: configurable timeout on process pcv
2026-06-24 13:27:43 +05:30
ruthra kumar
3da7eefebb
refactor: patch, display depends on and json changes
2026-06-24 13:03:07 +05:30
ruthra kumar
13b6c4a165
feat(accounts): add configurable job timeout for Process Period Closing Voucher
...
Adds a `pcv_job_timeout` Int field (default 3600s) to Accounts Settings
so admins can tune the enqueue timeout for PCV background jobs without
a code change. All three `frappe.enqueue` calls in
`process_period_closing_voucher.py` now read this value at runtime.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-24 12:57:31 +05:30
Mihir Kandoi
eba851b4b5
Merge pull request #56408 from mihir-kandoi/pg-ci-fanout
...
ci(postgres): scheduled fan-out Postgres CI (daily + `postgres` label gate)
2026-06-24 12:57:13 +05:30
Mihir Kandoi
eae05f1907
ci: wait_for_redis fail-fast (greptile)
2026-06-24 12:37:48 +05:30
Mihir Kandoi
b919a7abff
ci: wait_for_redis fail-fast (greptile)
2026-06-24 12:37:46 +05:30
Mihir Kandoi
7cd1cca2ed
ci(mariadb): address greptile review
2026-06-24 12:26:46 +05:30
Mihir Kandoi
a0cc645725
ci(postgres): address greptile review
2026-06-24 12:26:44 +05:30
Nabin Hait
168c24f8f0
test: add coverage for Fixed Asset Register report
...
The Fixed Asset Register report had no test file. Add tests for asset value
(net purchase amount, reduced by opening accumulated depreciation), the
status (In Location) and asset category filters, and group-by-asset-category
value totals.
2026-06-24 12:23:04 +05:30
Mihir Kandoi
882f83ffaf
Merge pull request #56411 from mihir-kandoi/patch-cache-v14
...
ci(patch): cache the v14 baseline backup instead of re-downloading every run
2026-06-24 12:19:36 +05:30
Mihir Kandoi
b74abbb9c3
ci(mariadb): use org-owned ghcr.io/frappe image
2026-06-24 12:08:03 +05:30
Mihir Kandoi
afca370fa8
ci(patch): cache the v14 baseline backup instead of re-downloading it every run
2026-06-24 11:59:25 +05:30
Mihir Kandoi
69cb1121ed
ci(mariadb): drop '(ARC)' from test job name
2026-06-24 11:56:51 +05:30
Mihir Kandoi
62c401badc
ci(mariadb): revert to 4 shards + cleanup
2026-06-24 11:54:50 +05:30
Mihir Kandoi
c1006e79a4
ci(postgres): cleanup — drop baseline-restore code, debug step, stale restore vars
2026-06-24 11:54:48 +05:30
Mihir Kandoi
3b8674a4a9
ci(mariadb): self-hosted fan-out CI (ARC runners, datadir bake, 8 shards)
2026-06-24 11:19:58 +05:30
Mihir Kandoi
8fd0813614
ci(postgres): scheduled fan-out Postgres CI (daily 3am IST + 'postgres' label gate)
2026-06-24 10:39:44 +05:30
Mihir Kandoi
ead694c9cb
fix(manufacturing): case-sensitive variant BOM lookup on Postgres ( #56407 )
...
Reapply "fix(manufacturing): case-sensitive variant BOM lookup on Postgres"
This reverts commit 1f86b57f94 .
2026-06-24 04:51:29 +00:00
rohitwaghchaure
21541e3ad3
fix: job card timer issue ( #56405 )
2026-06-24 09:15:54 +05:30
Mihir Kandoi
9d28bea453
Merge pull request #56394 from mihir-kandoi/pg-revert-3-commits
...
Revert 3 Postgres-parity commits (bom variant lookup, traceability div-by-zero, POS NULL ordering)
2026-06-24 07:27:12 +05:30