diff options
| author | Jérémy Hennecart <jeh@odoo.com> | 2020-08-27 07:04:30 +0000 |
|---|---|---|
| committer | Jérémy Hennecart <jeh@odoo.com> | 2020-08-31 14:23:47 +0000 |
| commit | 1a5cc55dfeb03ad7d4a63a0286d5d33eaca3cbe2 (patch) | |
| tree | 5de10e8e0b068e7dcef5ce7d9ea46d72b5c58704 /addons/website_google_map/__init__.py | |
| parent | acbc97bfe290ef3c7b8f7a1160266e49485099ae (diff) | |
[FIX] crm: fix duplicate lead when mmr is desactived
Before when we tried to duplicate a lead without the mrr option
active, a traceback was raised.
If the MMR option was not activated, then the user was not be able to write
on some field because he was lacking the corresponding group. In this case,
the recurring_revenue and recurring_plan fields.
Now, when copying a lead, we purposefully set those fields to 0/False to
avoid a crash if the option is not enabled.
task-2325629
closes odoo/odoo#56601
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_google_map/__init__.py')
0 files changed, 0 insertions, 0 deletions
