Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045770Retail ModulesWeb POSpublic2021-01-21 15:522021-05-11 14:04
fdomingues 
rqueralta 
immediatemajoralways
closedfixed 
5
RR20Q2 
RR21Q2 
No
0045770: "Cross Store" functionality with shipping cost (delivery service)
I configured this functionality on the livebuild (20Q2), but I have 2 problems:

In the attached video I made 2 transactions:
1) addition of a product from the store stock:
- selection of the delivery method via the "Show More" button: OK (service added)
- selection of the "Courier Delivery" service: OK (delivery coast added)
- payment of the transaction: OK (transaction paid)

2) Adding a product from the stock of another store (cross store):
a) no service option added to the product automatically when selecting the delivery mode "Home Delivery". (we must add it via the "Show More" button)
b) after adding the "Courier Delivery" service, no possibility of paying for the ticket, because the product (service) belongs to another stock.

FYI:
• Cross Store configuration: http://wiki.openbravo.com/wiki/Retail:CrossStore [^]
• Delivery Coast configuration: http://wiki.openbravo.com/wiki/Retail:ProductServices/User_Guide#Delivery_Services [^] and https://docs.google.com/document/d/1BcigQl6ge_FSmgbmy46a0abJ5R3uAhQ3G7VwHdn3kI0/edit?usp=sharing [^]

Response from Antonio Moreno:

About topic a), I think we can report it as a bug. If I'm understanding correctly, the problem could be fixed by us including automatically the cross-store filter when querying for mandatory proposed services, so if this is the case, the fix should not be complex.

Topic b) however is a bit trickier. Orders in Openbravo must have all its lines associated with the organisation header. This means that it is not possible to create an order in which the product is cross-store, and the service is not. You should add a cross-store service if the product is cross-store. However, I think this point may be fixed if we fix the mandatory proposal query, so that it shows cross-store results, because in that way the service proposed should also be cross-store and it should work fine.
See video attached

2) Adding a product from the stock of another store (cross store):
a) no service option added to the product automatically when selecting the delivery mode "Home Delivery". (we must add it via the "Show More" button)
b) after adding the "Courier Delivery" service, no possibility of paying for the ticket, because the product (service) belongs to another stock.
No tags attached.
related to design defect 0044810 closed ranjith_qualiantech_com Cross Store - It is not possible to add Services to the same ticket. 
7z 20Q2_Livebuild.7z (3,167,287) 2021-01-21 15:52
https://issues.openbravo.com/file_download.php?file_id=15275&type=bug
Issue History
2021-01-21 15:52fdominguesNew Issue
2021-01-21 15:52fdominguesAssigned To => Retail
2021-01-21 15:52fdominguesFile Added: 20Q2_Livebuild.7z
2021-01-21 15:52fdominguesTriggers an Emergency Pack => No
2021-01-22 08:12marvintmResolution time => 1613084400
2021-01-22 13:20marvintmSeveritycritical => major
2021-01-25 06:14rqueraltaAssigned ToRetail => rqueralta
2021-01-25 06:15rqueraltaStatusnew => scheduled
2021-02-04 18:49hgbotNote Added: 0125994
2021-02-04 18:50hgbotNote Added: 0125995
2021-02-11 07:33hgbotResolutionopen => fixed
2021-02-11 07:33hgbotStatusscheduled => closed
2021-02-11 07:33hgbotNote Added: 0126068
2021-02-11 07:33hgbotFixed in Version => RR21Q2
2021-02-11 07:33hgbotNote Added: 0126069
2021-02-11 07:34hgbotNote Added: 0126070
2021-02-11 07:34hgbotNote Added: 0126071
2021-04-09 16:14sebastien_lironNote Added: 0127202
2021-05-06 10:54aferrazRelationship addedrelated to 0044810
2021-05-06 12:45sebastien_lironIssue Monitored: fdomingues
2021-05-11 14:04eugeniIssue Monitored: eugeni

Notes
(0125994)
hgbot   
2021-02-04 18:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/149 [^]
(0125995)
hgbot   
2021-02-04 18:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/287 [^]
(0126068)
hgbot   
2021-02-11 07:33   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/287 [^]
(0126069)
hgbot   
2021-02-11 07:33   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: bc7ffa73317094e791ac622ee718bfbc8499484d
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-02-11T06:33:10+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/bc7ffa73317094e791ac622ee718bfbc8499484d [^]

Fixed BUG-45770: Now when you the service option was added to the product automatically when selecting the delivery mode "Home Delivery". Also the related services to cross store product is added only if it's cross store service too

---
M web/org.openbravo.retail.posterminal/js/components/renderorderline.js
M web/org.openbravo.retail.posterminal/js/hookRenderOrderLine.js
M web/org.openbravo.retail.posterminal/js/model/product.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js
M web/org.openbravo.retail.posterminal/js/receiptMultiLineEdit.js
M web/org.openbravo.retail.posterminal/js/utils/deliveryModeUtils.js
---
(0126070)
hgbot   
2021-02-11 07:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/149 [^]
(0126071)
hgbot   
2021-02-11 07:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 9bbe4f53c4aa4c9f283a3ed40400f03a8e1821e9
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-02-11T06:33:26+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/9bbe4f53c4aa4c9f283a3ed40400f03a8e1821e9 [^]

Fixed BUG-45770: Made remote search to get cross-store services

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0127202)
sebastien_liron   
2021-04-09 16:14   
Is it safe to use this in 20q2 version ( as it is the reporter version ? )