Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047458Retail ModulesWeb POSpublic2021-07-26 19:462021-08-06 12:09
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR21Q2 
RR21Q4 
No
0047458: Return with multiprice list product
When they return a product with a multi-price list, the return is not finished.
https://www.youtube.com/watch?v=hhGJqB344vM&ab_channel=CristianAdrian%7CPracticsBS [^]

Steps in the video



For livebuilds pi
Backoffice
Make sure, product price for Adhesive body warmers is present in "Sale Price List Customer VIP" pricelist
POS
1) Select "Bryan Raymond" Customer
2) Add product "Adhesive body warmers"
3) Complete it
Backoffice
1) Delete the product price of Adhesive body warmers in "Sale Price List Customer VIP" pricelist
POS
1) Delete Cache/data
2) Open Verified Return
3) Open Last Completed ticket
Loading screen is displayed and its not closed
No tags attached.
patch I47458_21Q2.patch (1,150) 2021-08-03 12:31
https://issues.openbravo.com/file_download.php?file_id=16066&type=bug
diff 47458_21Q2_posterminal.diff (5,761) 2021-08-06 12:09
https://issues.openbravo.com/file_download.php?file_id=16077&type=bug
diff 47458_21Q2_returns.diff (2,847) 2021-08-06 12:09
https://issues.openbravo.com/file_download.php?file_id=16078&type=bug
Issue History
2021-07-26 19:46lbressanNew Issue
2021-07-26 19:46lbressanAssigned To => Retail
2021-07-26 19:46lbressanResolution time => 1628460000
2021-07-26 19:46lbressanTriggers an Emergency Pack => No
2021-07-26 20:22PracticsIssue Monitored: Practics
2021-07-30 09:41adrianromeroStatusnew => acknowledged
2021-08-02 14:20adrianromeroAssigned ToRetail => adrianromero
2021-08-02 14:20adrianromeroAssigned Toadrianromero => ranjith_qualiantech_com
2021-08-02 14:20adrianromeroStatusacknowledged => scheduled
2021-08-02 15:36lbressanNote Added: 0130933
2021-08-02 15:40prakashmurugesan88Assigned Toranjith_qualiantech_com => prakashmurugesan88
2021-08-03 12:31prakashmurugesan88File Added: I47458_21Q2.patch
2021-08-03 12:41prakashmurugesan88Note Added: 0130948
2021-08-03 12:41prakashmurugesan88Statusscheduled => resolved
2021-08-03 12:41prakashmurugesan88Resolutionopen => fixed
2021-08-03 14:01PracticsNote Added: 0130951
2021-08-03 14:20lbressanStatusresolved => new
2021-08-03 14:51adrianromeroNote Added: 0130955
2021-08-03 14:52adrianromeroStatusnew => scheduled
2021-08-03 14:59PracticsNote View State: private: 130951
2021-08-03 15:06PracticsNote View State: public: 130951
2021-08-03 16:17PracticsNote Edited: 0130951bug_revision_view_page.php?bugnote_id=0130951#r22964
2021-08-04 08:42ranjith_qualiantech_comAssigned Toprakashmurugesan88 => ranjith_qualiantech_com
2021-08-04 11:36ranjith_qualiantech_comSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22972#r22972
2021-08-06 10:56hgbotNote Added: 0131006
2021-08-06 10:56hgbotNote Added: 0131007
2021-08-06 11:19hgbotNote Added: 0131009
2021-08-06 11:19hgbotNote Added: 0131010
2021-08-06 11:21hgbotStatusscheduled => closed
2021-08-06 11:21hgbotFixed in Version => RR21Q4
2021-08-06 11:21hgbotNote Added: 0131011
2021-08-06 11:21hgbotNote Added: 0131012
2021-08-06 12:09ranjith_qualiantech_comFile Added: 47458_21Q2_posterminal.diff
2021-08-06 12:09ranjith_qualiantech_comFile Added: 47458_21Q2_returns.diff

Notes
(0130933)
lbressan   
2021-08-02 15:36   
any update ?
(0130948)
prakashmurugesan88   
2021-08-03 12:41   
Attached fix for 21Q2
(0130951)
Practics   
2021-08-03 14:01   
(edited on: 2021-08-03 16:17)
It's not correct this solution for this issue
this patch fixes the incremental load

If you do not have the pricelist when making the return, the web pos is frozen

1- Make a sales with the second pricelist
2- Remove the price of this pricelist on the product
3- Clear cache
4- Load webpos + Try to return the previous ticket

https://youtu.be/0SYKK0bbR9A [^]

(0130955)
adrianromero   
2021-08-03 14:51   
Please. Can you please write all additional notes in English?
(0131006)
hgbot   
2021-08-06 10:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/23 [^]
(0131007)
hgbot   
2021-08-06 10:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/537 [^]
(0131009)
hgbot   
2021-08-06 11:19   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/537 [^]
(0131010)
hgbot   
2021-08-06 11:19   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9771fbb571a7cf92b6af8de6d44cc14ebdecee49
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-08-04T16:26:16+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9771fbb571a7cf92b6af8de6d44cc14ebdecee49 [^]

Related to ISSUE-47458: Updated ADMessage when product price is not found in customer pricelist
* To show proper message to the user, product name is added to ADMessage when product is not found in customer pricelist

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-test/model/business-object/ticket/actions/AddProduct-actionPreparation.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddProduct.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0131011)
hgbot   
2021-08-06 11:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: b1567cc2200d426a339ccfdaa03e2f29b8474397
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-08-04T16:26:21+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/b1567cc2200d426a339ccfdaa03e2f29b8474397 [^]

Fixed ISSUE-47458: Added callback when addLine is failed when doing verified return
* If any error occurs when adding verfied return line, further verified return lines will not be added to the ticket

---
M web/org.openbravo.retail.returns/js/returnUtils.js
---
(0131012)
hgbot   
2021-08-06 11:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/23 [^]