Community mailing list archives

community@mail.odoo.com

Re: UI Hotkeys

by
Pedro M. Baeza
- 11/05/2015 12:24:39
The problem with assigning accesskey to other elements is that they can be hide by style, but the keyboard shortcut still applies, making weird things if you use it when not allowed. Another problem I found is that some accesskeys doesn't work in Chrome, because they're inhibited (for example, the numbers). The only way is to use JavaScript to intercept then, and don't pass it to the browser.

Regards.

2015-11-05 10:11 GMT+01:00 Shawn Varghese <shawnvarghese.m@gmail.com>:
I guess there are only 4 such default shortcuts:

CreateALT + SHIFT + c
EditALT + SHIFT + e
SaveALT + SHIFT + s
DiscardALT + SHIFT + d

This is what I have found going through the web module.
But I have observed that if you just define an accesskey attribute, you can add custom shortcuts 

e.g:
<button string="Confirm" name="confirm_task" type="object" class="oe_highlight" accesskey="G" />

I have not had issues with this default attribute parameter thus far.








On Wed, Nov 4, 2015 at 12:57 PM, Pedro Manuel Baeza Romero <pedro.baeza@gmail.com> wrote:
I'm using these keyboard shortcuts from the beginning without issues, but no idea if they are documented or not. I have pending one module to expand these shortcuts to more functions based on this one: http://bazaar.launchpad.net/~openerp-india/openerp-india/7.0/files/head:/web_keyboard_shortcuts/, but never found the time to do it.

Regards.

2015-11-04 1:27 GMT+01:00 David Arnold <dar@devco.co>:
Hi!

Does anybody know the reasons why the Odoo UI Shortcuts are documented nowhere?

In Chrome for example: ALT + SHIFT + e for "edit".

Are there any obstructions to their usage?

Saludos Cordiales
David Arnold

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe