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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021575
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2012-09-07 10:402012-09-26 17:18
ReporterjecharriView Statuspublic 
Assigned Tojecharri 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision5d92fcb2d39f
ProjectionnoneETAnoneTarget Version3.0MP16
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toegoitz
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021575: The function m_inout_create can create a number with a big qty of decimals.

DescriptionThe function m_inout_create can create a number with a big qty of decimals.

The problem is the line:
v_QtyOrder:=ol.QuantityOrder*v_Qty/ol.QtyOrdered;

Steps To ReproduceConfigure one product with second unit.
Create a "Sales order" and put qty's with decimals.
After that go to window "Create shipments from Orders" and select the previous order.

You will see that column "quantityordered" in table "m_inoutline" fill with number with a really big qty of decimals.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00229163.0MP20 closeddmiguelez The fix to 21575 issue was deleted 

-  Notes
(0051916)
hgbot (developer)
2012-09-07 11:06

Repository: erp/devel/pi
Changeset: 5d92fcb2d39fee9c1bd8aea411332fa99d4cc0c1
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Sep 07 10:41:55 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5d92fcb2d39fee9c1bd8aea411332fa99d4cc0c1 [^]

FIxes issue 21575: The function m_inout_create can create a number with a big qty of decimals

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0051971)
jecharri (developer)
2012-09-10 16:58

Configure one product with second unit.
Create a "Sales order" and put qty's with decimals.
After that go to window "Create shipments from Orders" and select the previous order.

You will see that column "quantityordered" in table "m_inoutline" fill with number with a really big qty of decimals.

Verify that now the decimals and Round to standard precision of the Unit of measure.
(0052098)
egoitz (developer)
2012-09-14 08:46

verified
(0052703)
hudsonbot (developer)
2012-09-26 17:18

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-09-07 10:40 jecharri New Issue
2012-09-07 10:40 jecharri Assigned To => jecharri
2012-09-07 10:40 jecharri Web browser => Google Chrome
2012-09-07 10:40 jecharri Modules => Core
2012-09-07 10:40 jecharri Resolution time => 1350252000
2012-09-07 11:06 hgbot Checkin
2012-09-07 11:06 hgbot Note Added: 0051916
2012-09-07 11:06 hgbot Status new => resolved
2012-09-07 11:06 hgbot Resolution open => fixed
2012-09-07 11:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5d92fcb2d39fee9c1bd8aea411332fa99d4cc0c1 [^]
2012-09-10 16:58 jecharri Note Added: 0051971
2012-09-14 08:46 egoitz Closed by => egoitz
2012-09-14 08:46 egoitz Note Added: 0052098
2012-09-14 08:46 egoitz Status resolved => closed
2012-09-26 17:18 hudsonbot Checkin
2012-09-26 17:18 hudsonbot Note Added: 0052703
2013-01-28 17:37 ngarcia Relationship added related to 0022916


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker