Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024839Retail ModulesWeb POSpublic2013-09-27 13:252013-10-17 18:31
jecharri 
marvintm 
immediatecriticalalways
closedfixed 
5
RMP26.1 
RMP27RMP27 
guilleaer
No
0024839: Problems with multicurrency
Problems with multicurrency
-Configure 2 payment types:
+one in EUR
+another one in ZAR

-Create 1 to 10 conversion rate
-Go to Web POS (configured in EUR) and create a ticket (to be invoiced) with value 1.30
-pay in ZAR's with 20 ZAR's and return 0,7 EUR

After that go to payment report and check that will see the invoice in 2 sites:
-awaiting payment
-Deposited not Cleared

The problem is that there are 4 payment schedule details instead of 2. If you execute the following query:
select * from fin_payment_scheduledetail order by created desc limit 4;

you will see that there are 2 PSD's without any payment detail related.
No tags attached.
Issue History
2013-09-27 13:25jecharriNew Issue
2013-09-27 13:25jecharriAssigned To => marvintm
2013-09-27 13:25jecharriResolution time => 1380578400
2013-09-27 13:25jecharriTriggers an Emergency Pack => No
2013-09-30 17:01marvintmNote Added: 0061492
2013-09-30 17:01hgbotCheckin
2013-09-30 17:01hgbotNote Added: 0061493
2013-09-30 17:01hgbotStatusnew => resolved
2013-09-30 17:01hgbotResolutionopen => fixed
2013-09-30 17:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^]
2013-09-30 18:12guilleaerReview Assigned To => guilleaer
2013-09-30 18:12guilleaerNote Added: 0061496
2013-09-30 18:12guilleaerStatusresolved => closed
2013-09-30 18:12guilleaerFixed in Version => RMP27
2013-10-04 09:28hgbotCheckin
2013-10-04 09:28hgbotNote Added: 0061534
2013-10-04 09:28hgbotStatusclosed => resolved
2013-10-04 09:28hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^]
2013-10-04 09:29guilleaerNote Added: 0061538
2013-10-04 09:29guilleaerStatusresolved => closed
2013-10-16 13:38hgbotCheckin
2013-10-16 13:38hgbotNote Added: 0061695
2013-10-16 13:38hgbotStatusclosed => resolved
2013-10-16 13:38hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^]
2013-10-17 18:31guilleaerNote Added: 0061786
2013-10-17 18:31guilleaerStatusresolved => closed

Notes
(0061492)
marvintm   
2013-09-30 17:01   
The problem can also be more easily reproduced by adding two payments (with two different payment methods) to a single order.

So, for example, by creating an order with total 200 euro, and paying 100 euro with cash, and 100 by credit card.
(0061493)
hgbot   
2013-09-30 17:01   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ee0853118799df4a62788ce5327ca3a859e54fca
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 30 17:01:36 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^]

Fixed issue 24839. Payment schedule details will be created for the amount of the particular payment, and not for the total order. This will prevent duplicated payment schedule details from appearing.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0061496)
guilleaer   
2013-09-30 18:12   
verified
(0061534)
hgbot   
2013-10-04 09:28   
Repository: erp/pmods/org.openbravo.retail.posterminal-levelpricing
Changeset: ee0853118799df4a62788ce5327ca3a859e54fca
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 30 17:01:36 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-levelpricing/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^]

Fixed issue 24839. Payment schedule details will be created for the amount of the particular payment, and not for the total order. This will prevent duplicated payment schedule details from appearing.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0061538)
guilleaer   
2013-10-04 09:29   
reclosed
(0061695)
hgbot   
2013-10-16 13:38   
Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: ee0853118799df4a62788ce5327ca3a859e54fca
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 30 17:01:36 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/ee0853118799df4a62788ce5327ca3a859e54fca [^]

Fixed issue 24839. Payment schedule details will be created for the amount of the particular payment, and not for the total order. This will prevent duplicated payment schedule details from appearing.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0061786)
guilleaer   
2013-10-17 18:31   
reclosed