Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021575Openbravo ERP07. Sales managementpublic2012-09-07 10:402012-09-26 17:18
jecharri 
jecharri 
highminoralways
closedfixed 
5
pi 
3.0MP16 
egoitz
Google Chrome
Core
No
0021575: The function m_inout_create can create a number with a big qty of decimals.
The 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;

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.
No tags attached.
related to defect 00229163.0MP20 closed dmiguelez The fix to 21575 issue was deleted 
Issue History
2012-09-07 10:40jecharriNew Issue
2012-09-07 10:40jecharriAssigned To => jecharri
2012-09-07 10:40jecharriWeb browser => Google Chrome
2012-09-07 10:40jecharriModules => Core
2012-09-07 10:40jecharriResolution time => 1350252000
2012-09-07 11:06hgbotCheckin
2012-09-07 11:06hgbotNote Added: 0051916
2012-09-07 11:06hgbotStatusnew => resolved
2012-09-07 11:06hgbotResolutionopen => fixed
2012-09-07 11:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5d92fcb2d39fee9c1bd8aea411332fa99d4cc0c1 [^]
2012-09-10 16:58jecharriNote Added: 0051971
2012-09-14 08:46egoitzClosed by => egoitz
2012-09-14 08:46egoitzNote Added: 0052098
2012-09-14 08:46egoitzStatusresolved => closed
2012-09-26 17:18hudsonbotCheckin
2012-09-26 17:18hudsonbotNote Added: 0052703
2013-01-28 17:37ngarciaRelationship addedrelated to 0022916

Notes
(0051916)
hgbot   
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   
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   
2012-09-14 08:46   
verified
(0052703)
hudsonbot   
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