63fb465956772d96ab90fb30b9d132e9ce71f7e6
Current behavior: The opening difference is counted twice when printing the session report So the expected cash amount is wrong. It was happening because the opening difference was counted in the cash_register_balance_start and also in the cash_real_transaction. So we use the previous session closing balance to only coun the opening difference once. Steps to reproduce: - Open a PoS session with 100€ in the cash register and close it. - Reopen the session and enter 50€ in the cash register. (The opening difference is 50€) - Make a sale for 10€, using cash payment. - Close the session and print the session report. - The expected cash amount will be 10€ when it should be 60€. opw-3384313 closes odoo/odoo#132690 X-original-commit: fce504ad1cdfd7c90fe85fcb7965524dc122ebac Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com> Signed-off-by: Robin Engels (roen) <roen@odoo.com>
…
…
…
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%