Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017531Openbravo ERPA. Platformpublic2011-06-07 11:032013-10-16 19:47
rgoris 
mtaal 
highminoralways
closedfixed 
5
pi 
3.0MP4 
Core
No
0017531: Description field with 2 rows looks nasty in grid view
In Payment In (among others) if you enter in the description field in the form two rows (so hitting Enter after the first one) then - once back in grid view - it looks funny in grid view, as 1.5 row is displayed.
Payment in grid
Look at description field
See image
Only display the first row of the description in the grid.
No tags attached.
related to defect 00191143.0MP7 closed mtaal Amounts not formatted properly in grid view 
related to defect 00248783.0MP29 closed shankarb Pick and Execute grid does not truncate multple lines texts 
png DenseDescription.PNG (72,550) 2011-06-07 11:03
https://issues.openbravo.com/file_download.php?file_id=4164&type=bug
png
Issue History
2011-06-07 11:03rgorisNew Issue
2011-06-07 11:03rgorisAssigned To => mtaal
2011-06-07 11:03rgorisFile Added: DenseDescription.PNG
2011-06-07 11:03rgorisModules => Core
2011-06-08 10:34rgorisStatusnew => scheduled
2011-06-22 19:26dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-06-22 20:29dmitry_mezentsevTarget Version3.0MP2 => 3.0MP3
2011-08-31 09:47mtaalTarget Version3.0MP3 => 3.0MP4
2011-09-19 09:04hgbotCheckin
2011-09-19 09:04hgbotNote Added: 0041051
2011-09-19 09:04hgbotStatusscheduled => resolved
2011-09-19 09:04hgbotResolutionopen => fixed
2011-09-19 09:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1b0163898c822fdc4b0bb0826d5fb1a0fe9244f9 [^]
2011-09-19 14:06hgbotCheckin
2011-09-19 14:06hgbotNote Added: 0041068
2011-09-20 15:13rgorisNote Added: 0041140
2011-09-20 15:13rgorisStatusresolved => closed
2011-10-12 01:58hudsonbotCheckin
2011-10-12 01:58hudsonbotNote Added: 0041671
2011-10-12 01:58hudsonbotCheckin
2011-10-12 01:58hudsonbotNote Added: 0041673
2011-12-01 12:01alostaleRelationship addedrelated to 0019114
2013-10-15 10:08shankarbRelationship addedrelated to 0024878
2013-10-15 10:13hgbotCheckin
2013-10-15 10:13hgbotNote Added: 0061672
2013-10-16 19:47hudsonbotCheckin
2013-10-16 19:47hudsonbotNote Added: 0061753

Notes
(0041051)
hgbot   
2011-09-19 09:04   
Repository: erp/devel/pi
Changeset: 1b0163898c822fdc4b0bb0826d5fb1a0fe9244f9
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Sep 19 09:03:36 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1b0163898c822fdc4b0bb0826d5fb1a0fe9244f9 [^]

Fixes issue 17531: Description field with 2 rows looks nasty in grid view
Multi-line content is trimmed/substringed at line break

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0041068)
hgbot   
2011-09-19 14:06   
Repository: erp/devel/pi
Changeset: 5fc5cf465daa7c4ea4622fb911bf6cb789358bca
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Sep 19 14:06:30 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5fc5cf465daa7c4ea4622fb911bf6cb789358bca [^]

Related to issue 17531: Description field with 2 rows looks nasty in grid view
Added ... to truncated string, prevent truncation for hover

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0041140)
rgoris   
2011-09-20 15:13   
Niiiiice!
(0041671)
hudsonbot   
2011-10-12 01:58   
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/9bd2b5c2d982 [^]

Maturity status: Test
(0041673)
hudsonbot   
2011-10-12 01:58   
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/9bd2b5c2d982 [^]

Maturity status: Test
(0061672)
hgbot   
2013-10-15 10:13   
Repository: erp/devel/pi
Changeset: dc34fa9da48db4ecc9f8649fa3718a4b04ca7fec
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Oct 15 13:39:11 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/dc34fa9da48db4ecc9f8649fa3718a4b04ca7fec [^]

Fixes Issue 0024878: Pick and Execute grid does not truncate multple lines texts

The fix for this issue is similar to the fix for issue 17531[1].
There the methods formatDisplayValue and cellHoverHTML were applied to ob-view-grid.js.
Moved it to ob-grid.js for access to view grid and p&e grids.


[1] https://issues.openbravo.com/view.php?id=17531 [^]

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0061753)
hudsonbot   
2013-10-16 19:47   
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/51315988909a [^]

Maturity status: Test