Openbravo Issue Tracking System - POS2
View Issue Details
0058311POS2POSpublic2025-03-05 13:272025-03-21 15:07
ivazquez 
jorgewederago 
highmajoralways
closedfixed 
5
pi 
24Q4.224Q4.2 
approved
Gold
123025
No
0058311: [ALTERATION] Trying to sell an alteration a posteriori does not work since version 24Q4.
Since version 24Q4, the sale of alterations after the fact does not work; the products are not selectable.

It was tested in 24Q3.2 and works correctly.

Attached is a video reproducing the error in livebuilds
Backoffice:

-Look for the product "Immediate Transportation" and mark the check-box "Allow Deferred Sale" and be sure that the check-box "Allow Anonymous Sales" is marked as well.

POS2:

-Make a sale of the product “Crampons 15 point”
-Reopen the just finished order and click on the button to select an alteration.

In livebuilds:

23Q3.2: The products will be selectable, and if you select the “Immediate Transportation” alteration,n a PopUp will open to continue with the functionality.

24Q4: The products are not even selectable.
No tags attached.
blocks defect 0058144pi closed gaboflash [ALTERATION] Trying to sell an alteration a posteriori does not work since version 24Q4. 
Issue History
2025-03-21 14:54jorgewederagoTypedefect => backport
2025-03-21 14:54jorgewederagoTarget Versionpi => 24Q4.2
2025-03-21 14:54jorgewederagoAssigned Togaboflash => jorgewederago
2025-03-21 15:03hgbotNote Added: 0177135
2025-03-21 15:07hgbotNote Added: 0177136
2025-03-21 15:07hgbotResolutionopen => fixed
2025-03-21 15:07hgbotStatusscheduled => closed
2025-03-21 15:07hgbotFixed in Version => 24Q4.2
2025-03-21 15:07hgbotNote Added: 0177137

Notes
(0177135)
hgbot   
2025-03-21 15:03   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3657 [^]
(0177136)
hgbot   
2025-03-21 15:07   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3657 [^]
(0177137)
hgbot   
2025-03-21 15:07   
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: 034da1df889ad1a0ba6892624d39c69bc2b2bbe2
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 21-03-2025 15:01:55
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/034da1df889ad1a0ba6892624d39c69bc2b2bbe2 [^]

Fixed ISSUE-58311: Restore deferred sell of services in closed tickets

Re-enables the selection of deferred sell services linked to products in non-editable tickets. Regression prevented related services from being selectable after ticket completion.

---
M web-jspack/org.openbravo.pos2/src/components/ProductButton/ProductButton.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddServiceProduct.js
---