Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057629Retail ModulesWeb POSpublic2025-01-13 15:342025-02-26 15:48
psanjuan 
kousalya_r 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
No
0057629: 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.
depends on backport 0057814RR24Q4.2 closed kousalya_r Eco-contribution regrouping feature is not working. 
Issue History
2025-01-13 15:34psanjuanNew Issue
2025-01-13 15:34psanjuanAssigned To => Retail
2025-01-13 15:34psanjuanTriggers an Emergency Pack => No
2025-01-13 15:34psanjuanAssigned ToRetail => Triage Omni OMS
2025-01-17 12:38hgbotNote Added: 0174279
2025-01-30 08:05jonaeNote Added: 0174880
2025-01-31 08:13jonaeStatusnew => scheduled
2025-01-31 08:26jonaeAssigned ToTriage Omni OMS => kousalya_r
2025-02-19 10:21hgbotNote Added: 0175863
2025-02-19 10:21hgbotResolutionopen => fixed
2025-02-19 10:21hgbotStatusscheduled => closed
2025-02-19 10:21hgbotFixed in Version => 25Q2
2025-02-19 10:21hgbotNote Added: 0175864
2025-02-19 15:46hgbotNote Added: 0175897
2025-02-21 11:45hgbotNote Added: 0176018
2025-02-26 07:16jonaeStatusclosed => new
2025-02-26 07:16jonaeResolutionfixed => open
2025-02-26 07:16jonaeFixed in Version25Q2 =>
2025-02-26 15:48hgbotNote Added: 0176154
2025-02-26 15:48hgbotResolutionopen => fixed
2025-02-26 15:48hgbotStatusnew => closed
2025-02-26 15:48hgbotFixed in Version => 25Q2
2025-02-26 15:48hgbotNote Added: 0176155

Notes
(0174279)
hgbot   
2025-01-17 12:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3368 [^]
(0174880)
jonae   
2025-01-30 08:05   
Jira - https://openbravo.atlassian.net/browse/RM-20331 [^]
(0175863)
hgbot   
2025-02-19 10:21   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3368 [^]
(0175864)
hgbot   
2025-02-19 10:21   
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: 2760783f1909e3229acb6dba2c9c7c6dd9dbbe3e
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 19-02-2025 09:21:50
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/2760783f1909e3229acb6dba2c9c7c6dd9dbbe3e [^]

Fixed ISSUE-57629: Added skipApplyPromotions when switch to payments

---
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
---
(0175897)
hgbot   
2025-02-19 15:46   
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: f2cc46c28b69810a24a78d1b2a1b7468095be7f3
Author: Jon Alegría <j.alegria@external.orisha.com>
Date: 19-02-2025 14:46:38
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/f2cc46c28b69810a24a78d1b2a1b7468095be7f3 [^]

Revert "Fixed ISSUE-57629: Added skipApplyPromotions when switch to payments"

This reverts merge request !3368
---
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
R web-jspack/org.openbravo.pos2/src/model/ticket/actions/SkipTicketCalculationWithContributionProduct.js
---
(0176018)
hgbot   
2025-02-21 11:45   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3535 [^]
(0176154)
hgbot   
2025-02-26 15:48   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3535 [^]
(0176155)
hgbot   
2025-02-26 15:48   
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: 215f556f6414e35cbba90326bda1a0364a773b0a
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 26-02-2025 14:45:59
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/215f556f6414e35cbba90326bda1a0364a773b0a [^]

Fixed ISSUE-57629: 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
---