summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-09-30 16:42:33 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-10-09 12:13:47 +0000
commita98a294f28dc61c0675003f5d5c99335a0303c1b (patch)
tree48237e248803ad79fc4dc8e49a433278514edc8d /addons/web/static/src/js/views/basic/basic_model.js
parent56835bf91b83c5648663eaed7b4a2e0b7097afe5 (diff)
[FIX] sale: calculate untaxed_amount_to_invoice based on invoiced quantity
Enable discounts on sales order lines Create a service type product with invoicing based on timesheet and task in sales order's project Create so for 6 hours and deliver 8 hours. Create 2 invoices: One for 6 hours with the regular price and 2 hours h 100% discount. Invoice status of the order will be Fully Invoiced Go to Sales>Reporting>Sales Analysis report will show the untaxed amount associated with 2nd invoice as still to invoice which is incorrect This occur because when saving the invoice the untaxed amount is calculated on the amount invoice after discount opw-2338564 closes odoo/odoo#59635 X-original-commit: be5ec58d0a1a71fc84ca790555cac02a6be5b67a Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com> Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions