Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017303Openbravo ERP00. Application dictionarypublic2011-05-23 08:582011-06-07 03:56
roklenardic 
marvintm 
urgentmajoralways
closedfixed 
5
pi 
3.0MP03.0MP0 
Core
No
0017303: Read Only field flag does not work
When applying the Read Only flag on the Field level, it does not take effect for the end user.

The problem is with the updateable check in the column. When it is marked then the read only that's not work. For example the field UOM in sales order line is read only and not updateable and works as expected
1. Enable Customization Allowed in System Info
2. Using Windows,Tabs & Fields screen find the Sales Order window
3. in Header tab, set the Read Only flag to the Dcoument No. field.
4. Log out
5. Empty browser cache
6. login using F&B role
7. go to Sales Order screen and create a new record to see that Document No. is still editable
No tags attached.
Issue History
2011-05-23 08:58roklenardicNew Issue
2011-05-23 08:58roklenardicAssigned To => alostale
2011-05-23 08:58roklenardicModules => Core
2011-05-30 12:12iciordiaTarget Version => 3.0MP0
2011-05-30 12:38iciordiaPrioritynormal => urgent
2011-05-30 21:15psarobeDescription Updatedbug_revision_view_page.php?rev_id=2138#r2138
2011-06-01 10:59iperdomoStatusnew => scheduled
2011-06-01 10:59iperdomoAssigned Toalostale => marvintm
2011-06-01 10:59iperdomofix_in_branch => pi
2011-06-01 18:05hgbotCheckin
2011-06-01 18:05hgbotNote Added: 0037891
2011-06-01 18:05hgbotStatusscheduled => resolved
2011-06-01 18:05hgbotResolutionopen => fixed
2011-06-01 18:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/004d22ecb55276ac8a9c44ab1e7873228af07630 [^]
2011-06-03 13:27hudsonbotCheckin
2011-06-03 13:27hudsonbotNote Added: 0037990
2011-06-06 11:13mtaalNote Added: 0038021
2011-06-06 11:13mtaalStatusresolved => new
2011-06-06 11:13mtaalResolutionfixed => open
2011-06-06 12:23hgbotCheckin
2011-06-06 12:23hgbotNote Added: 0038024
2011-06-06 12:23hgbotStatusnew => resolved
2011-06-06 12:23hgbotResolutionopen => fixed
2011-06-06 12:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/004d22ecb55276ac8a9c44ab1e7873228af07630 [^] => http://code.openbravo.com/erp/devel/pi/rev/5e50f384b77134b79fb0eb83f1881a5d94e98aa9 [^]
2011-06-06 12:56mtaalNote Added: 0038027
2011-06-06 12:56mtaalStatusresolved => closed
2011-06-06 12:56mtaalFixed in Version => 3.0MP0
2011-06-07 03:56hudsonbotCheckin
2011-06-07 03:56hudsonbotNote Added: 0038074

Notes
(0037891)
hgbot   
2011-06-01 18:05   
Repository: erp/devel/pi
Changeset: 004d22ecb55276ac8a9c44ab1e7873228af07630
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jun 01 18:04:28 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/004d22ecb55276ac8a9c44ab1e7873228af07630 [^]

Fixed issue 17303. Read only flag will now always work

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0037990)
hudsonbot   
2011-06-03 13:27   
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/2a05e66b60ca [^]

Maturity status: Test
(0038021)
mtaal   
2011-06-06 11:13   
This does not work correctly in grid mode, in form mode the field is disabled, but not in grid edit mode
(0038024)
hgbot   
2011-06-06 12:23   
Repository: erp/devel/pi
Changeset: 5e50f384b77134b79fb0eb83f1881a5d94e98aa9
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 06 12:21:35 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5e50f384b77134b79fb0eb83f1881a5d94e98aa9 [^]

Fixed issue 17303. Added readonly property also in grid view.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-grid.js.ftl
---
(0038027)
mtaal   
2011-06-06 12:56   
Works
(0038074)
hudsonbot   
2011-06-07 03:56   
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/aefaedafb236 [^]

Maturity status: Test