[FIX] mail: replace overlapping shortcut in activity dialog

This commit simply replaces the shortcut for the action_done_schedule_next
buttons from alt+q to alt+z in the activity view dialog because the
alt+q shortcut is already used for the Save/Schedule buttons. This was
already done in https://github.com/odoo/odoo/pull/145738 but the wizard
which appeared in 17.0 hadn't been corrected.

opw-3565747

closes odoo/odoo#148160

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Julien Carion (juca)
2024-01-05 06:47:14 +00:00
parent 66a94b27ed
commit c5b19f1765
@@ -59,11 +59,11 @@
context="{'mail_activity_quick_update': True}"/>
<button name="action_schedule_activities_done_and_schedule" string="Done &amp; Schedule Next" type="object"
invisible="has_error or chaining_type == 'trigger'"
class="btn-secondary" data-hotkey="q"
class="btn-secondary" data-hotkey="z"
context="{'mail_activity_quick_update': True}"/>
<button name="action_schedule_activities_done_and_schedule" string="Done &amp; Launch Next" type="object"
invisible="has_error or chaining_type == 'suggest'"
class="btn-secondary" data-hotkey="q"
class="btn-secondary" data-hotkey="z"
context="{'mail_activity_quick_update': True}"/>
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
</footer>