summaryrefslogtreecommitdiff
path: root/addons/theme_default/data
diff options
context:
space:
mode:
authorjvm-odoo <jvm@odoo.com>2019-11-06 10:53:43 +0000
committerfw-bot <otis@odoo.com>2019-11-07 13:05:34 +0000
commite5adee2e7d81513ddc375c5bc567f5b7f35ff742 (patch)
tree873bd23fa54d93e9f393550167f54e85c75c656d /addons/theme_default/data
parent60d1e26f9ae32f9feb61a0fa2135e0bcfed865fc (diff)
[FIX] crm: fix lead/opportunity meeting scheduling
Reproduce the issue: - In the CRM app, create a lead/opportunity. - Schedule a meeting for this opportunity via the chatter and click on create. - Go back, the "Meeting" stat button is now at 1 - Schedule a meeting for this opportunity via the chatter and click on edit then create. - Go back, the "Meeting" stat button is still at 1 Cause: When we click directly on create, the opportunity ID is in the defaults option but when we click on edit, there is no opportunity ID. So, this commit use the context to retrieve the concerned opportunity and set it if it is not already set. I splitted the solution into a private method for a better readability. OPW-2092920 closes odoo/odoo#39964 X-original-commit: 59d154dcc1524c8f08c6a1e7aee18c722ab2e0ad Signed-off-by: Jason Van Malder <jasonvanmalder@users.noreply.github.com>
Diffstat (limited to 'addons/theme_default/data')
0 files changed, 0 insertions, 0 deletions