diff options
| author | Kevin Baptiste <kba@odoo.com> | 2020-12-14 14:38:45 +0000 |
|---|---|---|
| committer | Kevin Baptiste <kba@odoo.com> | 2020-12-15 07:32:51 +0000 |
| commit | 92b65810f76bc34761f7e56db2bdba4c91f593ed (patch) | |
| tree | 5fdb943646fceb14a2d41ae78c5ecc01a553aeef | |
| parent | b4ceaa06b2c3ca4b9a1e95dc815d18867c49fd80 (diff) | |
[FIX] google/microsoft_calendar: reset correct user account
closes odoo/odoo#63344
Taskid: 2416820
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
| -rw-r--r-- | addons/google_calendar/views/res_users_views.xml | 2 | ||||
| -rw-r--r-- | addons/microsoft_calendar/views/res_users_views.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/google_calendar/views/res_users_views.xml b/addons/google_calendar/views/res_users_views.xml index dad5c5f92d0..a6795d072f7 100644 --- a/addons/google_calendar/views/res_users_views.xml +++ b/addons/google_calendar/views/res_users_views.xml @@ -18,7 +18,7 @@ <button string="Reset Account" class="btn btn-secondary" type="action" name="%(google_calendar_reset_account_action)d" - context="{'default_user_id': active_id}"/> + context="{'default_user_id': id}"/> </page> </notebook> </field> diff --git a/addons/microsoft_calendar/views/res_users_views.xml b/addons/microsoft_calendar/views/res_users_views.xml index 6e1d04e926b..e15de470ade 100644 --- a/addons/microsoft_calendar/views/res_users_views.xml +++ b/addons/microsoft_calendar/views/res_users_views.xml @@ -17,7 +17,7 @@ <button string="Reset Account" class="btn btn-secondary" type="action" name="%(microsoft_calendar_reset_account_action)d" - context="{'default_user_id': active_id}"/> + context="{'default_user_id': id}"/> </page> </notebook> </field> |
