summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/html_editor.test.js
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-01-31 12:00:53 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-02-13 08:24:35 +0000
commit30961d5616d905c7e6279346c904f9d4cccb3a7d (patch)
treeb229c18643ab600b47ac6bf6f2b4e147daa69226 /addons/website/static/src/js/html_editor.test.js
parente270e9e0cc6574d2c6bdd29983d3b66d12d2ced7 (diff)
[FIX] account: validation error not raising
In an account_bank_statement, when the type of the journal wasn't bank and the currency was not defined (the currency in account_bank_statement is optional) and the amount was zero. Before this commit, the validation error that raise when the amount is zero, wasn't working. This because, self.currency_id.is_zero is always False, when currency is not defined. Now, we take into account if currency is defined.
Diffstat (limited to 'addons/website/static/src/js/html_editor.test.js')
0 files changed, 0 insertions, 0 deletions