diff options
| author | Olivier Dony <odo@openerp.com> | 2017-06-22 10:47:57 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-06-22 10:52:12 +0200 |
| commit | 7b494187e99f90359167bb02743bc2f4f5f81043 (patch) | |
| tree | 9ebe8e52bd733cb5c6b14b45ad67274de6d7eb72 /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | 79dfcde359a077772ff00658455e1a0213ddf9d0 (diff) | |
[FIX] point_of_sale: make tests consistent wrt taxes
After rev d938ba87ae524ab10a1da43471962f10ed53b9ca, taxes that are
included in the price are subtracted in case the tax is not applied in
an order (e.g. when the fiscal position remove the tax).
Some of the test orders did not apply any tax, and because the products
used in the test had some tax included, the above revision made the
tests fail (by subtracting the tax amount from the price).
Fixed by making the test orders more consistent wrt to taxes, applying
the taxes as would happen in the UI, then correcting the payment amounts
to include the extra tax amounts.
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
