Friday, August 9, 2019
4 changes · master
Enhancements to existing features
Point of Sale now creates one combined accounting entry when a session is closed instead of separate entries for every order. This improves closing performance for busy shops with many orders and makes payment reconciliation clearer by grouping receivables by payment method.
Original PR description
[work-in-progress] Improve the performance of the PoS when closing a session + improve the usability of the PoS by showing clearer information -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Receipt printing in Point of Sale has been modernized so receipts are printed as images through IoT-connected printers. This enables broader printer compatibility, including network printers, better language support, and clearer setup guidance for certain Star printers.
Original PR description
This PR is linked to odoo/enterprise#4237. It refactors the way receipts are printed and its goal is to remove the `hw_escpos` module and replace it with an IoT Driver. We now print receipts as…
This PR is linked to odoo/enterprise#4237. It refactors the way receipts are printed and its goal is to remove the `hw_escpos` module and replace it with an IoT Driver. We now print receipts as images. In the browser, we generate the image with the help of `html2canvas`, then send it to the IoT Box. In the driver, we convert this image to ESC/POS commands and send those commands through CUPS. To print images, we also needed to change all the custom XML used to describe the structure of the receipts by HTML. A few additional improvements have been introduced: - Since the commands are sent through CUPS, we can now use any ESC/POS compatible printer detected by CUPS, including network printers - In Enterprise, when multiple printers are connected to the same IoT Box, users can now select which one they want to use, both for classic receipts and orders tickets. - Since receipts are now printed as images, they can contain any UTF-8 character. Adding support for other languages such as Arabic. - Supported Star printers use by default their own protocol and need a change in their configurations in order to print receipts. We now detect that their configuration is wrong and print a ticket with the instructions to fix this. **Note:** The `hw_escpos` module is still present because older versions of Odoo that are still supported should still work with the latest version of the IoTBox. This module will be removed when those versions are not supported anymore. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Receipt printing is being modernized so receipts are generated as images and sent through the IoT Box, improving printer compatibility and language support. Businesses can use more ESC/POS printers, including network printers, choose between multiple connected printers, and receive clearer guidance when certain Star printers need configuration changes.
Original PR description
This PR is linked to odoo/odoo#33095. It refactors the way receipts are printed and its goal is to remove the `hw_escpos` module and replace it with an IoT Driver. We now print receipts as images. In…
This PR is linked to odoo/odoo#33095. It refactors the way receipts are printed and its goal is to remove the `hw_escpos` module and replace it with an IoT Driver. We now print receipts as images. In the browser, we generate the image with the help of `html2canvas`, then send it to the IoT Box. In the driver, we convert this image to ESC/POS commands and send those commands through CUPS. To print images, we also needed to change all the custom XML used to describe the structure of the receipts by HTML. A few additional improvements have been introduced: - Since the commands are sent through CUPS, we can now use any ESC/POS compatible printer detected by CUPS, including network printers - In Enterprise, when multiple printers are connected to the same IoT Box, users can now select which one they want to use, both for classic receipts and orders tickets. - Since receipts are now printed as images, they can contain any UTF-8 character. Adding support for other languages such as Arabic. - Supported Star printers use by default their own protocol and need a change in their configurations in order to print receipts. We now detect that their configuration is wrong and print a ticket with the instructions to fix this. **Note:** The `hw_escpos` module is still present because older versions of Odoo that are still supported should still work with the latest version of the IoTBox. This module will be removed when those versions are not supported anymore. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Mobile users will now select related records through clearer kanban-style cards instead of list popups or native dialogs. This makes record picking easier on phones and allows screens to hide unnecessary actions while users are only selecting an item.
Original PR description
- Replace mobile native dialogs for many2X by kanban views. This kanban will be used on mobile in SelectCreateDialog. So many2one widget will open kanban view instead of listview when records needs…
- Replace mobile native dialogs for many2X by kanban views. This kanban will be used on mobile in SelectCreateDialog. So many2one widget will open kanban view instead of listview when records needs to be selected. - Add support of "kanban_view_ref" on many2x fields: For many2one fields, this specific kanban view will be opened when you click on this field. Note that in desktop, the behavior stay unchanged: 'Search More' will open the tree view. For many2many fields, this specific kanban view will be opened when you add a record in mobile. - Add support "selection_mode" in kanban views. This boolean is set to true when you want to use a kaban view to select a record instead of open a record. "selection_mode" is now passed in qweb_context to allow developers to use t-if='selection_mode' in kanban views to show or hide elements; buttons, dropdowns, anchor tags are not necessary when selection_mode is enabled. So those elements can be hidden based on this condition. Useful when kanban view is opened from m2o in mobile environment. Task ID : 1924779