Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021291Openbravo ERP03. Procurement managementpublic2012-08-02 14:212012-11-13 13:26
maite 
jonalegriaesarte 
immediatemajoralways
closedfixed 
5
 
 
Core
No
0021291: "Create lines from" process does not support decimal quantities in secondary unit field
"Create lines from" process does not support decimal quantities in secondary unit field
1. define product with secondary unit=Liter
2. define UOM conversion between Liter and Unit: Mutiply by 10
3. Create purchase order using that product and add line with:
  secondary unit= liter
  secondary quantity= 2.5 (which will make first uom=25)
4. create goods receipt header and press "Create Lines from" button
5. select your order and realize that secondary unit loaded is 2 instead of 2.5
problem is in file "CreateFrom_ShipmentPO.xml", where "fieldSecQuantity" field is defined as "integerEdition" when it should be "qtyEdition"
No tags attached.
depends on backport 0022282 closed jonalegriaesarte "Create lines from" process does not support decimal quantities in secondary unit field 
Issue History
2012-08-02 14:21maiteNew Issue
2012-08-02 14:21maiteAssigned To => mirurita
2012-08-02 14:21maiteModules => Core
2012-08-02 14:21maiteAssigned Tomirurita => jonalegriaesarte
2012-08-02 14:29hgbotCheckin
2012-08-02 14:29hgbotNote Added: 0051082
2012-08-02 14:29hgbotStatusnew => resolved
2012-08-02 14:29hgbotResolutionopen => fixed
2012-08-02 14:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b3cd7d962aff45fac0ca0401f463d45c601bc940 [^]
2012-08-02 14:42maiteNote Added: 0051084
2012-08-02 14:42maiteStatusresolved => closed
2012-11-13 13:26maiteStatusclosed => new
2012-11-13 13:26maiteResolutionfixed => open
2012-11-13 13:26maiteStatusnew => scheduled
2012-11-13 13:26maitefix_in_branch => pi
2012-11-13 13:26maiteStatusscheduled => resolved
2012-11-13 13:26maiteResolutionopen => fixed
2012-11-13 13:26maiteStatusresolved => closed

Notes
(0051082)
hgbot   
2012-08-02 14:29   
Repository: erp/devel/pi
Changeset: b3cd7d962aff45fac0ca0401f463d45c601bc940
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Thu Aug 02 14:29:14 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b3cd7d962aff45fac0ca0401f463d45c601bc940 [^]

Fixes issue 0021291: "Create lines from" process does not support decimal
quantities in secondary unit field.
The second quantity was rounded to integer because of the format in xml file.
Changed to qtyEdition

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_ShipmentPO.xml
---
(0051084)
maite   
2012-08-02 14:42   
verified