summaryrefslogtreecommitdiff
path: root/addons/website_google_map/static/src
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-05-25 18:16:40 +0200
committerDenis Ledoux <dle@odoo.com>2016-05-25 18:20:25 +0200
commit22f4aa1c4341cd2e8008b730f676473f025cbb42 (patch)
tree41203ec47a133e5c44d606e395618b35ef7a31b1 /addons/website_google_map/static/src
parent526c38cdb145143407cc0e5504574e72f7e720a0 (diff)
[FIX] crm: merge leads in multi-company
When merging leads with a company set different than the current user company, it failed because the notification email (the message written in the thread summarizing the merge) couldn't read the company name (the `name_get` call on the company) because of the multi-company record rule. `name_get` can be safely called as `sudo`, as it does nothing else than returning the name of the record. This is already done for the many2one links in the web client anyway (You can see leads from a company different than yours, you can see the company name to which the leads belongs to, but you can't click on the company many2one link) opw-677986
Diffstat (limited to 'addons/website_google_map/static/src')
0 files changed, 0 insertions, 0 deletions