Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011838Openbravo ERPA. Platformpublic2009-12-22 10:072010-03-10 18:28
psarobe 
alostale 
urgentmajoralways
closedfixed 
5
 
 
Core
No
0011838: Read only logic vs read only: Behavior is not correct when both are filled
When the field Read only is marked and also the column Read only logic is filled, the behavior of the ERP is not correct.

The behavior is that the Read only logic property is on top of Read only, so finally the field is not read only and in some cases the combo, if it the case, is broken
1. Login as system administrator role
2. Go to C_INVOICE table (Application dictionary->Tables and columns)
3. Fill the field Read only logic in the document status column @Processed='Y'@
4. Go to the corresponding field (Sales invoice window) and ensure the flag Read only logic is marked

Compile the window

You will see that the field (right bottom) document status is editable and this is wrong
1. Create a trigger that does not allow you to have both things at the same time
or
2. If the flag read only is marked, then the ERP does not care about Read only logic filed
No tags attached.
Issue History
2009-12-22 10:07psarobeNew Issue
2009-12-22 10:07psarobeAssigned To => alostale
2009-12-22 10:10psarobeStatusnew => scheduled
2009-12-22 10:10psarobefix_in_branch => pi
2010-02-16 12:40hgbotCheckin
2010-02-16 12:40hgbotNote Added: 0024401
2010-02-16 12:40hgbotStatusscheduled => resolved
2010-02-16 12:40hgbotResolutionopen => fixed
2010-02-16 12:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/149a9b882e5ccb409f8118952be88c4e0e63ccf1 [^]
2010-02-17 16:55dbazNote Added: 0024498
2010-02-17 16:55dbazStatusresolved => closed
2010-02-18 00:00anonymoussf_bug_id0 =>
2010-02-18 00:31hudsonbotCheckin
2010-02-18 00:31hudsonbotNote Added: 0024533
2010-03-10 18:28anonymoussf_bug_id => 2967966

Notes
(0024401)
hgbot   
2010-02-16 12:40   
Repository: erp/devel/pi
Changeset: 149a9b882e5ccb409f8118952be88c4e0e63ccf1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Feb 16 12:40:51 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/149a9b882e5ccb409f8118952be88c4e0e63ccf1 [^]

fixed bug 11838: Do not add read only logic for read only fields

---
M src-wad/src/org/openbravo/wad/WadUtility.java
---
(0024498)
dbaz   
2010-02-17 16:55   
Now it works
(0024533)
hudsonbot   
2010-02-18 00:31   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/149a9b882e5c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]