Openbravo Issue Tracking System - POS2
View Issue Details
0056988POS2POSpublic2024-11-05 15:472024-11-06 16:46
psanjuan 
javierRodriguez 
urgentmajoralways
closedfixed 
5
 
25Q1 
Coding ( Testing )
2024-10-31
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/ddca01935e44275bc987bc905803b0ed2a3fa99f [^]
No
0056988: if prepayments is enable, partial payment made are booked positive but also negative so the sale remains unpaid
if prepayments is enable, partial payment made are booked positive but also negative so the sale remains unpaid
- In live builds POS2
- Assign the option "After Delivery" to Arturo Montoro as Invoice Term.
- Assign the option "Pick up in Store" to the product Balaclava Camp.
- Enable the parameter "Generate Simplified Invoice" in the channel touchpoint type
- Enable Prepayment and Partial Payments in the channel touchpoint type
- and enter the "prepayment percentage", and "prepayment percentage limit" (50 - 50 for instance) in the store.

Go to POS2
make a sale to Arturo Montoro for the product, prepay a 50%
Go to orders menu, click on Review Payments and pay the remaining amount
Go to orders menu, and verify that the sale remains unpaid.
Select it and click once more in Review Payments and select cash for instance
Verify that it is possible to pay it once more.
Go to orders menu, and verify that the sales remains unpaid. Open it and realize that for every payment made a negative one has also been created.

See image attached.
No tags attached.
png Screenshot 2024-11-05 150535.png (154,228) 2024-11-05 15:47
https://issues.openbravo.com/file_download.php?file_id=20423&type=bug
png
Issue History
2024-11-05 15:47psanjuanNew Issue
2024-11-05 15:47psanjuanAssigned To => Retail
2024-11-05 15:47psanjuanTriggers an Emergency Pack => No
2024-11-05 15:47psanjuanFile Added: Screenshot 2024-11-05 150535.png
2024-11-05 15:49psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28722#r28722
2024-11-05 17:15javierRodriguezAssigned ToRetail => javierRodriguez
2024-11-05 17:15marvintmStatusnew => acknowledged
2024-11-05 17:15marvintmStatusacknowledged => scheduled
2024-11-05 17:41hgbotNote Added: 0171453
2024-11-06 09:08hgbotResolutionopen => fixed
2024-11-06 09:08hgbotStatusscheduled => closed
2024-11-06 09:08hgbotNote Added: 0171481
2024-11-06 09:08hgbotFixed in Version => 25Q1
2024-11-06 09:08hgbotNote Added: 0171482
2024-11-06 16:46javierRodriguezRegression level => Coding ( Testing )
2024-11-06 16:46javierRodriguezRegression date => 2024-10-31
2024-11-06 16:46javierRodriguezRegression introduced in release => pi
2024-11-06 16:46javierRodriguezRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/ddca01935e44275bc987bc905803b0ed2a3fa99f [^]

Notes
(0171453)
hgbot   
2024-11-05 17:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3056 [^]
(0171481)
hgbot   
2024-11-06 09:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3056 [^]
(0171482)
hgbot   
2024-11-06 09:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 1da1d8d7730fc2bf677cfb56d5161b16ecd033c2
Author: Javier Rodriguez Regueiro <j.rodriguez@orisha.com>
Date: 05-11-2024 17:39:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/1da1d8d7730fc2bf677cfb56d5161b16ecd033c2 [^]

Fixed ISSUE-56988: Do not try to include kit information if there is not any kit in the ticket

---
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/CompleteTicketHooks.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/__test__/CompleteTicketHooks.test.js
---