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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038762
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2018-06-14 17:572018-10-22 09:09
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in VersionRR19Q1
StatusclosedFix in branchFixed in SCM revisionf7ca9978f80f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038762: OB.DEC functions does not take the scale from the arguments

DescriptionIn OB.DEC functions the scale to perform calculations is done this way:

var localscale = arg_scale || scale;

In the case of arg_scale === 0 expression takes the value of scale that it is wrong. localscale must be calculated this way:

var localscale = _.isNumber(arg_scale) ? arg_scale : scale;
Steps To ReproduceN/A
Proposed SolutionSee export file attached
TagsNo tags attached.
Attached Files? file icon issue3872.export [^] (1,648 bytes) 2018-06-14 18:01

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038743 closedadrianromero If there is a different currency precision on the foreign currency 

-  Notes
(0107283)
hgbot (developer)
2018-10-15 10:29

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f7ca9978f80f03bb41943753a62393f9f5d3eac9
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jun 14 17:58:44 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f7ca9978f80f03bb41943753a62393f9f5d3eac9 [^]

Fixes issue 38762: OB.DEC functions does not take the scale from the arguments

---
M web/org.openbravo.mobile.core/source/utils/ob-arithmetic.js
---

- Issue History
Date Modified Username Field Change
2018-06-14 17:57 adrianromero New Issue
2018-06-14 17:57 adrianromero Assigned To => adrianromero
2018-06-14 17:57 adrianromero Triggers an Emergency Pack => No
2018-06-14 17:58 adrianromero Relationship added related to 0038743
2018-06-14 18:01 adrianromero File Added: issue3872.export
2018-10-15 10:29 hgbot Checkin
2018-10-15 10:29 hgbot Note Added: 0107283
2018-10-15 10:29 hgbot Status new => resolved
2018-10-15 10:29 hgbot Resolution open => fixed
2018-10-15 10:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f7ca9978f80f03bb41943753a62393f9f5d3eac9 [^]
2018-10-22 09:09 marvintm Review Assigned To => marvintm
2018-10-22 09:09 marvintm Status resolved => closed
2018-10-22 09:09 marvintm Fixed in Version => RR19Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker