Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047638Retail ModulesReturn Receiptpublic2021-09-06 21:352021-10-15 13:28
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
pi 
RR22Q1 
No
0047638: Cross Store Returns
When a return is made for a ticket from another store with Cross Store enabled, this return instead of appearing in the 'Return From Customer' window appears in the 'Sales Order' window.
1. Login to a terminal of an organization with Cross Store enabled, for example, Vall BoĆ­ Store
2. From the POS, make a verified return of any ticket from another store with Cross Store enabled, for example, Orhi Store
3. Make the payment in any payment method and note that the previous return is presented in the "Sales Order" window instead of in "Return from Customers"
as it happened in previous versions (specifically, in 19Q3.3). This is because the document type assigned to the ticket is "Ohri Store POS Order",
instead of the expected "Orhi Store RFC Order) according to the organization's configuration.
No tags attached.
zip crossStoreReturns.zip (4,412,871) 2021-09-06 21:35
https://issues.openbravo.com/file_download.php?file_id=16181&type=bug
diff 47638_21Q2.diff (2,237) 2021-10-15 13:28
https://issues.openbravo.com/file_download.php?file_id=16271&type=bug
Issue History
2021-09-06 21:35lbressanNew Issue
2021-09-06 21:35lbressanAssigned To => Retail
2021-09-06 21:35lbressanFile Added: crossStoreReturns.zip
2021-09-06 21:35lbressanRegression date => 2021-09-24
2021-09-06 21:35lbressanTriggers an Emergency Pack => No
2021-09-06 22:05eugeniIssue Monitored: eugeni
2021-09-15 06:53marvintmRegression date2021-09-24 =>
2021-09-29 14:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-10-04 14:10lbressanNote Added: 0132141
2021-10-05 05:47hgbotNote Added: 0132156
2021-10-06 13:46hgbotNote Added: 0132199
2021-10-06 13:46hgbotResolutionopen => fixed
2021-10-06 13:46hgbotStatusnew => closed
2021-10-06 13:46hgbotFixed in Version => RR22Q1
2021-10-06 13:46hgbotNote Added: 0132200
2021-10-15 13:28ranjith_qualiantech_comFile Added: 47638_21Q2.diff

Notes
(0132141)
lbressan   
2021-10-04 14:10   
any update?
(0132156)
hgbot   
2021-10-05 05:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/586 [^]
(0132199)
hgbot   
2021-10-06 13:46   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/586 [^]
(0132200)
hgbot   
2021-10-06 13:46   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5830538446a6283929b02689f58f28b391701c80
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-10-06T11:37:04+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5830538446a6283929b02689f58f28b391701c80 [^]

Fixed ISSUE-47638: Ordertype and Document Type should be updated for Cross Store returns
* When doing cross store return, Order should be updated with Return document type

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M web-test/model/business-object/ticket/TicketUtils-UpdateTicketType.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---