Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041402Retail ModulesWeb POSpublic2019-07-18 18:232019-08-05 08:55
aaroncalero 
alekosmp86 
highmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
No
0041402: Services ignore the Grouped Product configuration after a Cancel and Replace
Services ignore the Grouped Product configuration after a Cancel and Replace.
When the same service is related to different lines before and after a cancel and replace process, the service quantity rules ignore the grouped property and always treat the service as a non-grouped product.

This causes problems when delivering the service because both service lines remain related to all products.
Login in backend, go to the product window, find the Delivery Service record and change its quantity rule to As Per Product.

Login in WebPOS
Create a new ticket
Convert it into a Layaway (Menu > Layaway this Receipt)
Add a Sofa
Add a Bed
Click on the Related Services button of the Sofa line and add a Delivery Service.
Click on the Total Amount button and then click on Layaway to confirm the layaway.

Load the Layaway again
Go to the Menu > Cancel and Replace
Click on the Related Services button of the Bed line and add a Delivery Service.
=> Verify that a new Delivery Service line has been created, and that both services keep a relationship to both the Sofa and the Bed.
Attached a patch that ensures that the groupService property (the groupedProduct equivalent for services) is correctly loaded when a ticket is loaded in WebPOS.
No tags attached.
diff Issue41402.diff (624) 2019-07-18 18:28
https://issues.openbravo.com/file_download.php?file_id=13153&type=bug
Issue History
2019-07-18 18:23aaroncaleroNew Issue
2019-07-18 18:23aaroncaleroAssigned To => Retail
2019-07-18 18:23aaroncaleroTriggers an Emergency Pack => No
2019-07-18 18:23aaroncaleroResolution time => 1564610400
2019-07-18 18:28aaroncaleroFile Added: Issue41402.diff
2019-08-01 20:54alekosmp86Assigned ToRetail => alekosmp86
2019-08-02 20:02hgbotCheckin
2019-08-02 20:02hgbotNote Added: 0113792
2019-08-02 20:02hgbotStatusnew => resolved
2019-08-02 20:02hgbotResolutionopen => fixed
2019-08-02 20:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/112cf32274eba3b3f403f25663d6cd7c8405fe20 [^]
2019-08-05 08:55marvintmReview Assigned To => marvintm
2019-08-05 08:55marvintmStatusresolved => closed
2019-08-05 08:55marvintmFixed in Version => RR19Q4

Notes
(0113792)
hgbot   
2019-08-02 20:02   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 112cf32274eba3b3f403f25663d6cd7c8405fe20
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Thu Aug 01 15:28:55 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/112cf32274eba3b3f403f25663d6cd7c8405fe20 [^]

Fixed issue 41402: Services no longer ignore the Grouped Product configuration
after a Cancel and Replace

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