Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016059Openbravo ERPA. Platformpublic2011-02-25 14:122011-03-19 00:00
psarobe 
mtaal 
urgentmajoralways
closedfixed 
5
pi 
3.0RC5 
Core
No
0016059: Grid view issue: Strange behaviour using tab key or the mouse plus using comma as decimal separator
Browser: Chrome
Configuration: Comma as decimal separator. Format.xml attached

Depending if you the mouse or the keyboard the grid behaves different. In both situations wrong.

Important: This is a negative test case. You have to type a point as decimal separator
Keyboard:
=========
Sales invoice window
Lines tab
Create a line in grid view. Select a product. Move with the tab till quantity field and type 22.34 and click tab key. Notice that .34 is removed and you only keep 22 and the field has a red colour. See image1.png

Mouse:
======
Sales invoice window
Lines tab
Create a line in grid view. Select a product. Move with the mouse to quantity field and type 22.34 and click Net unit price field with the mouse. Notice that everything is removed. See image2.png
No tags attached.
xml Format.xml (3,239) 2011-02-25 14:12
https://issues.openbravo.com/file_download.php?file_id=3605&type=bug
png image1.PNG (17,408) 2011-02-25 14:23
https://issues.openbravo.com/file_download.php?file_id=3606&type=bug
png

png image2.PNG (19,380) 2011-02-25 14:23
https://issues.openbravo.com/file_download.php?file_id=3607&type=bug
png
Issue History
2011-02-25 14:12psarobeNew Issue
2011-02-25 14:12psarobeAssigned To => mtaal
2011-02-25 14:12psarobeFile Added: Format.xml
2011-02-25 14:12psarobeModules => Core
2011-02-25 14:22psarobeStatusnew => scheduled
2011-02-25 14:22psarobeDescription Updatedbug_revision_view_page.php?rev_id=1526#r1526
2011-02-25 14:22psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1528#r1528
2011-02-25 14:23psarobeFile Added: image1.PNG
2011-02-25 14:23psarobeFile Added: image2.PNG
2011-03-01 09:12hgbotCheckin
2011-03-01 09:12hgbotNote Added: 0034454
2011-03-01 09:12hgbotStatusscheduled => resolved
2011-03-01 09:12hgbotResolutionopen => fixed
2011-03-01 09:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5f15e62d71b31af56ad676dd163b0686d1dc162c [^]
2011-03-18 10:03marvintmStatusresolved => closed
2011-03-19 00:00anonymoussf_bug_id0 => 3224009

Notes
(0034454)
hgbot   
2011-03-01 09:12   
Repository: erp/devel/pi
Changeset: 5f15e62d71b31af56ad676dd163b0686d1dc162c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Mar 01 09:11:35 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5f15e62d71b31af56ad676dd163b0686d1dc162c [^]

Fixes issue 16059: Grid view issue: Strange behaviour using tab key or the mouse plus using comma as decimal separator

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-grid-styles.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/NumberUIDefinition.java
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---