[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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user