Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036029Retail ModulesWeb POSpublic2017-05-17 19:242017-06-02 18:26
adrianromero 
rqueralta 
urgentmajorhave not tried
closedfixed 
5
 
RR17Q3 
marvintm
No
0036029: [SER-QA 2855] Wrong calculation of quantity in services when sold as deferred
A service configured as not grouped, q does not calculate properly the lines and quantities when sold as deferred.
1. Configure the product Customize Blue trousers as not grouped, quantity rule as per product, and allows deferred sales as true
2. Log in in Web POS.
3. Create a layaway with a line with quantity 3 and product Blue trousers.
4. Pay and close the layaway
5. Load the layaway created and click on the services icon for Blue trousers
6. Select Customize Blue trousers and add to a new ticket

Observe that a new receipt is created with 3 lines and each line with quantity 3. This is wrong. It is expected 3 lines and each line with quantity 1.
SER-QA
Issue History
2017-05-17 19:24adrianromeroNew Issue
2017-05-17 19:24adrianromeroAssigned To => Retail
2017-05-17 19:24adrianromeroResolution time => 1496181600
2017-05-17 19:24adrianromeroTriggers an Emergency Pack => No
2017-05-17 19:24adrianromeroTag Attached: SER-QA
2017-05-24 15:49rqueraltaAssigned ToRetail => rqueralta
2017-05-24 15:49rqueraltaStatusnew => scheduled
2017-05-26 15:10hgbotCheckin
2017-05-26 15:10hgbotNote Added: 0096837
2017-05-26 15:10hgbotStatusscheduled => resolved
2017-05-26 15:10hgbotResolutionopen => fixed
2017-05-26 15:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5f562f444d693fd1ae223fec46990169f9ff8d6f [^]
2017-05-30 13:52marvintmNote Added: 0097011
2017-05-31 20:41hgbotCheckin
2017-05-31 20:41hgbotNote Added: 0097064
2017-06-01 08:42marvintmReview Assigned To => marvintm
2017-06-01 08:42marvintmStatusresolved => closed
2017-06-01 08:42marvintmFixed in Version => RR17Q3
2017-06-02 18:26hgbotCheckin
2017-06-02 18:26hgbotNote Added: 0097116

Notes
(0096837)
hgbot   
2017-05-26 15:10   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5f562f444d693fd1ae223fec46990169f9ff8d6f
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Wed May 24 14:06:34 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5f562f444d693fd1ae223fec46990169f9ff8d6f [^]

Fixed issue 36029: [SER-QA 2855] Wrong calculation of quantity in services when
sold as deferred.

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0097011)
marvintm   
2017-05-30 13:52   
Fix is correct, but it's lacking automated test.
(0097064)
hgbot   
2017-05-31 20:41   
Repository: tools/automation/pi-mobile
Changeset: 17dff43f5323b98f1ac40ac8540f47744c513c30
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue May 30 16:01:05 2017 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/17dff43f5323b98f1ac40ac8540f47744c513c30 [^]

Verifies issue 36029: [SER-QA 2855] Wrong calculation of quantity in services
when sold as deferred

Added automated test 'I36029_VerifyDeferredServiceQuantity'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I36029_VerifyDeferredServiceQuantity.java
---
(0097116)
hgbot   
2017-06-02 18:26   
Repository: tools/automation/pi-mobile
Changeset: 010b481df63f0d1662a3a467ec4204af2ea065b9
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Fri Jun 02 12:01:50 2017 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/010b481df63f0d1662a3a467ec4204af2ea065b9 [^]

Related to issue 36029: [SER-QA 2855] Wrong calculation of quantity in services
when sold as deferred

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I36029_VerifyDeferredServiceQuantity.java
---