summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-03-14 13:10:49 +0000
committerNicolas Lempereur <nle@odoo.com>2019-03-14 15:26:13 +0000
commit8003289219b2babc184aba55445f96b99a71c0d9 (patch)
tree93e274f48ddae4bf3b395085e61603a6d9ca2b30 /addons/web/static/src/js/views/basic/basic_controller.js
parentde3ff2e53373e7200bd123d58edb32fcfca9fccf (diff)
[FIX] mail: activity document name=>updated name
The activities "Document Name" (res_name) are computed and stored by getting them on original document, so if we change name of original model => the activity names are not updated. Thus the document name we see we showing the "Activity" view is the one that was used when activities were created with an odd heuristic (by inverse order of activity type and max alphabetical value) and not translated. With this changeset we ignore "Document Name" and directly get names of records when display "Activity" view. note: the changeset also filter out activities on document we can reads: this was done when a domain was set but not otherwise so access error could be easily gotten. opw-1949437 closes #31850 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions