summaryrefslogtreecommitdiff
path: root/addons/gamification_sale_crm
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-12-16 11:16:08 +0000
committerNicolas Martinelli <nim@odoo.com>2019-12-16 11:21:58 +0000
commit640011cf71d707e2b1e55bb8cb71d0bfe9de1a1d (patch)
tree8dc1f5726fa1785e9414d6a2eb423394c7b2f105 /addons/gamification_sale_crm
parent87703fa58b7ea3b5e44a635965f3b7df4f52ebc9 (diff)
[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#41931 X-original-commit: 84cb3b9c848ed42017b3253ca70b9455c8af7307 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/gamification_sale_crm')
0 files changed, 0 insertions, 0 deletions