Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016753Openbravo ERPA. Platformpublic2011-04-11 17:552011-05-12 13:25
AinhoaPagola 
alostale 
highminorhave not tried
closedfixed 
20Ubuntu 8.4
pi 
3.0RC7 
Core
No
0016753: Read only Date fields can be changed
Date type fields can be changed even if they are set to read only.
When set to read only, the calendar icon freezes and is turned to grey color, which is correct. But it is still possible to change the date editing the field manually, without using the calendar icon. And also, the field color is not changed to grey, but the yellow or white color is maintained, which makes it confusing, as it does not look as read only.
For example, date in processed purchased orders.
In this cases, it is not possible to change the date because a trigger avoids it, not because the field is not editable.

No tags attached.
has duplicate defect 00167353.0RC7 closed iperdomo Some read only fields are not completely read only 
related to defect 00167683.0RC7 closed alostale Date changed using calendar icon not detected as change 
blocks defect 00166713.0RC7 closed AinhoaPagola Date can be modified in a processed Internal Consuption 
blocks defect 00165343.0RC7 closed adrianromero the invoice date, when the invoice is voided, should be updatable 
Issue History
2011-04-11 17:55AinhoaPagolaNew Issue
2011-04-11 17:55AinhoaPagolaAssigned To => alostale
2011-04-11 17:55AinhoaPagolaModules => Core
2011-04-14 09:48alostaleRelationship addedduplicate of 0016768
2011-04-14 09:49alostaleRelationship replacedrelated to 0016768
2011-04-14 09:50alostaleTarget Version => 3.0RC7
2011-04-14 09:51alostaleStatusnew => scheduled
2011-04-14 09:51alostalefix_in_branch => pi
2011-04-15 14:45alostaleRelationship addedhas duplicate 0016735
2011-04-20 09:53hgbotCheckin
2011-04-20 09:53hgbotNote Added: 0036037
2011-04-20 09:53hgbotStatusscheduled => resolved
2011-04-20 09:53hgbotResolutionopen => fixed
2011-04-20 09:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4ff40eabc82e522dc811440bb43a73964f0c62ce [^]
2011-04-28 16:12adrianromeroRelationship addedblocks 0016671
2011-04-28 16:48adrianromeroNote Added: 0036172
2011-04-28 16:48adrianromeroStatusresolved => new
2011-04-28 16:48adrianromeroResolutionfixed => open
2011-04-29 15:43AinhoaPagolaPrioritynormal => high
2011-04-29 15:43AinhoaPagolafix_in_branchpi =>
2011-05-02 10:49alostaleStatusnew => scheduled
2011-05-02 10:49alostalefix_in_branch => pi
2011-05-05 13:20adrianromeroRelationship addedblocks 0016534
2011-05-10 10:40adrianromeroStatusscheduled => resolved
2011-05-10 10:40adrianromeroFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/4ff40eabc82e522dc811440bb43a73964f0c62ce [^] => http://code.openbravo.com/erp/devel/pi/rev/46fe7c601a53079c473f68e1de43cb63d4be5958 [^]
2011-05-10 10:40adrianromeroResolutionopen => fixed
2011-05-10 10:40adrianromeroNote Added: 0036602
2011-05-10 10:41adrianromeroNote Added: 0036604
2011-05-10 10:41adrianromeroStatusresolved => closed
2011-05-10 10:42adrianromeroNote Added: 0036605
2011-05-12 13:25hudsonbotCheckin
2011-05-12 13:25hudsonbotNote Added: 0036747

Notes
(0036037)
hgbot   
2011-04-20 09:53   
Repository: erp/devel/pi
Changeset: 4ff40eabc82e522dc811440bb43a73964f0c62ce
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 15 11:20:46 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4ff40eabc82e522dc811440bb43a73964f0c62ce [^]

fixed bug 16753: Read only Date fields can be changed

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
---
(0036172)
adrianromero   
2011-04-28 16:48   
This fix is not working as shown in the blocked issue 16671. When fixing this issue verify that also issue 16671 is fixed.
(0036602)
adrianromero   
2011-05-10 10:40   
Repository: erp/devel/pi
Changeset: 46fe7c601a53079c473f68e1de43cb63d4be5958
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri May 06 17:54:03 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/46fe7c601a53079c473f68e1de43cb63d4be5958 [^] [^]

Related to issue 16671: Date can be modified in a processed Internal Consuption

---
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0036604)
adrianromero   
2011-05-10 10:41   
Verified
(0036605)
adrianromero   
2011-05-10 10:42   
* Testing the issue

This issue is the root cause of related issues 16671 and 16534. Just testing these issues verifies this one.
(0036747)
hudsonbot   
2011-05-12 13:25   
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/c40e579fcd38 [^]

Maturity status: Test