summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2020-05-28 09:39:48 +0000
committerAntoine Prieels <anp@odoo.com>2020-05-28 13:59:30 +0000
commit98d1c550903525d635d2487d6736174715200b56 (patch)
tree93c72439a474d5f491a870d9cd7e7f6111c5b8b8 /addons/web/static/src/js/views/basic/basic_renderer.js
parent92d6aad0e92c7eea8b73c589bd98d7d8de29feb6 (diff)
[FIX] pos_six: Manual cancel and minor units
This commit fixes two bugs with pos_six: - When the cashier manually clicked on "Cancel" or switched order, the payment was correctly canceled, but the POS still showed the error popup saying that the transaction was not processed correctly. - The TIM API manages differently rounds amounts and amounts with decimals. Sending an amount of 1 was considered as 0.01€, while an amount of 1.01 was considered as 1.01€. To fix this, we always sent the amount in minor units. closes odoo/odoo#52102 X-original-commit: a5125b92c11bd9dbf1b536e1eb1b467be446718f Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions