Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057814Retail ModulesWeb POSpublic2025-01-13 15:342025-02-26 15:59
psanjuan 
kousalya_r 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR24Q4.2 
No
0057814: Eco-contribution regrouping feature is not working.
Eco-contribution regrouping feature is not working.
Create and configure a contribution included in the price (see image attached - product SubType) and link it to a given product (ie. Balaclava Camp)

In the POS, create a new sale for the main product.

Verify that the contribution is automatically included in a new line, and that the price of the main item is decreased for an amount equal to the price of the contribution.

Optionally make a discount to check that such discount only affect to the price of the main item decreased on the amount of the contribution.

Click on Pay.

Verify that the two lines are not regrouped as described below:

the price of the contribution is added back to the price of the main item

the price of the contribution is se to 0.00

What should happen is:
At check-out the main item and the contribution (included in the price) linked to it, should be regrouped meaning:

the price of the contribution is added back to the price of the main item

the price of the contribution is se to 0.00
No tags attached.
blocks defect 0057629 closed kousalya_r Eco-contribution regrouping feature is not working. 
Issue History
2025-01-31 08:13jonaeTypedefect => backport
2025-01-31 08:13jonaeTarget Version => RR24Q4.2
2025-01-31 08:26jonaeAssigned ToTriage Omni OMS => kousalya_r
2025-02-19 14:07hgbotNote Added: 0175892
2025-02-26 15:56hgbotNote Added: 0176156
2025-02-26 15:59hgbotNote Added: 0176157
2025-02-26 15:59hgbotResolutionopen => fixed
2025-02-26 15:59hgbotStatusscheduled => closed
2025-02-26 15:59hgbotFixed in Version => 24Q4.1
2025-02-26 15:59hgbotNote Added: 0176158
2025-02-26 15:59hgbotNote Added: 0176159

Notes
(0175892)
hgbot   
2025-02-19 14:07   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3520 [^]
(0176156)
hgbot   
2025-02-26 15:56   
Merge request closed: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3520 [^]
(0176157)
hgbot   
2025-02-26 15:59   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3554 [^]
(0176158)
hgbot   
2025-02-26 15:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: e71d6ca273226a4d62855dce92ad25ee9095d673
Author: Jon Alegría <j.alegria@external.orisha.com>
Date: 26-02-2025 14:59:29
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/e71d6ca273226a4d62855dce92ad25ee9095d673 [^]

Fixes ISSUE-57814: Added skip apply promotion for the contribution line when regrouping

---
A web-jspack/org.openbravo.pos2/src/model/ticket/actions/SkipTicketCalculationWithContributionProduct.js
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0176159)
hgbot   
2025-02-26 15:59   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3554 [^]