summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAndreas Perhab <andreas.perhab@wt-io-it.at>2018-07-18 08:32:51 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-08-03 09:36:44 +0200
commitb3bcfbde1b5b57fb9ef1f9043477fde85ceac146 (patch)
tree0c8c23ff704f38581d7b15bf1342be90005f997b /addons/web/static/src/js/views/basic/basic_controller.js
parent47654e98e0ae0ba91b7972cd113be364b7c9862f (diff)
[FIX] sale_stock: fix msg argument in assertion
third positional argument is places not msg (which expects a number not a str) https://docs.python.org/2/library/unittest.html#unittest.TestCase.assertAlmostEqual fixes errors like these: if round(abs(second-first), places) == 0: TypeError: 'str' object cannot be interpreted as an integer and gives the intended message when assertion is errornous
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions