[FIX] Activities: "Cancel" hotkey conflicts

Since 17.0, the `Cancel` button in the `mail_activity_schedule_view_form` uses the hotkey `z`, which conflicts with the other button.

Change the hotkey into `x`.

closes odoo/odoo#154727

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
Zelong Lin
2024-02-20 14:57:33 +00:00
parent 8c2be69b84
commit 1ae849a7e2
@@ -65,7 +65,7 @@
invisible="has_error or chaining_type == 'suggest'"
class="btn-secondary" data-hotkey="z"
context="{'mail_activity_quick_update': True}"/>
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z"/>
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
</footer>
<footer invisible="not plan_id">
<button name="action_schedule_plan" string="Schedule" type="object" class="btn-primary"