Files
odoo_source/addons/stock_sms/wizard/confirm_stock_sms_views.xml
T
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

21 lines
979 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_confirm_stock_sms" model="ir.ui.view">
<field name="name">stock_confirm_sms</field>
<field name="model">confirm.stock.sms</field>
<field name="arch" type="xml">
<form string="SMS">
You are about to confirm this Delivery Order by SMS Text Message.<br/>
This feature can easily be disabled from the Settings of Inventory or by clicking on "Disable SMS".<br/>
<footer>
<button name="send_sms" type="object" data-hotkey="q"
string="Confirm" class="oe_highlight"/>
<button name="dont_send_sms" type="object" data-hotkey="w"
string="Disable SMS" class="btn btn-secondary"/>
<button special="cancel" data-hotkey="x" string="Cancel"/>
</footer>
</form>
</field>
</record>
</odoo>