summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2018-08-06 11:12:56 -0700
committerJoren Van Onder <jov@odoo.com>2018-08-06 15:44:34 -0700
commit9609f79cad50613049dc20b0d7eb9cad012fdbf4 (patch)
treee2583776a0e35d89f4a271d72e3d6ea20258c35c /addons/web/static/src/js/views/basic/basic_controller.js
parent8669361dd6d5214f8545797b9e1b0c0c45c8874f (diff)
[FIX] point_of_sale: invalidate cache after reloading partners
The POS uses a DomCache for various UI elements to avoid re-rendering elements that are the same as the last render. One such cached UI element is an entry in the client list. When a partner is edited in the POS frontend the POS will write this to the backend and then it will load all updated res.partner records (new write_date > previously loaded most recent write_date). To render the newly updated information *and* to ensure any other partner edited (through backend or because it's a child contact) is updated just clear the whole cache. Fixes #13856
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions