Openbravo Issue Tracking System - POS2
View Issue Details
0058187POS2POSpublic2025-02-19 22:272025-03-28 08:22
sofidossant 
dmytro_tarasov 
highmajoralways
closedduplicate 
5
pi 
25Q1.1 
open
OBPS
122042
No
0058187: ERROR Prepayments in the report cashup
When I make a prepayment in POS2 and I add a different amount in the payment, we see different errors:

1- When I close till in the report, in the net prepayment part, the amounts are incorrect.

2- When I check the sales order related to the prepayment I made, the prepayment amount field is 0.

3- After paying the rest of the prepayment in POS2 and delivering it, if we close the till again, the amounts in the Gross sale and Net prepayments are incorrect.
The organization “Vallblanca store” Inside “Retail Configuration” we modified the prepayment fields and they are as follows:

Prepayment Percentage : 30,
Prepayment Percentage Limit : 100,
Prepayment Algorithm : Prepayments as percentage of goods deliver
Prepayment delivery modes : Only those defined

Also in the “Prepayment Delivery Mode” tab we added the “Pick up in store” mode.

Log in POS2 with the Openbravo user: openbravo

Choose the business partner, in this case Arturo montoro

Select “pick up in store” so it allows us to make the prepayment.

Select a product, in my case select “Avalanche transceiver”.
We make the prepayment of 50 in “Cash”.

We see the print as it appears correctly.

We do the store closing and we see the first error “it shows 45,50” when it should show “50”.

We go to the backoffice and check the sale order (same order number that appears in the print)

We check the payment plan and see that we have delivered 50 cash and the value of the product.

We check the sale invoice related to the order and we see in the field prepayment amount is 0, and not 50.

We go back to pos2 and make the initial cash up, which is 50 (since the bp delivered that amount).

We select the order and we pay the rest of the payment.

We make the delivery of the product (with the option Issue order)

We do the closing till and see the cashup report,
We find errors in:
 the amount of Gross Sale, because we see the amount 150.50 in the taxes.
 the amount in the net prepayment, because we see the amount 150.50 in negative and another amount and total that we don't identify the reason.

I attached the video: https://drive.google.com/file/d/1IzN1BqzFQqSfw3kN0xjAmLigZUWGqkWf/view?usp=sharing [^]
No tags attached.
blocks defect 0058037 closed dmytro_tarasov ERROR Prepayments in the report cashup 
Issue History
2025-03-10 15:05migueldejuanaTypedefect => backport
2025-03-10 15:05migueldejuanaTarget Version => 25Q1.1
2025-03-10 15:09migueldejuanaNote Added: 0176617
2025-03-28 08:22AugustoMauchNote Added: 0177669
2025-03-28 08:22AugustoMauchStatusscheduled => closed
2025-03-28 08:22AugustoMauchResolutionopen => duplicate

Notes
(0176617)
migueldejuana   
2025-03-10 15:09   
The backport will need this commit to be fixed completely: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/66699228a687797c6b54635eee125879728d69c8 [^]
(0177669)
AugustoMauch   
2025-03-28 08:22   
Exported to Jira: https://openbravo.atlassian.net/browse/RM-24415 [^]