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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050286
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo Localizations] Othersmajorhave not tried2022-09-19 18:342023-01-23 13:43
ReporterrtoledanoView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed in Version
StatusresolvedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Regression introduced in release
Summary

0050286: [Belgium Localization] EWI saving Order property Order.bgmtsLinesAmount

DescriptionUsing the module in Norauto Project an EWI was thrown with the following error:

org.openbravo.base.exception.OBException: Error in OrderLoader: Order.bgmtsLinesAmount: Value too long. Length 18, maximum allowed 8 [24.810000000000002]
Steps To Reproduce- Configure MTS on a store
- Log in POS and do a sales with discounts applied
- Pay with cash and complete the sale


The root of this error is because the value for order property bgmtsLinesAmount is not properly scaled up

https://gitlab.com/obcustomers/NOR/org.openbravo.localization.belgium.securityamount/-/blob/7f88cf51604d331a06189f79eb436d638d4c9500/web/org.openbravo.localization.belgium.securityamount/js/hooks/CalculateMTSHook.js#L18 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0141231)
rtoledano (developer)
2022-09-19 18:56

https://gitlab.com/obcustomers/NOR/org.openbravo.localization.belgium.securityamount/-/merge_requests/9 [^]
(0145758)
hgbot (developer)
2023-01-23 13:43

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.belgium.securityamount [^]
Changeset: 68723499c4c5ed592d3709c74b919d07be860f74
Author: Roberto Carlos Toledano Gómez <rctg82@gmail.com>
Date: 19-09-2022 12:40:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.belgium.securityamount/-/commit/68723499c4c5ed592d3709c74b919d07be860f74 [^]

Fixed ISSUE-50286: Properly round up of the order properties bgmtsTotalAmount and bgmtsLinesAmount

---
---

- Issue History
Date Modified Username Field Change
2022-09-19 18:34 rtoledano New Issue
2022-09-19 18:34 rtoledano Assigned To => rtoledano
2022-09-19 18:56 rtoledano Note Added: 0141231
2022-09-23 17:49 rtoledano Assigned To rtoledano => adrianromero
2022-09-26 11:46 adrianromero Status new => closed
2022-09-26 11:46 adrianromero Resolution open => fixed
2023-01-23 13:43 hgbot Status closed => resolved
2023-01-23 13:43 hgbot Note Added: 0145758


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker