diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-03-27 09:57:35 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-03-27 13:16:56 +0000 |
| commit | e2e27b41ad2b132595836f9b03ae9a25a4951c66 (patch) | |
| tree | b9ad85cfa5c12d002a216e692d71da00986c7580 /addons/base_import_module/tests/test_module/static/src | |
| parent | 9a8859cc92193f4900c8b4b8d0829f41f2f9350f (diff) | |
[FIX] sale: subtotal computation and display
Steps to reproduce:
- Install Accounting and Sale
- Enable the developer mode.
- Go to Settings > Users & Comp > Your user, edit to check both "Tax
Display B2B" and "Tax Display B2C" boxes.
- Go to Settings > General Settings > Accounting > Reporting, check the
"Add totals below sections" box.
- Create a sale order in the sale module, the sale order must have at
least one section with several products.
- Print the sale order. The subtotal amounts are wrong.
There are two different subtotals amount to compute, one for the
*Amount* column and one for the *Total Price*. The actual computation
did not store the two amount in different variables. Multiple template
are broken in the same way.
Fine tunning of 716ff76
Co-authored-by: Nans Lefevre <len@odoo.com>
opw-1950833
closes odoo/odoo#32148
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/base_import_module/tests/test_module/static/src')
0 files changed, 0 insertions, 0 deletions
