Skip to content

Replace SR-based plot cost recalculation with LCV pattern; fix serial…#43

Merged
av-dev2 merged 1 commit into
version-15from
backport-42-to-version-15
May 31, 2026
Merged

Replace SR-based plot cost recalculation with LCV pattern; fix serial…#43
av-dev2 merged 1 commit into
version-15from
backport-42-to-version-15

Conversation

@github-actions
Copy link
Copy Markdown

Backport of #42 to version-15.


Plot cost recalc now mimics ERPNext's Landed Cost Voucher internals (cancel/resubmit SLEs with via_landed_cost_voucher=True) instead of direct db.set_value, avoiding Stock Reconciliation's broken serial handling in v15.

Handover serial fix simplified: instead of cancelling all SRs for the LA, reset only the one serial's status/warehouse metadata so DN validation passes without touching other plots.

… status reset on handover

Plot cost recalc now mimics ERPNext's Landed Cost Voucher internals
(cancel/resubmit SLEs with via_landed_cost_voucher=True) instead of
direct db.set_value, avoiding Stock Reconciliation's broken serial
handling in v15.

Handover serial fix simplified: instead of cancelling all SRs for the
LA, reset only the one serial's status/warehouse metadata so DN
validation passes without touching other plots.

(cherry picked from commit 16dc393)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants