As we discussed in the previous recipe, the Point of Sale application is designed in such a way that it works offline. Thanks to this, the code structure of the Point of Sale application is different from the remaining Odoo applications. The code base of the Point of Sale is largely written with JavaScript and provides different utilities for customization. In this recipe, we will use one such utility and create an action button on top of the keyboard panel.
Adding an action button on the keyboard
Getting ready
In this recipe, we will be using the pos_demo module created in the Adding custom JavaScript/SCSS files recipe. We will add a button on top of the keyboard panel. This button will be a shortcut to applying the discount...