Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022741Openbravo ERPA. Platformpublic2013-01-08 17:452013-01-09 05:41
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
3.0MP19 
dbaz
Core
No
0022741: Display logic for tabs does not work with boolean fields
When a display logic is defined for a tab, it will not work if it uses the value of a boolean field of one of the ancestors of the tab.
Set this display logic for the Region tab in the Windows, Tabs and Fields window: @HasRegion@='Y'.

See that it does not work.
No tags attached.
Issue History
2013-01-08 17:45AugustoMauchNew Issue
2013-01-08 17:45AugustoMauchAssigned To => AugustoMauch
2013-01-08 17:45AugustoMauchModules => Core
2013-01-08 17:45AugustoMauchTriggers an Emergency Pack => No
2013-01-08 17:46AugustoMauchIssue Monitored: dbaz
2013-01-08 17:46AugustoMauchReview Assigned To => dbaz
2013-01-08 17:48hgbotCheckin
2013-01-08 17:48hgbotNote Added: 0055388
2013-01-08 17:48hgbotStatusnew => resolved
2013-01-08 17:48hgbotResolutionopen => fixed
2013-01-08 17:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/be593a18eebee9b77a056336c33bc893f5f45fdb [^]
2013-01-08 17:50dbazNote Added: 0055389
2013-01-08 17:50dbazStatusresolved => closed
2013-01-08 17:50dbazFixed in Version => 3.0MP19
2013-01-09 05:41hudsonbotCheckin
2013-01-09 05:41hudsonbotNote Added: 0055401

Notes
(0055388)
hgbot   
2013-01-08 17:48   
Repository: erp/devel/pi
Changeset: be593a18eebee9b77a056336c33bc893f5f45fdb
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Jan 08 17:47:48 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/be593a18eebee9b77a056336c33bc893f5f45fdb [^]

Fixes issue 22741: Tab display logic works with boolean fields

The problem was that the left part of the display logic expression was not being detected as a boolean because the field was not part of the tab fields, but of its ancestors.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/DynamicExpressionParser.java
---
(0055389)
dbaz   
2013-01-08 17:50   
Reviewed @ changeset: 19173 - be593a18eebe
(0055401)
hudsonbot   
2013-01-09 05:41   
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/195064f93651 [^]

Maturity status: Test