Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053469Retail ModulesDiscounts and Promotionspublic2023-09-15 21:162023-09-22 08:05
noemieroussel 
SABARINATH P 
highmajoralways
closedfixed 
5
 
 
No
0053469: [PROMO] The "created by" field in the Discounted Copy took on the value of the original promotion
In the copy discount process, the field "Created by" in Audit section displays the value "Created by" of the original promotion but not the value of the new promotion.
1.Connect to the backoffice with a user U1.
 
2.In Discount and promotion window, create a new discount:
Organization: select one organization
Discount/Promotion type: Price adjustment
Name: Test created by in copy discount
Starting date: Today
Discounted amount = 20
Application Method=Automatic

Save the record.

3. See that in Audit section, the field "Created by" display the user U1.

4. Log out from the backoffice, and log in with a new user U2.

5. Go to the Discount and promotion window.

6. Select the "Test created by in copy discount"

7. Click on the button "Copy discount"

8. Give a name to this new promotion such as "Test created by in copy discount - U2"

9. See that in "Test created by in copy discount - U2", the created by remains U1

No tags attached.
Issue History
2023-09-15 21:16noemierousselNew Issue
2023-09-15 21:16noemierousselAssigned To => Retail
2023-09-15 21:16noemierousselTriggers an Emergency Pack => No
2023-09-18 07:49SABARINATH PAssigned ToRetail => SABARINATH P
2023-09-19 11:03SABARINATH PStatusnew => scheduled
2023-09-21 07:32hgbotNote Added: 0155056
2023-09-22 08:05hgbotResolutionopen => fixed
2023-09-22 08:05hgbotStatusscheduled => closed
2023-09-22 08:05hgbotNote Added: 0155125
2023-09-22 08:05hgbotNote Added: 0155126

Notes
(0155056)
hgbot   
2023-09-21 07:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/22 [^]
(0155125)
hgbot   
2023-09-22 08:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: 36caaa7ee292571648d6e2df8bb8d042f3eb741f
Author: Sabarinath <sabarinath@qualiantech.com>
Date: 21-09-2023 11:00:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/36caaa7ee292571648d6e2df8bb8d042f3eb741f [^]

Fixes ISSUE-53469: Displayed correct Audit in cloned offer

---
M src/org/openbravo/retail/discounts/coupons/actionhandler/CloneOffer.java
---
(0155126)
hgbot   
2023-09-22 08:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/22 [^]