summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2020-07-23 11:50:48 +0000
committerLaurent Smet <las@odoo.com>2020-07-30 08:48:37 +0000
commit6c9b5d6f6fb4d5daf92d29d5e4689038e650a60f (patch)
tree13d383716e2b25bbe24600da1fe80d1bc1d3b669 /addons/mail/static/src/models/thread_cache/thread_cache.js
parent17a8a6d933d701db7bff8f4d17e10ae03fc57ac2 (diff)
[FIX] account: Fix creation of statement with zero amount/amount_currency
During the migration, it could happen some statement lines are created with a zero amount in company currency or foreign currency. It this specific case, we can't retrieve the correct amounts by multiplying the statement line conversion rate because X * 0 is always zero. This commit ensures the amounts are well preserved in such case. X-original-commit: a75bc7fdf014daf965cad72917ac475cbf83f6ac
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions