Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035072Retail ModulesWeb POSpublic2017-01-27 13:592017-02-01 15:55
airaceburu 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q2 
marvintm
No
0035072: The distribution of the payments is wrong in pay open tickets
The distribution of the payments is wrong in pay open tickets
Create 1 ticket with:
-Headlamp ultralight
Add a new ticket without payment this one
Add to this second ticket the product:
-Insect repellent
Add a new ticket without payment this one
Add to this third ticket the product:
-Multi-tool
Go to pay open tickets and select these 3 tickets
Pay 50 with card
Pay the rest with cash

Go to the backend
Open the latest ticket (sales order) and verify that the payments are wrong:
(3th ticket)
50 was paid with card
The rest is paid with cash
(2nd ticket)
14,50 was paid with card
(1st ticket)
18,90 was paid with card
No tags attached.
Issue History
2017-01-27 13:59airaceburuNew Issue
2017-01-27 13:59airaceburuAssigned To => Retail
2017-01-27 13:59airaceburuTriggers an Emergency Pack => No
2017-01-30 09:23airaceburuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14389#r14389
2017-01-30 09:48jorge-garciaStatusnew => scheduled
2017-01-30 09:48jorge-garciaAssigned ToRetail => jorge-garcia
2017-01-30 09:53marvintmResolution time => 1486681200
2017-01-31 16:15hgbotCheckin
2017-01-31 16:15hgbotNote Added: 0093961
2017-01-31 16:16hgbotCheckin
2017-01-31 16:16hgbotNote Added: 0093962
2017-01-31 16:16hgbotStatusscheduled => resolved
2017-01-31 16:16hgbotResolutionopen => fixed
2017-01-31 16:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5888d236a684cadcdb9763cf1fd4f4978eb84bb9 [^]
2017-02-01 15:55marvintmReview Assigned To => marvintm
2017-02-01 15:55marvintmStatusresolved => closed
2017-02-01 15:55marvintmFixed in Version => RR17Q2

Notes
(0093961)
hgbot   
2017-01-31 16:15   
Repository: tools/automation/pi-mobile
Changeset: 419e13634eea440e0071b9a0879f51a0861600f7
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 31 16:14:27 2017 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/419e13634eea440e0071b9a0879f51a0861600f7 [^]

Verifies issue 35072: The distribution of the payments is wrong in pay
open tickets

Added test I35072_CorrectFinancialAccountWithPayOpen.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35072_CorrectFinancialAccountWithPayOpen.java
---
(0093962)
hgbot   
2017-01-31 16:16   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5888d236a684cadcdb9763cf1fd4f4978eb84bb9
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jan 30 17:25:40 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5888d236a684cadcdb9763cf1fd4f4978eb84bb9 [^]

Fixed issue 35072: The distribution of the payments is wrong in pay
open tickets

The payment should iterate and send the actual value through all iterations.

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