summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorwilliam <wan@odoo.com>2020-07-28 09:17:52 +0000
committerwan <wan@odoo.com>2020-08-13 12:53:47 +0000
commitd23f91b80fee6f8d502430ce3879b70e688af806 (patch)
tree15b5adaea5b5ab1c68ac5834686f05df7c441bfc /addons/web/static/src/js/views/basic/basic_controller.js
parent733f1f888707402055dffc3210b8f41824a59f57 (diff)
[FIX] account: partner mapping and model order
Because we used the same variable to compute the partner, it was overriden once we went through a model with a partner mapping, and kept for models with lesser priority. Also remove the key param to sort the recocniliation models. We want the models to be sorted according like in the list view, and that is exactly what the .sorted() function does without params. (no need to worry about changing it if we change the _order)
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions