[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 overlap was
introduced by mistake in https://github.com/odoo/odoo/commit/6c412be2ea7c0fb64677152db753a1007934f892

opw-3565747

closes odoo/odoo#145838

X-original-commit: c2a0db9ce18c00a17fd93f87434d3d3a7a2630fe
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Julien Carion (juca) <juca@odoo.com>
This commit is contained in:
Julien Carion (juca)
2023-12-12 14:05:08 +00:00
parent c2d92ecfc5
commit e124696722
+2 -2
View File
@@ -165,10 +165,10 @@
type="object" class="btn-secondary" data-hotkey="w"
context="{'mail_activity_quick_update': True}"/>
<button invisible="chaining_type == 'trigger'" string="Done &amp; Schedule Next" name="action_done_schedule_next"
type="object" class="btn-secondary" data-hotkey="q"
type="object" class="btn-secondary" data-hotkey="z"
context="{'mail_activity_quick_update': True}"/>
<button invisible="chaining_type == 'suggest'" string="Done &amp; Launch Next" name="action_done_schedule_next"
type="object" class="btn-secondary" data-hotkey="q"
type="object" class="btn-secondary" data-hotkey="z"
context="{'mail_activity_quick_update': True}"/>
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
</footer>