920262f55c03e84113d40f3065ad7014886c487c
This change comes from an issue with the method `get_tip`, it does not takes into account the actual quantity of the line. So if you have `qty == 0` or `qty == 99`, the result will be the same if it where `qty == 1`. Because of the behavior just mentioned, when modifiyng any tip line in the UI of the PoS, incoherence with data appears in the backend field `(pos.order).tip_amount`. Since this field with the unit price of the tip line. But the tip line can be actually 0, or 9999 units. Causing the total of the order to be confusing, because it does not match with the `(pos.order).tip_amount`. To fix this, we have added some valiadtions FOR TIP LINES: - Avoid qty modifications on those lines (with an error message for the user) - If trying to delete a line, instead of going to qty, it gets deleted. closes odoo/odoo#132227 X-original-commit: 03e66cb0c16567c5fa8dba1312132ff66c5916fc Signed-off-by: Joseph Caburnay (jcb) <jcb@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%