Skip to content

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

Merged
av-dev2 merged 1 commit into
Aakvatech-Limited:version-15-hotfixfrom
LISACORNEL:fix-changes
May 31, 2026
Merged

Replace SR-based plot cost recalculation with LCV pattern; fix serial…#42
av-dev2 merged 1 commit into
Aakvatech-Limited:version-15-hotfixfrom
LISACORNEL:fix-changes

Conversation

@LISACORNEL

Copy link
Copy Markdown
Collaborator

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.
@av-dev2 av-dev2 merged commit 00f8aee into Aakvatech-Limited:version-15-hotfix May 31, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

Backport failed for version-15, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin version-15
git worktree add -d .worktree/backport-42-to-version-15 origin/version-15
cd .worktree/backport-42-to-version-15
git switch --create backport-42-to-version-15
git cherry-pick -x 16dc393fece59341e1fb5d9f3ea07c155f400c0b

@github-actions

Copy link
Copy Markdown

Successfully created backport PR for version-15:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants