Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041513Retail ModulesWeb POSpublic2019-07-31 17:302019-08-02 08:11
ucarrion 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
No
0041513: A receipt cannot be returned correctly in WebPOS when one of the addresses is not active
A receipt cannot be returned correctly in WebPOS when one of the addresses is not active. Some lines are not loaded at all, changing the total amount of the ticket loaded in webpos.
Log in backend.
Go to the Preference window and configure the following preferences:
* 'Enable Remote for Product' with value Y
* 'Enable Remote for Customer' with value Y

Log in WebPOS
Search for the customer Carl Studson
Add a new address for the customer.

Create a new ticket
Assign the customer Carl Studson
Assing one of the addresses for shipping and the other for invoicing.
Add three different products to the ticket.
Complete the receipt.

Log in backend, go to the Business Partner window, find Carl Studson and deactivate the shipping address used in the ticket.

Go back to WebPOS, select 'Verefied return' menu entry and try to return the ticket.
No tags attached.
related to defect 0041448 closed ranjith_qualiantech_com Receipt is not loaded correctly in WebPOS when one of the addresses is not active 
patch issue 41513 source returns.patch (6,975) 2019-08-01 08:42
https://issues.openbravo.com/file_download.php?file_id=13194&type=bug
patch issue 41513 source posterminal v2.patch (45,675) 2019-08-01 11:47
https://issues.openbravo.com/file_download.php?file_id=13196&type=bug
patch issue 41513 BUT 19Q1 source returns.patch (8,219) 2019-08-01 12:47
https://issues.openbravo.com/file_download.php?file_id=13197&type=bug
patch issue 41513 BUT 19Q1 source posterminal.patch (37,719) 2019-08-01 12:47
https://issues.openbravo.com/file_download.php?file_id=13198&type=bug
Issue History
2019-07-31 17:30ucarrionNew Issue
2019-07-31 17:30ucarrionAssigned To => Retail
2019-07-31 17:30ucarrionResolution time => 1564610400
2019-07-31 17:30ucarrionTriggers an Emergency Pack => No
2019-07-31 17:31guillermogilAssigned ToRetail => ranjith_qualiantech_com
2019-07-31 17:31guillermogilStatusnew => scheduled
2019-07-31 17:32guillermogilRelationship addedrelated to 0041448
2019-07-31 17:40guillermogilSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19245#r19245
2019-08-01 08:42ranjith_qualiantech_comFile Added: issue 41513 source returns.patch
2019-08-01 08:42ranjith_qualiantech_comFile Added: issue 41513 source posterminal.patch
2019-08-01 11:47ranjith_qualiantech_comFile Added: issue 41513 source posterminal v2.patch
2019-08-01 11:50guillermogilFile Deleted: issue 41513 source posterminal.patch
2019-08-01 12:47ranjith_qualiantech_comFile Added: issue 41513 BUT 19Q1 source returns.patch
2019-08-01 12:47ranjith_qualiantech_comFile Added: issue 41513 BUT 19Q1 source posterminal.patch
2019-08-01 15:10hgbotCheckin
2019-08-01 15:10hgbotNote Added: 0113760
2019-08-01 15:11hgbotCheckin
2019-08-01 15:11hgbotNote Added: 0113761
2019-08-01 15:11hgbotStatusscheduled => resolved
2019-08-01 15:11hgbotResolutionopen => fixed
2019-08-01 15:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/52e7c0a063d7278bfd2f8e9ef16982e2a95c5faf [^]
2019-08-02 08:11marvintmReview Assigned To => marvintm
2019-08-02 08:11marvintmStatusresolved => closed
2019-08-02 08:11marvintmFixed in Version => RR19Q4

Notes
(0113760)
hgbot   
2019-08-01 15:10   
Repository: erp/pmods/org.openbravo.retail.returns
Changeset: 27246c2eca99511d43fd2de65a68c331bd17ece8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Aug 01 18:37:59 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/27246c2eca99511d43fd2de65a68c331bd17ece8 [^]

Related to issue 41513 : Load Location from Backoffice if not present in local db

* When loading receipt in verfied return, Location should be loaded from Backoffice
  if not present in local database
* Duplicate code removed and customer and location details fetched from loadCustomer fn

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0113761)
hgbot   
2019-08-01 15:11   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 52e7c0a063d7278bfd2f8e9ef16982e2a95c5faf
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Aug 01 18:39:52 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/52e7c0a063d7278bfd2f8e9ef16982e2a95c5faf [^]

Fixed issue 41513 : Added function to fetch Customer and Location when loading paid receipt

* Added Common fn loadCustomer to fetch Customer and location from local database.
  If it is not present in local db, details will be fetched from backoffice thorugh LoadCustomer process

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---