Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054079Retail ModulesLayaway orderpublic2023-12-06 22:162024-01-18 07:39
sofidossant 
Rajesh_18 
highmajoralways
closedfixed 
5
pi 
RR24Q2 
approved
marvintm
OBPS
82211
No
0054079: Error with discount when you do a cancel Layaway
Video
https://www.awesomescreenshot.com/video/23023361?key=24faa9523e9c027cea242b012a6b4194 [^]

When you have a line with a discount and then do click in the button "Cancel Layaway", the discount is removed.

- Do a layaway with a line with a discount manual. And open the order.
- Click in the button "Cancel Layaway"
No tags attached.
duplicate of defect 0053991 closed Rajesh_18 POS2 POS2 - Paid Sales Order - Cancel Order action does not take into account discounts 
Issue History
2023-12-06 22:16sofidossantNew Issue
2023-12-06 22:16sofidossantAssigned To => Retail
2023-12-06 22:16sofidossantOBNetwork customer => OBPS
2023-12-06 22:16sofidossantSupport ticket => 82211
2023-12-06 22:16sofidossantTriggers an Emergency Pack => No
2023-12-06 23:23PracticsIssue Monitored: Practics
2023-12-11 06:08Rajesh_18Assigned ToRetail => Rajesh_18
2023-12-12 13:27Rajesh_18Relationship addedduplicate of 0053991
2023-12-12 13:53Rajesh_18Note Added: 0158103
2023-12-13 06:27marvintmReview Assigned To => marvintm
2023-12-13 06:27marvintmStatusnew => closed
2023-12-13 06:27marvintmResolutionopen => duplicate
2023-12-22 13:00sdossantosIssue Monitored: sdossantos
2023-12-28 10:58Rajesh_18Note Added: 0158685
2023-12-28 10:58Rajesh_18Statusclosed => new
2023-12-28 10:58Rajesh_18Resolutionduplicate => open
2023-12-28 10:59Rajesh_18Statusnew => scheduled
2023-12-28 13:51hgbotMerge Request Status => open
2023-12-28 13:51hgbotNote Added: 0158687
2024-01-18 07:39hgbotMerge Request Statusopen => approved
2024-01-18 07:39hgbotResolutionopen => fixed
2024-01-18 07:39hgbotStatusscheduled => closed
2024-01-18 07:39hgbotFixed in Version => RR24Q2
2024-01-18 07:39hgbotNote Added: 0159435
2024-01-18 07:39hgbotNote Added: 0159436

Notes
(0158103)
Rajesh_18   
2023-12-12 13:53   
Same fix as ISSUE-53991
(0158685)
Rajesh_18   
2023-12-28 10:58   
This Issue is reproduced if,

In Back Office

In Discounts and promotions window , Included Characteristics => "any of the ones defined"

In included Characteristics subtab
Characteristic => Battery Life
Characteristic Value => 250h max

In Product Subtab,
Add Avalanche transceiver

In POS

Do a layaway with Avalanche transceiver
Open layaway Receipt and click cancel and replace.

The automatic discount applied is removed.
(0158687)
hgbot   
2023-12-28 13:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1438 [^]
(0159435)
hgbot   
2024-01-18 07:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 20480926fd2f1413f061d17b5c8a5fedad74596c
Author: Rajesh Senthilkumar <rajesh.senthilkumar.ext@openbravo.com>
Date: 18-01-2024 06:39:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/20480926fd2f1413f061d17b5c8a5fedad74596c [^]

Fixed ISSUE-54079: Automatic discounts are applied on cancel and replace
Product Characteristics are fetched from masterdata while doing cancel and replace

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CreateReplaceTicket.js
---
(0159436)
hgbot   
2024-01-18 07:39   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1438 [^]