Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011701Openbravo ERPB. User interfacepublic2009-12-09 11:112010-03-09 10:23
maite 
dbaz 
urgentmajoralways
closedno change required 
5
2.50MP9 
 
Core
No
0011701: Read only logic in Date or Numeric columns doesn't work properly
If you set a Read Only Logic in a date or numeric column, field is set as non-editable manually but calendar or calculator icons are showed and you can edit and save the field using them.
So field is not really set as read only.
For example:
1. Go to Application Dictionary || Tables and Columns || Table >> Column: table C_ORDER and column DateOrdered.
2. Set Read only Logic: @OrderType@='WP'
3. Save and compile the window
4. Sales Management || Transactions || Sales Order || Header : create new record with Transaction Document=Warehouse Order and save
5. Order Date field is set as non-editable but you can modify and save it by using the calendar icon.
No tags attached.
related to defect 0011426 closed dbaz Read only logic does not work in check boxes 
related to defect 0011719 closed alostale "Read only logic" does not work for selectors like Products or Business Partners 
Issue History
2009-12-09 11:11maiteNew Issue
2009-12-09 11:11maiteAssigned To => rafaroda
2009-12-11 10:36iciordiaAssigned Torafaroda => alostale
2009-12-11 10:38iciordiaStatusnew => scheduled
2009-12-11 10:38iciordiaNote Added: 0022695
2009-12-11 10:38iciordiafix_in_branch => pi
2009-12-11 10:38iciordiaPrioritynormal => urgent
2009-12-11 10:38iciordiafix_in_branchpi =>
2009-12-15 10:20alostaleRelationship addedrelated to 0011719
2009-12-16 18:52networkbIssue Monitored: networkb
2009-12-24 16:49dbazAssigned Toalostale => dbaz
2009-12-24 18:47hgbotCheckin
2009-12-24 18:47hgbotNote Added: 0023084
2009-12-24 18:47hgbotStatusscheduled => resolved
2009-12-24 18:47hgbotResolutionopen => fixed
2009-12-24 18:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f6fc1901e0b09c506365b5c0b9ea2ea8492ccb6a [^]
2010-01-12 12:39sureshbabuNote Added: 0023353
2010-01-12 12:39sureshbabuStatusresolved => new
2010-01-12 12:39sureshbabuResolutionfixed => open
2010-01-12 12:47iciordiaNote Added: 0023355
2010-01-12 13:22plujanNote Added: 0023358
2010-01-12 13:22plujanStatusnew => feedback
2010-01-12 16:39sureshbabuStatusfeedback => scheduled
2010-01-12 16:39sureshbabufix_in_branch => pi
2010-01-12 16:40sureshbabuNote Added: 0023362
2010-01-12 16:40sureshbabuAssigned Todbaz => plujan
2010-01-12 16:40sureshbabuStatusscheduled => acknowledged
2010-01-12 16:59plujanAssigned Toplujan => dbaz
2010-01-12 16:59plujanStatusacknowledged => scheduled
2010-01-12 16:59plujanfix_in_branchpi =>
2010-01-12 16:59plujanNote Added: 0023363
2010-01-12 16:59plujanStatusscheduled => closed
2010-01-12 16:59plujanResolutionopen => no change required
2010-01-13 00:00anonymoussf_bug_id0 => 2930987
2010-01-19 01:41hudsonbotCheckin
2010-01-19 01:41hudsonbotNote Added: 0023516
2010-03-09 10:23rafarodaRelationship addedrelated to 0011426

Notes
(0022695)
iciordia   
2009-12-11 10:38   
Asier, please review the issue with David (hide calendar/calculator buttons or make the input not editable).

Thanks,

Ismael
(0023084)
hgbot   
2009-12-24 18:47   
Repository: erp/devel/pi
Changeset: f6fc1901e0b09c506365b5c0b9ea2ea8492ccb6a
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Dec 24 18:43:48 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f6fc1901e0b09c506365b5c0b9ea2ea8492ccb6a [^]

Fixed issue 11701: Now readOnlyLogic hides the associated fieldButton when required

---
M web/js/appStatus.js
M web/js/utils.js
M web/js/windowKeyboard.js
---
(0023353)
sureshbabu   
2010-01-12 12:39   
Hi David,

After following the given steps, still i can able to change the value in date field by clicking the Calendar icon.
(0023355)
iciordia   
2010-01-12 12:47   
Suresh, are you sure you have cleaned your browser cache?
(0023358)
plujan   
2010-01-12 13:22   
Suresh,

Could you please retest the issue. For step 3, use the following compilation command:

ant compile.development -Dtab=order -Dtr=no
(0023362)
sureshbabu   
2010-01-12 16:40   
Retested its working fine, Pablo can you close this issue.
(0023363)
plujan   
2010-01-12 16:59   
Closing the issue
(0023516)
hudsonbot   
2010-01-19 01:41   
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/f6fc1901e0b0 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7f3a35240cf9 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15846.obx [^]