b3067091caf4220e9e0b1e8499a5d55f39b39797
In this commit we make it possible for a user to download/print the Sales Report of the current session by clicking at the "download"/"printer" icon at the lower right corner of the closing pos popup. This is a commonly used feature. Thus, we make the UI more usable. In general, the sales report can be generated by two different ways: - either by providing a start and end time (products within that time span will be included). - or by providing a session_id (products that are sold during this specific pos_session will be included) which is used in some localisation modules (e.g. pos_l10n_se). To achieve this, we generalized the `_get_report_values` function to consider both possibilities. As a result, the inherited version of the function at the pos_l10n_se module was made reduntant, so we deleted it. NOTE: the "Printer" button will be displayed only when a printer is connected to the IoT box. task-2755384 Part-of: odoo/odoo#88006
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%