b017ab79d4ea90a294f805beba710f9f44b86073
Current behavior: When using a gift card in the PoS, you would get 2 gift card reward lines, one positive and one negative. Wich should not be the case. This happens because the gift card reward had taxes. To fix this we need to remove the taxes from the gift card reward, as it is done in the sale_loyalty module ´_get_reward_values_discount´ https://github.com/odoo/odoo/blob/30062210cc879a1d2349b888a510f29ea40d5920/addons/sale_loyalty/models/sale_order.py#L313 Steps to reproduce: - Install the pos_loyalty module - Open PoS - Buy a gift card and copy the code - Buy a product and pay with the gift card - You will see 2 gift card reward lines, one positive and one negative opw-3472830 closes odoo/odoo#133034 X-original-commit: 7814bb2663ac75ef91922897b88022d87f58241f 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%