Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038779
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-06-18 12:292018-10-23 16:36
ReporterumartirenaView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona8ca29e7e59d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038779: Change payments having big difference conversion rates between currencies are created in positive when should be negative

DescriptionChange payments having big difference conversion rates between currencies are created in positive when should be negative.
Steps To Reproduce    * First update the Format.xml configuration file with the following entries and rebuild the instance:
   <Number name="generalQtyRelation"
       decimal="." grouping="," formatOutput="#,##0.############" formatInternal="#0.000000000000" />
   <Number name="generalQtyEdition"
       decimal="." grouping="," formatOutput="#0.############" formatInternal="#0.000000000000" />
   <Number name="generalQtyExcel"
       decimal="." grouping="," formatOutput="#,##0.############" formatInternal="#0.000000000000" />

In https://livebuilds.openbravo.com/retail_pi_pgsql: [^]
 * Go to Conversion Rates window and change following currency conversions:
   - AUD-EUR:
      * Multiply by Rate: 4500
      * Divide by Rate: 0.000222222222
   - EUR-AUD:
      * Multiply by Rate: 0.000222222222
      * Divide by Rate: 4500
 * Log in in Web POS in terminal VBS1001CR
 * Add a "All Mountain ski board Cham"
 * Go to payments and pay 250 EUR
 * Select AUD as change payment.
 * Check change is $0.00
 * Close the ticket.

 * Go to backoffice:
 * In Sales Order window find the created order.
 * Go to payment plan and check that there is -9.00 outstanding amount, when it should be 0.00.
 * Go to Payment Plan details and check that there is one payment of 4.50€ that should be -4.50€.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0107273)
hgbot (developer)
2018-10-15 10:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a8ca29e7e59d15f4115c03bea1ec86d139df89d7
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Jun 20 12:52:51 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a8ca29e7e59d15f4115c03bea1ec86d139df89d7 [^]

Fixes bug 38779: Change payments with multicurrency difference are created with proper sign

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---
(0107274)
hgbot (developer)
2018-10-15 10:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ef6f94efb3ce7b3445c2c9bd50873af4999a8607
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Jun 20 13:00:35 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ef6f94efb3ce7b3445c2c9bd50873af4999a8607 [^]

Related to issue 38779: Fix mul operation, don't use bigdecimal library

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0107530)
migueldejuana (developer)
2018-10-23 16:36

Tested and reviewed

- Issue History
Date Modified Username Field Change
2018-06-18 12:29 umartirena New Issue
2018-06-18 12:29 umartirena Assigned To => Retail
2018-06-18 12:29 umartirena Triggers an Emergency Pack => No
2018-06-18 12:29 umartirena Resolution time => 1531087200
2018-06-21 13:56 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-06-21 13:56 ranjith_qualiantech_com Status new => scheduled
2018-07-06 08:00 migueldejuana Resolution time 1531087200 => 1532296800
2018-07-26 11:56 marvintm Resolution time 1532296800 => 1534284000
2018-08-16 14:33 marvintm Resolution time 1534284000 => 1535234400
2018-08-23 10:23 marvintm Resolution time 1535234400 => 1536962400
2018-09-12 17:44 marvintm Resolution time 1536962400 =>
2018-09-12 17:44 marvintm Assigned To ranjith_qualiantech_com => adrianromero
2018-10-15 10:23 hgbot Checkin
2018-10-15 10:23 hgbot Note Added: 0107273
2018-10-15 10:23 hgbot Status scheduled => resolved
2018-10-15 10:23 hgbot Resolution open => fixed
2018-10-15 10:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a8ca29e7e59d15f4115c03bea1ec86d139df89d7 [^]
2018-10-15 10:23 hgbot Checkin
2018-10-15 10:23 hgbot Note Added: 0107274
2018-10-23 09:29 adrianromero Steps to Reproduce Updated View Revisions
2018-10-23 16:36 migueldejuana Review Assigned To => migueldejuana
2018-10-23 16:36 migueldejuana Note Added: 0107530
2018-10-23 16:36 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker