Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023154Openbravo ERPA. Platformpublic2013-02-25 09:152013-02-28 16:39
dmiguelez 
AugustoMauch 
immediatecriticalalways
closedfixed 
20Community Appliance
 
3.0MP21 
shankarb
Core
Pre packaging ( pi )
2013-02-15
https://code.openbravo.com/erp/devel/pi/rev/57378b7ff2bd78d52d69b051cd7683e540e47f87 [^]
No
0023154: Read only logic not working as expected.
Columns with a Read Only logic defined in a similar way to :
@FIN_Payment_ID@ ! ''
Are not working as expected
Login as Openbravo/openbravo

Go to G/L Journal Window.
Create a new Batch.
Create a new Header.
Create a new Line.
Check the Open Items checkbox and realize that fields like the Financial Acccount or Payment Method are not editable, and they should be.
No tags attached.
related to defect 00230683.0MP21 closed AugustoMauch Sorting by computed column is lost after saving a record with errors 
Issue History
2013-02-25 09:15dmiguelezNew Issue
2013-02-25 09:15dmiguelezAssigned To => AugustoMauch
2013-02-25 09:15dmiguelezModules => Core
2013-02-25 09:15dmiguelezTriggers an Emergency Pack => No
2013-02-25 10:49AugustoMauchRegression level => Pre packaging ( pi )
2013-02-25 10:49AugustoMauchRegression date => 2013-02-15
2013-02-25 10:49AugustoMauchRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/57378b7ff2bd78d52d69b051cd7683e540e47f87 [^]
2013-02-25 10:55AugustoMauchRelationship addedrelated to 0023068
2013-02-25 11:07AugustoMauchIssue Monitored: shankarb
2013-02-25 11:07AugustoMauchReview Assigned To => shankarb
2013-02-25 11:08hgbotCheckin
2013-02-25 11:08hgbotNote Added: 0056742
2013-02-25 11:08hgbotStatusnew => resolved
2013-02-25 11:08hgbotResolutionopen => fixed
2013-02-25 11:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/51672575b04f50fb9798ac3dc7a01397d40f7d26 [^]
2013-02-26 12:38shankarbNote Added: 0056766
2013-02-26 12:38shankarbNote Added: 0056767
2013-02-26 12:38shankarbStatusresolved => closed
2013-02-26 12:38shankarbFixed in Version => 3.0MP21
2013-02-28 16:39hudsonbotCheckin
2013-02-28 16:39hudsonbotNote Added: 0056849

Notes
(0056742)
hgbot   
2013-02-25 11:08   
Repository: erp/devel/pi
Changeset: 51672575b04f50fb9798ac3dc7a01397d40f7d26
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Feb 25 11:05:03 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/51672575b04f50fb9798ac3dc7a01397d40f7d26 [^]

Fixes issue 23154: Read only logic is working as expected.

In the fix of issue 23068 a change was made so that the current values of the form were not changed to '' if they were originally null. The problem is that the read only logic depended on this to work. This has been fixed by fixing the values inside the onFieldChanged function, the same way it was fixed for the display logc in the issue 23068.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-form.js.ftl
---
(0056766)
shankarb   
2013-02-26 12:38   
Code reviewed and tested in pi changeset 059d60b862a4
(0056767)
shankarb   
2013-02-26 12:38   
Code reviewed and tested in pi changeset 059d60b862a4
(0056849)
hudsonbot   
2013-02-28 16:39   
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/8c5cb16254f4 [^]

Maturity status: Test