Files
Julien Carion (juca) 6c412be2ea [IMP] *: coherent hotkey uses
This commit makes hotkey uses more coherent throughout the entire
codebase by setting alt+q as main shortcurt for confirm and default
actions and alt+x for cancel actions.

task-3370463

closes odoo/odoo#127469

Related: odoo/enterprise#43694
Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2023-07-19 18:24:15 +02:00

29 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="google_calendar_reset_account_view_form" model="ir.ui.view">
<field name="name">google.calendar.account.reset.form</field>
<field name="model">google.calendar.account.reset</field>
<field name="arch" type="xml">
<form>
<h1>Reset Google Calendar Account</h1>
<group>
<field name="delete_policy" widget="radio"/>
<field name="sync_policy" widget="radio"/>
</group>
<footer>
<button name="reset_account" string="Confirm" type="object" class="btn-primary" data-hotkey="q"/>
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x" />
</footer>
</form>
</field>
</record>
<record id="google_calendar_reset_account_action" model="ir.actions.act_window">
<field name="name"></field>
<field name="res_model">google.calendar.account.reset</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>