Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047816Retail ModulesWeb POSpublic2021-10-06 09:272021-10-14 08:09
ramprakash 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR22Q1 
No
0047816: Regarding Cancel Order creator
CreatedBy column Updating wrong WebPos User Name.
1.Open BackOffice and Create new Preference With Property "Enable Line Delivery Modes" also mark checkbox Selected and save the Preference.
2.open WEBPOS with "User1" .
3.Add product to receipt lines.
4.click the receipt line .
5.On Right Side Panel click "Show More" and then select "Line Delivery Modes".
6.Then Click "Home Delivery" and provide a date Like "Tomorrow" with time .
7.Pay and Complete the Ticket.
8.now Open sales Order Window in Back Office , the CreatedBy and UpdatedBy column will be "User1".
9.Now End session of "User1" and Login with "User2" in webpos.
10.click Menu Button and Select "Open receipt".
11.Enter the Document number of completed sales order by user1.
12.In this case the Receipt will be Paid .
13.Now Click Menu and select "Cancel This Order" ,then checkout (as the amount will be Negative),Pay and complete the Ticket.
14. now Open sales Order Window in Back Office , for this canceled Ticket the CreatedBy column show the "User1" as it has to be "User2"(who has cancelled the Ticket).
check this fix for the Ticket https://gitlab.com/obcustomers/dalmia/org.openbravo.retail.posterminal/-/commit/a953a060018059b20034558a26baf60478bf9bf4 [^]
No tags attached.
png Screenshot 2021-10-06 at 12.30.44 PM.png (317,330) 2021-10-06 09:27
https://issues.openbravo.com/file_download.php?file_id=16250&type=bug
Issue History
2021-10-06 09:27ramprakashNew Issue
2021-10-06 09:27ramprakashAssigned To => Retail
2021-10-06 09:27ramprakashFile Added: Screenshot 2021-10-06 at 12.30.44 PM.png
2021-10-06 09:27ramprakashTriggers an Emergency Pack => No
2021-10-11 08:01ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-10-11 08:02ranjith_qualiantech_comStatusnew => scheduled
2021-10-13 06:54hgbotNote Added: 0132306
2021-10-14 08:09hgbotResolutionopen => fixed
2021-10-14 08:09hgbotStatusscheduled => closed
2021-10-14 08:09hgbotNote Added: 0132334
2021-10-14 08:09hgbotFixed in Version => RR22Q1
2021-10-14 08:09hgbotNote Added: 0132335

Notes
(0132306)
hgbot   
2021-10-13 06:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/591 [^]
(0132334)
hgbot   
2021-10-14 08:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/591 [^]
(0132335)
hgbot   
2021-10-14 08:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: bf51ec6750b7e7e3d44a187b0857f9b64611536f
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-10-14T06:08:57+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/bf51ec6750b7e7e3d44a187b0857f9b64611536f [^]

Fixed ISSUE-47816: Ticket createdBy property should be updated when cancelling ticket

---
M web-test/model/business-object/ticket/actions/CreateCancelTicket.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CreateCancelTicket.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---