Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040361Retail ModulesWeb POSpublic2019-03-12 15:572019-03-21 18:05
psanjuan 
asiermartirena 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR19Q2 
jorge-garcia
No
0040361: Sales Invoice "Prepayment Amount" field is not properly filled in case of invoicing a prepaid POS order.
Sales Invoice "Prepayment Amount" field is not properly filled in case of invoicing a prepaid POS order.
Setup Channel-Touchpoint Type as:
- Generate Invoice for Orders = Yes
- Group orders in one invoice = No
- Allow prepayments and partial payments = Yes

In Web POS create a new sale for Arturo Montoro. Make sure it is select as Invoice = Yes.
Enter 1 unit of product Avalanche Transceiver. Check that total sales is 150.50.
Prepay only 50.00. Enter approval credentials and approve.

Go to Openbravo backoffice and verify that no prepayment information is shown in the field Prepayment Amount of the corresponding sales invoice. See image attached.

Same applies to any other scenario in which an order (ticket) is prepaid in Web POS, and the corresponding invoice is created.


Prepayment Amount field needs to show order prepaid amount in the corresponding invoice.
No tags attached.
jpg Issue_40361.jpg (81,012) 2019-03-12 16:00
https://issues.openbravo.com/file_download.php?file_id=12737&type=bug
jpg
Issue History
2019-03-12 15:57psanjuanNew Issue
2019-03-12 15:57psanjuanAssigned To => Retail
2019-03-12 15:57psanjuanTriggers an Emergency Pack => No
2019-03-12 15:59psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18428#r18428
2019-03-12 15:59psanjuanProposed Solution updated
2019-03-12 16:00psanjuanFile Added: Issue_40361.jpg
2019-03-12 16:16psanjuanSummarySales Invoice "prepayment amount" is not filled in case a POS order is prepaid. => Sales Invoice "Prepayment Amount" field is not properly filled in case of invoicing a prepaid POS order.
2019-03-12 16:16psanjuanDescription Updatedbug_revision_view_page.php?rev_id=18430#r18430
2019-03-12 17:02asiermartirenaAssigned ToRetail => asiermartirena
2019-03-14 09:15hgbotCheckin
2019-03-14 09:15hgbotNote Added: 0110425
2019-03-14 09:15hgbotStatusnew => resolved
2019-03-14 09:15hgbotResolutionopen => fixed
2019-03-14 09:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9fd763c8ef5926a0f37d080fd1af7237413c14c3 [^]
2019-03-21 16:32jorge-garciaReview Assigned To => jorge-garcia
2019-03-21 18:05jorge-garciaNote Added: 0110555
2019-03-21 18:05jorge-garciaStatusresolved => closed
2019-03-21 18:05jorge-garciaFixed in Version => RR19Q2

Notes
(0110425)
hgbot   
2019-03-14 09:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9fd763c8ef5926a0f37d080fd1af7237413c14c3
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Tue Mar 12 16:57:47 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9fd763c8ef5926a0f37d080fd1af7237413c14c3 [^]

Fixed issue 40361: Set the prepayment to the POS Invoices

---
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---
(0110555)
jorge-garcia   
2019-03-21 18:05   
Code reviewed and tested