Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041047Retail ModulesWeb POSpublic2019-05-07 18:572019-07-09 18:15
barbararoncato 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR19Q1.2RR19Q1.2 
guilleaer
No
0041047: 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 => RR19Q1.3
2019-06-21 16:42hgbotCheckin
2019-06-21 16:42hgbotNote Added: 0112948
2019-06-21 16:42hgbotStatusscheduled => resolved
2019-06-21 16:42hgbotResolutionopen => fixed
2019-06-21 16:42hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e06363a486fc092bdca7210773ff4db6ba5f3bb8 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal/rev/6d6c5cecd1f6c44645aaea602f6550fbaa319f33 [^]
2019-06-25 12:22gorka_gilTarget VersionRR19Q1.3 => RR19Q1.2
2019-06-25 12:24hgbotCheckin
2019-06-25 12:24hgbotNote Added: 0113003
2019-07-09 18:15guilleaerReview Assigned To => guilleaer
2019-07-09 18:15guilleaerStatusresolved => closed
2019-07-09 18:15guilleaerFixed in Version => RR19Q1.2

Notes
(0112948)
hgbot   
2019-06-21 16:42   
Repository: retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal
Changeset: 6d6c5cecd1f6c44645aaea602f6550fbaa319f33
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Jun 20 15:34:27 2019 -0400
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal/rev/6d6c5cecd1f6c44645aaea602f6550fbaa319f33 [^]

Fixed issue 41047: 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
---
(0113003)
hgbot   
2019-06-25 12:24   
Repository: retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal
Changeset: 86372ce6c9dc73cf4301864c1ef034a2f05708c5
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.0RR19Q1.2/org.openbravo.retail.posterminal/rev/86372ce6c9dc73cf4301864c1ef034a2f05708c5 [^]

Related to issue 41047: fix js formater

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