summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-04-25 14:11:47 +0200
committerNicolas Martinelli <nim@odoo.com>2016-04-25 14:11:47 +0200
commite680f29560ac20133c7af0c6364c6ef494662eac (patch)
tree90609c097c4cca9846578c19c50b65a625032fa5 /addons/web/static/src/js/framework/session_instance.js
parentac7beb3d7bd356042f046d7fc22ad261eedf33e7 (diff)
[FIX] account, sale: modify invoice
When a user validates an invoice linked to a SO, he might want to modify it afterwards thanks to the 'Modify' option in the refund wizard. This will create a refund, reconcile and create a draft invoice. The issue is that the draft invoice is not linked with the SO. The fix is to link, in this specific case only, the draft invoice to the SO. At the same time, we have to make sure to: - unlink the first invoice (to prevent counting the quantity as invoiced in the SO) - keep track of the first invoice/refund in the invoice list of the SO opw-673446
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions