-
- Downloads
[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:
Arnold Moyaux <amoyaux@users.noreply.github.com>
Showing
- addons/mrp_account/models/__init__.py 1 addition, 0 deletionsaddons/mrp_account/models/__init__.py
- addons/mrp_account/models/stock_move.py 12 additions, 0 deletionsaddons/mrp_account/models/stock_move.py
- addons/stock_account/models/stock_move.py 10 additions, 5 deletionsaddons/stock_account/models/stock_move.py
Loading
Please register or sign in to comment