-
- Downloads
[FIX] stock_account: delete COGS when set to draft
- Create a product A, FIFO & Automated
- Create a SO, deliver and invoice
- Post the invoice
- Reset it to draft
- Post the invoice again
The COGS lines are duplicated.
Unlike the other lines, the COGS lines are only added at posting. This
is done in case several invoices are generated in draft, but validated
in an arbitrary order.
We clean up the COGS lines when resetting to draft.
opw-2153695
opw-2152465
closes odoo/odoo#41915
Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
Please register or sign in to comment