Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017492Openbravo ERP03. Procurement managementpublic2011-06-03 13:172011-06-09 16:10
xabiermerino 
iperdomo 
immediatemajoralways
closedfixed 
5
3.0RC7 
3.0MP0 
Core
No
0017492: Order Quantity and Order UOM fields do not display after record is saved (all windows)
Order Quantity and Order UOM fields do not display after record is saved (all windows)

It is necessary display the tab UOM in product and fields 'Order UOM' and 'Order Quantity' in order's lines.
- As Admin select a product and create a UOM
- Go to purchase order and create a line
- select the product
- introduce values in fields.
- Save
- Go to grid view.
- Open the record in form view again
- realize that fields have disappeared.
No tags attached.
Issue History
2011-06-03 13:17xabiermerinoNew Issue
2011-06-03 13:17xabiermerinoAssigned To => dalsasua
2011-06-03 13:17xabiermerinoModules => Core
2011-06-03 13:18xabiermerinoIssue Monitored: networkb
2011-06-07 13:26dalsasuaTarget Version3.0MP0 =>
2011-06-07 16:16dalsasuaAssigned Todalsasua => alostale
2011-06-07 16:23psarobeNote Added: 0038140
2011-06-07 16:23psarobeStatusnew => closed
2011-06-07 16:23psarobeResolutionopen => no change required
2011-06-07 16:36psarobeStatusclosed => new
2011-06-07 16:36psarobeResolutionno change required => open
2011-06-07 16:38psarobeNote Edited: 0038140bug_revision_view_page.php?bugnote_id=0038140#r2191
2011-06-07 16:40psarobePriorityurgent => immediate
2011-06-07 16:40psarobeStatusnew => scheduled
2011-06-07 16:40psarobeTarget Version => 3.0MP0
2011-06-07 16:40psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2193#r2193
2011-06-08 16:38alostaleAssigned Toalostale => iperdomo
2011-06-08 18:11hgbotCheckin
2011-06-08 18:11hgbotNote Added: 0038183
2011-06-08 18:11hgbotStatusscheduled => resolved
2011-06-08 18:11hgbotResolutionopen => fixed
2011-06-08 18:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bbb3b84c078085da4b2c2ac15fa69783af23a371 [^]
2011-06-09 16:10marvintmStatusresolved => closed

Notes
(0038140)
psarobe   
2011-06-07 16:23   
(edited on: 2011-06-07 16:38)
It seems the display logic is not working properly since you see them but after moving back to form view you don't them anymore:

1. Click new in form view. You see the fields
2. Save and you keep seeing the fields
3. Move back to grid view
4. Move back to form view. Then you don't see the fields

(0038183)
hgbot   
2011-06-08 18:11   
Repository: erp/devel/pi
Changeset: bbb3b84c078085da4b2c2ac15fa69783af23a371
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Wed Jun 08 18:02:59 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bbb3b84c078085da4b2c2ac15fa69783af23a371 [^]

Fixes issue 17492: Use Object instead of String on aux-input computation
- Auxiliar inputs can return a number from a select statement, if the value is
    read as String, the display logic or read-only logic will fail since this
    expression is false: "1" === 1

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
---