Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0050286Openbravo LocalizationsOtherspublic2022-09-19 18:342022-09-26 11:46
rtoledano 
adrianromero 
highmajorhave not tried
closedfixed 
5
 
 
0050286: [Belgium Localization] EWI saving Order property Order.bgmtsLinesAmount
Using 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]
- 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 [^]
No tags attached.
Issue History
2022-09-19 18:34rtoledanoNew Issue
2022-09-19 18:34rtoledanoAssigned To => rtoledano
2022-09-19 18:56rtoledanoNote Added: 0141231
2022-09-23 17:49rtoledanoAssigned Tortoledano => adrianromero
2022-09-26 11:46adrianromeroStatusnew => closed
2022-09-26 11:46adrianromeroResolutionopen => fixed

Notes
(0141231)
rtoledano   
2022-09-19 18:56   
https://gitlab.com/obcustomers/NOR/org.openbravo.localization.belgium.securityamount/-/merge_requests/9 [^]