Commit Graph

61144 Commits

Author SHA1 Message Date
Pandiyan P
b2bdeaa672 fix: validate shelf life for automatically created expiring batches (#58911)
Co-authored-by: Ajish18 <ajishiyappan1@gmail.com>
2026-09-09 07:07:03 +00:00
Pandiyan P
4c32acf300 fix: reset price list fallback when changing parties (#58893) 2026-09-09 12:26:05 +05:30
Khushi Rawat
e93ca84398 Merge pull request #58227 from aerele/fix/dunning-interest-lost-after-payment
fix: keep a dunning claimable until its interest is paid too
2026-09-09 10:47:07 +05:30
Pandiyan P
afd93cf867 fix(stock): guard inventory dimension lookup without reference document (#58889)
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
2026-09-09 07:42:40 +05:30
Vishnu Priya Baskaran
51fb261b6b fix: calculate holiday list totals for half days (#58792)
Co-authored-by: nareshkannasln <nareshkannashanmugam@gmail.com>
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
2026-09-09 07:38:23 +05:30
Pandiyan P
f8c2f3440b fix(accounts): reject disabled price lists in buying and selling (#58891) 2026-09-09 06:57:48 +05:30
Diptanil Saha
991cea5ae2 fix(accounts): add permission checks to Chart of Accounts Importer methods (#58892) 2026-09-09 01:14:27 +05:30
Diptanil Saha
11d2847d3e fix(support): bind issue split to its own timeline (#58890) 2026-09-09 00:26:39 +05:30
Krishna Pramod Shirsath
e0d6d797d7 fix(stock): preserve rates for unsaved mapped rows (#58852)
* fix(stock): preserve rates for unsaved mapped rows

* test(stock): cover mapped delivery note item rates
2026-09-08 18:45:02 +05:30
pandiyan
d5a9d158f9 fix: keep a dunning claimable until its interest is paid too
a dunning was resolved as soon as the invoiced sum was settled, because the
status was derived from the invoice outstanding alone. paying an invoice
without the interest and fee therefore closed the dunning and lost the
interest: a fresh dunning finds nothing overdue to charge it on.

the dunning amount is never a receivable, it only reaches the ledger as a
negative deduction on a payment entry made from the dunning. link that row
to the dunning so what has been collected is known, and resolve a dunning
only once the invoiced sum and the dunning amount are both paid. a dunning
resolved by hand keeps its status, so waiving the interest stays possible.

the deduction is a company currency field, so book and measure the dunning
amount through base_dunning_amount instead of the transaction currency one.

an interest-only payment leaves every invoice outstanding untouched, so
update the linked dunnings from the payment entry itself instead of relying
on the outstanding amount to change. such a payment also has to be built
from what is left to collect, not from the totals the dunning was raised
with, which are stale by then.
2026-09-08 17:49:36 +05:30
pandiyan
fa89552d10 test: dunning must stay unpaid when only the invoiced sum is paid
paying a dunned invoice without its interest and fee marks the dunning
resolved, and the interest can no longer be collected.
2026-09-08 17:48:15 +05:30
Krishna Pramod Shirsath
cee9f4949a fix: show cost center for unmatched payments in receivables (#58453) 2026-09-08 16:52:53 +05:30
Vishnu Priya Baskaran
218e7927ff fix: fetch accounts by company (#58523) 2026-09-08 16:47:46 +05:30
Pandiyan P
36a4dfe797 fix(accounts): reject same-account internal transfers (#58529) 2026-09-08 16:29:20 +05:30
Sudharsanan Ashok
e825bb2f74 fix(accounts): round journal entry totals to field precision (#58629) 2026-09-08 16:26:04 +05:30
Pandiyan P
f864333afa fix(stock): recalculate delivery note billing after return (#58869) 2026-09-08 10:51:55 +00:00
Krishna Pramod Shirsath
c412310eb5 fix: use account currency in Bank Reconciliation Statement print (#58692) 2026-09-08 16:14:09 +05:30
Sudharsanan Ashok
1728d1b0f5 fix(stock): distribute additional costs when incoming items have no value (#58842)
* fix(stock): distribute additional costs when incoming items have no value

when every incoming row has zero basic amount, for example a raw material
purchased at zero rate, distribute_additional_costs returned early and left
additional_cost at 0 on the finished item. the charges were never capitalised
into valuation and the balancing debit stayed in stock adjustment instead of
reaching stock in hand.

the gl composer had its own quantity fallback for the same case, but it divided
by the qty of every row rather than the incoming ones, so a manufacture entry
booked only a fraction of the cost to the expense account, and it apportioned
by qty while valuation apportions by stock qty, which split rows of differing
conversion factors two different ways.

both sides now take the rows, the basis and its total from a single
get_additional_cost_allocation, falling back to transfer_qty so valuation and gl
cannot disagree. the basis is unchanged whenever the incoming rows carry value.

* test(stock): cover additional cost distribution for zero valued items

adds qty based distribution cases for manufacture and material receipt, a
manufacture entry asserting the whole cost reaches its expense account, and a
conversion factor case asserting the gl split matches the valuation split.

updates test_total_basic_amount_zero, which asserted the cost landing in stock
adjustment rather than being capitalised.
2026-09-08 16:13:12 +05:30
Lakshit Jain
79fc039092 Merge pull request #58682 from ljain112/fix-tds-subcontracting
fix(subcontracting): add condition to exclude tax withholding accounts in purchase receipt mapping
2026-09-08 14:53:58 +05:30
Vishnu Priya Baskaran
467f54162f fix(gross-profit): include item_name in export (#58631) 2026-09-08 14:43:42 +05:30
Diptanil Saha
f60c349794 fix(buying): restrict linked material requests to permitted documents (#58855) 2026-09-08 14:23:03 +05:30
Pandiyan P
cadc0ca86d fix: persist rendered terms on transaction save (#58858) 2026-09-08 13:28:30 +05:30
Sudharsanan Ashok
2f572b1624 fix(stock): distribute additional costs when incoming items have no value (#58841) 2026-09-08 13:27:41 +05:30
Diptanil Saha
ed368a3e2a fix(accounts): enforce account field allow-list on financial report filters (#58790) 2026-09-08 11:30:26 +05:30
Mihir Kandoi
d64e45582a fix(manufacturing): prevent excess process loss from inflating plan quantities (#58847) 2026-09-08 04:22:02 +00:00
Mihir Kandoi
1615ecd25e fix(manufacturing): account for process loss in Production Plan Work Orders (#58799) 2026-09-08 09:17:38 +05:30
Mihir Kandoi
a83a9af9bc fix(stock): allow parent item groups in filters (#58839) 2026-09-08 09:16:23 +05:30
Nikhil Kothari
f2d72f973d fix(banking): Federal bank dark logo (#58844) 2026-09-07 20:41:47 +00:00
Mihir Kandoi
c613a7f7f0 fix(selling): subtract billed qty for zero-amount Sales Order rows (#58816) 2026-09-07 19:27:00 +05:30
Mihir Kandoi
5cea05b302 fix(manufacturing): share transfer stock across Production Plan rows (#58812)
* fix(manufacturing): share transfer stock across Production Plan rows

Fetch available stock once per item for the total demand and consume it across rows. Combine batch splits into one transfer row per source warehouse and demand. Round transfer quantities to the plan item precision so the shared balance never leaves a float residue as an extra row.

* test(manufacturing): cover shared transfer stock across Production Plan rows
2026-09-07 19:04:26 +05:30
Mihir Kandoi
65048863db fix(manufacturing): apply safety stock once across Production Plan rows (#58806)
* fix(manufacturing): apply safety stock once across Production Plan rows

* test(manufacturing): cover safety stock once across Production Plan rows
2026-09-07 19:04:26 +05:30
Mihir Kandoi
b1c0921c2b fix(manufacturing): apply MOQ once across Production Plan rows (#58805)
* fix(manufacturing): apply MOQ once across Production Plan rows

Apply Minimum Order Qty after stock and transfer allocation, grouped by item, warehouse, request type, supplier and Sales Order. Material Requests and Purchase Orders are raised per Sales Order and a Purchase Order rejects an item below its minimum, so each Sales Order buys at least the minimum or is covered by the surplus of an earlier one. The surplus is the quantity actually purchased beyond demand, so purchase UOM and whole-number rounding carry forward.

* test(manufacturing): cover MOQ once across Production Plan rows
2026-09-07 19:04:25 +05:30
Mihir Kandoi
9c4d03f26f fix(manufacturing): sum required quantity when consolidating sub-assemblies (#58807) 2026-09-07 18:59:33 +05:30
Nikhil Kothari
ebe5decb96 fix(banking): UI cleanup and better statement parsing (#58817)
* fix(banking): reset scroll on searching accounts

* fix(banking): show only past dates in date filter

* fix(banking): clean up line heights and remove beta badge

* fix(banking): show accurate count of import progress
fix(banking): show latest 20 imports instead of 10

* fix(banking): layout sizing needs to be preserved on page change

* fix(banking): cleaner bank balance UI

* fix(banking): correctly parse Cr/Dr values in statement importer

* Update banking/src/components/features/BankReconciliation/BankBalance.tsx

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-09-07 13:10:02 +00:00
rohitwaghchaure
e85e300f8f fix: user not able to set valuation rate zero in stock reco (#58800)
* fix: user not able to set valuation rate zero in stock reco

* fix: wrong difference amount when valuation rate is zero

* fix: blank valuation rate should not be treated as a change
2026-09-07 12:47:54 +00:00
Mihir Kandoi
683f033c34 fix(selling): fetch orders within billing allowance (#58751) 2026-09-07 17:57:59 +05:30
MochaMind
ec738eec28 fix: sync translations from crowdin (develop) (#58579)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-09-07 13:08:22 +02:00
Pandiyan P
72fa7d0b10 feat: add subcontracting receipt ledger previews (#58698) 2026-09-07 05:49:17 +05:30
Diptanil Saha
223a97904a fix(manufacturing): add permission checks to BOM whitelisted methods (#58789) 2026-09-07 00:49:03 +05:30
Diptanil Saha
7b53402eae fix: add permission checks to whitelisted methods (#58787) 2026-09-06 22:57:15 +05:30
MochaMind
353e3a805f chore: update POT file (#58784) 2026-09-06 15:56:03 +02:00
Mihir Kandoi
c1e0865771 fix(controllers): drop the Check-field guard from dimension search (#58783) 2026-09-06 07:27:26 +00:00
Afsal Syed
71f1edeb1c fix(stock): show actual outgoing rate in ledger preview (#58700) 2026-09-05 18:43:11 +05:30
Shllokkk
135921ca79 Merge pull request #58769 from Shllokkk/fix-profit-and-loss-dashboard-chart
fix: restore hover tooltip on Profit and Loss dashboard chart
2026-09-05 14:35:01 +05:30
Shllokkk
9e9c4b8102 fix: restore hover tooltip on Profit and Loss dashboard chart
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-05 14:22:37 +05:30
Raffael Meyer
5beed5f4f0 fix: resolve code lists by URI and version (#58770) 2026-09-04 20:21:50 +02:00
Nikhil Kothari
04b84ef069 fix(banking): find transfers on the same day (#58766) 2026-09-04 13:16:19 +00:00
Hussain Nagaria
154c6fb943 fix(bank reconciliation): match Payment Entries on the bank-side amount (#57740)
* fix(bank reconciliation): match Payment Entries on the bank-side amount

get_pe_matching_query() ranked and filtered on pe.paid_amount while the
match card displayed pe.base_paid_amount_after_tax, so the amount used for
the exact match never matched the amount shown.

Both now use the amount that actually hits the bank account, in that
account's currency: received_amount_after_tax when the bank account is
paid_to (deposit) and paid_amount_after_tax when it is paid_from
(withdrawal). This is the same convention as the Bank Reconciliation
Statement report and matches the bank GL entry that reconciliation
allocates against.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* test(bank reconciliation): cover bank-side amount matching

Two cases the previous behaviour got wrong or could regress on:

- A deposit from an internal transfer where the paid and received sides
  differ by a charge. The match must show, and compare against, the
  amount that reached this bank account.
- A withdrawal, which still matches on the paid side.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-04 17:20:09 +05:30
Vishnu Priya Baskaran
c3319d74cf fix: add reconciliation after submit logic for bank transactions (#57330)
Co-authored-by: Poovetha <poovethapalanivelu@gmail.com>
2026-09-04 17:05:39 +05:30
Mihir Kandoi
b2233a44d1 revert(manufacturing): remove material coverage changes (#58714) 2026-09-04 14:32:28 +05:30