Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019595Openbravo ERPA. Platformpublic2012-01-30 17:202013-01-03 13:12
maite 
AugustoMauch 
normalminoralways
closedfixed 
5
 
3.0MP193.0MP19 
dbaz
Core
No
0019595: Enable "Display Logic" clauses to be working in Status Bar fields
Enable "Display Logic" clauses to be working in Status Bar fields. Actually, if a field located in status bar has "Display Logic" associated, display logic rule is not considered
1. Go to Business Partner window, and realize that "Customer Balance" field, showed in Status Bar, appears in both Customer and Vendor
2. If you review field's definition in "Windows, Tabs and Fields" you can verify that is has display logic associated
No tags attached.
related to feature request 00052023.0MP19 closed AugustoMauch Implement display logic for tabs [No new BOM creation possible] 
related to defect 0022712 closed AugustoMauch Statusbar fields with display logic appear twice in the form 
Issue History
2012-01-30 17:20maiteNew Issue
2012-01-30 17:20maiteAssigned To => alostale
2012-01-30 17:20maiteModules => Core
2012-01-30 17:20maiteIssue Monitored: networkb
2012-03-19 12:37eintelauIssue Monitored: eintelau
2012-09-24 20:53AugustoMauchNote Added: 0052398
2012-09-24 20:53AugustoMauchPriorityhigh => normal
2012-09-24 20:53AugustoMauchStatusnew => scheduled
2012-11-23 08:04alostaleRelationship addedrelated to 0005202
2012-11-23 08:06alostaleTarget Version => 3.0MP19
2012-12-26 18:23AugustoMauchTriggers an Emergency Pack => No
2012-12-26 18:23AugustoMauchAssigned Toalostale => AugustoMauch
2012-12-26 18:23AugustoMauchIssue Monitored: dbaz
2012-12-26 18:28hgbotCheckin
2012-12-26 18:28hgbotNote Added: 0055227
2012-12-26 18:28hgbotStatusscheduled => resolved
2012-12-26 18:28hgbotResolutionopen => fixed
2012-12-26 18:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/51ea214b67be5b17f886a920f08430628ef8846f [^]
2012-12-26 18:32AugustoMauchNote Added: 0055228
2012-12-27 16:00dbazReview Assigned To => dbaz
2012-12-27 16:00dbazNote Added: 0055249
2012-12-27 16:00dbazStatusresolved => closed
2012-12-27 16:00dbazFixed in Version => 3.0MP19
2012-12-31 13:10AugustoMauchRelationship addedrelated to 0022712
2013-01-03 13:12hudsonbotCheckin
2013-01-03 13:12hudsonbotNote Added: 0055324

Notes
(0052398)
AugustoMauch   
2012-09-24 20:53   
Effort: 5
Impact: low
Plan: mid
(0055227)
hgbot   
2012-12-26 18:28   
Repository: erp/devel/pi
Changeset: 51ea214b67be5b17f886a920f08430628ef8846f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Dec 26 18:26:12 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/51ea214b67be5b17f886a920f08430628ef8846f [^]

Fixes issue 19595: Display logic can be applied to status bar fields

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
M src-db/database/sourcedata/AD_FIELD.xml
---
(0055228)
AugustoMauch   
2012-12-26 18:32   
Test plan:
Using the System Administrator role:
- Open the Windows, Tabs and Fields window
- Go to the field Sales Order -> Header -> Document Status. You might have to clear the filter, because the field is not displayed in the form, only in the status bar.
- Enter a valid display logic, i.e. @C_BPartner_ID@='9E6850C866BD4921AD0EB7F7796CE2C7'. With this display logic, the field will only be shown if the 'Hoteles Buenas Noches' business partner is selected.

Using the F&B role:
- Open sales order
- Create a new order using 'Hoteles Buenas Noches' as business partner. Save (until then the status bar fields are not shown), and check that the Document Status field is shown in the status bar. Change the business partner, and check that the Document Status field is no longer shown. Change it back, and check the it appears again.
(0055249)
dbaz   
2012-12-27 16:00   
Verified @ changeset: 19130 - 8643510fc80d
(0055324)
hudsonbot   
2013-01-03 13:12   
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/792728467ed0 [^]

Maturity status: Test