Skip to content
Snippets Groups Projects
Commit 83a32307 authored by yhu-odoo's avatar yhu-odoo
Browse files

[IMP] (mrp,stock)_account: using correct account when unbuild a MO


Currently when unbuild a MO, we create journal entries the same as
receiving components (add credit to input account) and deliver
finished product (add debit to output account). But since the
unbuild is just a revesal of the MO, the journal entries should
alse be revesals.

In this commit, when unbuild a MO, for the journal entry about the
component change, we add credit to the output account, and for the
journal entry of the finished product change, we add debit to input
account make sure the journal entries are also reversals.

Task 2312828
PR #58150

Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
parent 5ee045b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment