summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authornie <nie@odoo.com>2020-10-05 11:03:47 +0000
committernie <nie@odoo.com>2020-10-06 12:19:22 +0000
commit5995e526d3646634142062c2fc0347668a963184 (patch)
tree8f5b0e8039bc95d8bf1cdb469cdd261aae090be0 /addons/mail/static/src/models/thread_cache/thread_cache.js
parent9f3744f77b8973d61adb672b992c92c0898b60bc (diff)
[FIX] account: editable export, traceback on "Tax Cash Basis Entry of"
Steps to reproduce the bug: - Select an invoice in the list - Click Action -> Export - Select "I want to update data (import-compatible export)" - Click the field "Tax Cash Basis Entry of" Bug: Traceback Cause: Crashes because of a KeyError here: https://github.com/odoo/odoo/blob/2d860cdddf29b9fbd1a5401082c9f743028d2fb5/addons/web/controllers/main.py#L1743 The KeyError occurs because AccountPartialReconcile hasn't got a `name` field; `rec_name` is therefore `None`. Setting it to any field fixes the issue and `id` is the safest. opw:2349511 closes odoo/odoo#59267 X-original-commit: 6327c86d0ea30bc056c6db320d0a1413d5807b10 Signed-off-by: backspac <backspac@users.noreply.github.com> Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions