Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019482Openbravo ERPA. Platformpublic2012-01-12 15:452022-02-01 08:08
jecharri 
Triage Platform Base 
highminorhave not tried
acknowledgedopen 
5
pi 
 
Core
No
0019482: Problems with "read only logic" and refresh
When one field has a "read only logic", this field is readable until the condition is false and you push the refresh button.
As System Administrator go to window "Tables and columns":
-select the table "AD_OrgInfo"
-go to columns tab and add to the column "C_Location_ID" the "read only logic" --> @AD_Org_ID@ = undefined
Now, as "Group Admin" go to window "Organization":
-select one "Organization"
-Go to tab "Information" and delete the record.
-create one (in form view). You will see that the field "Location/Address" is only readable (must be updatable after you save the record)
-Save it.
-The field "Location/Address" continue being only readable.
-Now push in the refresh button of the toolbar and you will see that the field become updatable
No tags attached.
Issue History
2012-01-12 15:45jecharriNew Issue
2012-01-12 15:45jecharriAssigned To => alostale
2012-01-12 15:45jecharriModules => Core
2012-01-14 14:54jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3057#r3057
2012-02-22 16:13alostaleStatusnew => scheduled
2012-02-22 16:13alostaleTarget Version3.0MP10 =>
2012-06-08 11:38alostaleNote Added: 0049709
2012-06-08 11:38alostaleTypedefect => design defect
2012-09-24 20:55AugustoMauchNote Added: 0052403
2017-03-31 14:36alostaleStatusscheduled => acknowledged
2017-04-10 14:33alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0049709)
alostale   
2012-06-08 11:38   
Updating to design defect.

The described read only logic is a work around to detect new record. Save action doesn't evaluate read only/display logic because it is not expected to change values.

Proper solution would be to implement a better way to detect new record in display/read only logic.
(0052403)
AugustoMauch   
2012-09-24 20:55   
Effort: 4
Impact: mid
Plan: short