Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0018228 | Openbravo ERP | A. Platform | public | 2011-08-09 09:56 | 2012-01-09 12:40 | ||||||||||||||
Reporter | gorkaion | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | urgent | Severity | minor | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | duplicate | ||||||||||||||||
Platform | OS | 20 | OS Version | Gentoo | |||||||||||||||
Product Version | pi | ||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | User Interface Client Kernel | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0018228: Some grid columns don't have correct width | ||||||||||||||||||
Description | Some grid columns don't honor the width defined on the Application Dictionary. For example on header tab of Sales Invoice window, all numeric columns on the grid have the width adjusted to the label length instead of the width defined on the application dictionary. (Total Gross Amount, Total Paid, Outstanding Amount,...). Checking the Grid definition numeric fields seem to have a "width: 50%" as a editor property but no width defined for the grid. On the code below, first definition is correct and second one is wrong: { autoExpand: true, type: '_id_112', editorProperties: { displayField: null, valueField: null // note need to be repeated for editor fields , columnName: 'C_Currency_Id_To' , inpColumnName: 'inpcCurrencyIdTo' , referencedKeyColumnName: 'C_Currency_ID' , targetEntity: 'Currency' , disabled: false , readonly: false , updatable: true } , width: isc.OBGrid.getDefaultColumnWidth(32), displayField: 'toCurrency._identifier',valueField: 'toCurrency', foreignKeyField: true, name: 'toCurrency', canExport: true, canHide: true, editorType: 'OBFKItem', showHover: true, hoverHTML:"return grid.getDisplayValue(colNum, record[(this.displayField ? this.displayField : 'toCurrency')])" , filterOnKeypress: true, canFilter:true, filterEditorType: 'OBFKFilterTextItem' , title: 'To Currency' , prompt: 'To Currency' , required: true , escapeHTML: true , showIf: 'true' , columnName: 'C_Currency_Id_To' , inpColumnName: 'inpcCurrencyIdTo' , referencedKeyColumnName: 'C_Currency_ID' , targetEntity: 'Currency' } , { autoExpand: false, type: '_id_800019', editorProperties: { "width":"50%" // note need to be repeated for editor fields , columnName: 'Rate' , inpColumnName: 'inprate' , referencedKeyColumnName: '' , targetEntity: '' , disabled: false , readonly: false , updatable: true } , name: 'rate', canExport: true, canHide: true, editorType: 'OBNumberItem' , canFilter:true, filterEditorType: 'OBNumberFilterItem' , title: 'Rate' , prompt: 'Rate' , required: true , escapeHTML: true , showIf: 'true' , columnName: 'Rate' , inpColumnName: 'inprate' , referencedKeyColumnName: '' , targetEntity: '' } | ||||||||||||||||||
Steps To Reproduce | Go to Sales Invoice window and check grid's column width. As System Administrator modify the display length of the fields of that tab. Reload the Sales Invoice window and notice that widths don't change. | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2011-08-09 09:56 | gorkaion | New Issue | |||||||||||||||||
2011-08-09 09:56 | gorkaion | Assigned To | => alostale | ||||||||||||||||
2011-08-09 09:56 | gorkaion | Modules | => User Interface Client Kernel | ||||||||||||||||
2011-08-09 09:57 | gorkaion | Relationship added | related to 0018135 | ||||||||||||||||
2011-12-27 13:12 | VictorVillar | Relationship added | related to 0019371 | ||||||||||||||||
2012-01-09 12:39 | alostale | Relationship replaced | duplicate of 0019371 | ||||||||||||||||
2012-01-09 12:40 | alostale | Note Added: 0044144 | |||||||||||||||||
2012-01-09 12:40 | alostale | Status | new => closed | ||||||||||||||||
2012-01-09 12:40 | alostale | Resolution | open => duplicate |
Notes | |||||
|
|||||
|
|