Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041046Retail ModulesWeb POSpublic2019-05-07 18:572019-08-22 14:47
barbararoncato 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR19Q2.1RR19Q2.1 
guilleaer
No
0041046: Deferred service not invoiced.
Deferred service not invoiced.
Steps to reproduce:
1. Log into webPOS
2. Add a cliente with Invoice Terms = After Order Delivery
3. Select option "Layaway this receipt"
4. Add a product with stock and delivery condition = Pick and Carry
5. Click on the total amount and layaway the receipt
--- In backend, the layaway has qty delivered = 0 and qty invoiced = 0.
6. Go to webPOS again and open the layaway.
7. Add a deferred service and pay it totally.
--- In backend, the order with the service has qty delivered = 0 and qty invoiced = 0.
8. Go to webPOS again, open the layaway from step 5 and pay it totally.
--- In backend, the layaway now has qty delivered = 1 and qty invoiced = 1 the order with the service has qty delivered = 1 and qty invoiced = 0.


Order: https://drive.google.com/open?id=1HSQeFUefnkc-wIC-3w27dKmnLkEkRhxy [^]
Service: https://drive.google.com/open?id=1K5EpeOcnbQn9IiVZB845EAJyJWHR6eml [^]
Solution set in the attached file
No tags attached.
blocks defect 0040805 closed rqueralta Deferred service not invoiced. 
Issue History
2019-06-06 20:29marvintmTypedefect => backport
2019-06-06 20:29marvintmTarget Version => RR19Q2.1
2019-06-21 18:13hgbotCheckin
2019-06-21 18:13hgbotNote Added: 0112949
2019-06-21 18:13hgbotStatusscheduled => resolved
2019-06-21 18:13hgbotResolutionopen => fixed
2019-06-21 18:13hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e06363a486fc092bdca7210773ff4db6ba5f3bb8 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/769d4ccf0ccd6cdbd6e529acd44b2460f719603c [^]
2019-07-11 18:51hgbotCheckin
2019-07-11 18:51hgbotNote Added: 0113299
2019-07-15 17:47hgbotCheckin
2019-07-15 17:47hgbotNote Added: 0113382
2019-07-17 15:54guilleaerReview Assigned To => guilleaer
2019-07-17 15:54guilleaerStatusresolved => closed
2019-07-17 15:54guilleaerFixed in Version => RR19Q2.1
2019-08-22 14:47hgbotCheckin
2019-08-22 14:47hgbotNote Added: 0114235

Notes
(0112949)
hgbot   
2019-06-21 18:13   
Repository: retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal
Changeset: 769d4ccf0ccd6cdbd6e529acd44b2460f719603c
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Jun 21 12:12:53 2019 -0400
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/769d4ccf0ccd6cdbd6e529acd44b2460f719603c [^]

Fixed issue 41046: The deferred service can generate the invoice now

When a deferred service is delivered due to an order loader hook, the invoice is not created in the case that should. Now, it will be possible to load again that order in the Web POS and synchronize it again creating the invoice for the deferred service lines.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0113299)
hgbot   
2019-07-11 18:51   
Repository: retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal
Changeset: f0815bcc86b3c459f532946954a85832db2b0864
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Jun 25 12:24:13 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.1/org.openbravo.retail.posterminal/rev/f0815bcc86b3c459f532946954a85832db2b0864 [^]

Related to issue 41046: fix js formater

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0113382)
hgbot   
2019-07-15 17:47   
Repository: retail/backports/3.0RR19Q2.1/pi-mobile
Changeset: 65742df92e59f210282168e2a80d4764153d2c7b
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Jun 06 14:24:01 2019 -0400
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2.1/pi-mobile/rev/65742df92e59f210282168e2a80d4764153d2c7b [^]

Related to issue 41046: The deferred service can generate the invoice now

- Changed the expected invoice quantity beacuse the layaway ticket is not invoiced

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsPrepaymentAmountLayaway280.java
---
(0114235)
hgbot   
2019-08-22 14:47   
Repository: tools/automation/pi-mobile
Changeset: 0428101d09c48456c66dff6afaa40f0db8ee0e09
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Aug 20 14:11:41 2019 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0428101d09c48456c66dff6afaa40f0db8ee0e09 [^]

Related to issue 41046: added automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I41046_VerifyDeferredServiceIsInvoiced.java
---