Keyboard shortcut for quick lettering
Suggested ergonomic improvement: I tick two boxes and press the letter “l” on the keyboard l for lettering and then a bit of javascript acts as if I were going to the very top of the page to select manual lettering in the mass actions then click on the button.
The result is that I can letter my accounts efficiently again!
Are you interested? Before I go and make a PR on the heart of Dolibarr to propose this contribution, I'd like your feedback and opinions.
<script language="javascript"> /* * call manual lettering on keypress 'l', then you can have one hand on * your mouse and the other one on keyboard to make lettering as fast or * as efficient as you can ... */ $( document ).ready(function() { $('body').on('keydown',''function(event) { var verif = $(event.target).hasClass('checkforselect'); if (verif && event.keyCode == 76) { $('#massaction').val('letteringmanual'); $('form').append('<input type="hidden" name="confirmmassaction" value="1" />').submit(); } }); }); </script>