diff options
| author | Yenthe V.G <yenthevg@gmail.com> | 2018-11-07 12:04:17 +0100 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2018-11-07 13:08:57 +0100 |
| commit | e6ff16cbba3802ca17c7bc110d91674580edd38b (patch) | |
| tree | 905b8376b8fb987840c4a6dc60cd65664c79be94 /addons/web/static/src/js | |
| parent | df057df5a92c56563c88427f50225e9cb33bad7b (diff) | |
[FIX] sale: fix type of created invoice from SO
Consider the generation of an invoice for a SO having the following lines:
quantity | unit price | taxes | subtotal
----------------------------------------
1 | 100 | 15% | 115
1 | -110 | | -110
Previously, the invoice wrongly received the type 'out_refund' instead of 'out_invoice'. This was because the code was only considering the untaxed amount.
Closes #28259
Fixes #26726
Co-authored by pedrobaeza
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
