Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030825Openbravo ERPA. Platformpublic2015-09-15 11:362015-11-23 21:17
vmromanos 
caristu 
urgentminoralways
closedfixed 
5
 
3.0PR16Q13.0PR16Q1 
alostale
Core
No
0030825: Show in Status Bar doesn't honour the Active = N flag
The fields defined with Displayed = N and Show in Status Bar = Y and Active = N are still shown in the status bar.

However, if the field is defined with Displayed = N and Show in Grig View = Y and Active = N, it is NOT shown in the grid.

The behavior is not consistent, and it should be the same in all the scenarios. Probably the right behavior is that the field is not shown anywhere when the Active is N
It should work with any field, but we have discovered it with Payment Status in Sales Order window.

As System Admin
Go to Windows/Tabs/Fields window
Search Sales Order
Select Header Tab
In fields tab, clear the filter
Search Payment Status. Set this configuration:
  Displayed = N
  Show in Status Bar = Y
  Show in Grig View = Y
  Active = N

Login as Group Admin
Go to Sales Order window
Verify the field is not shown in grid
Double click in any record to show form view.
Verify the field is shown in Status Bar although it is Active = N
No tags attached.
related to feature request 0029872 closed guillermogil Add the Payment status in sales order window 
Issue History
2015-09-15 11:36vmromanosNew Issue
2015-09-15 11:36vmromanosAssigned To => platform
2015-09-15 11:36vmromanosModules => Core
2015-09-15 11:36vmromanosTriggers an Emergency Pack => No
2015-09-15 11:37vmromanosRelationship addedrelated to 0029872
2015-09-15 11:41vmromanosNote Added: 0080398
2015-09-15 11:45vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9432#r9432
2015-09-15 12:12vmromanosSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9437#r9437
2015-09-15 12:12hgbotCheckin
2015-09-15 12:12hgbotNote Added: 0080402
2015-09-16 02:20hudsonbotCheckin
2015-09-16 02:20hudsonbotNote Added: 0080425
2015-09-21 09:25alostaleStatusnew => acknowledged
2015-11-11 11:33alostalePrioritynormal => urgent
2015-11-11 12:55alostaleSummaryShow in Status Bar doesn't respect the Active = N flag => Show in Status Bar doesn't honour the Active = N flag
2015-11-11 19:53caristuAssigned Toplatform => caristu
2015-11-11 19:53caristuStatusacknowledged => scheduled
2015-11-12 11:26caristuReview Assigned To => alostale
2015-11-12 11:26caristuIssue Monitored: alostale
2015-11-12 11:27hgbotCheckin
2015-11-12 11:27hgbotNote Added: 0081743
2015-11-12 11:27hgbotStatusscheduled => resolved
2015-11-12 11:27hgbotResolutionopen => fixed
2015-11-12 11:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cebfec5bc6a96d5f3cdf215205dd3b90475481a9 [^]
2015-11-16 12:13alostaleNote Added: 0081868
2015-11-16 12:13alostaleStatusresolved => closed
2015-11-16 12:13alostaleFixed in Version => 3.0PR16Q1
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082204

Notes
(0080398)
vmromanos   
2015-09-15 11:41   
If we hide the fields when Active = N, it might be considered as an API change or regression
(0080402)
hgbot   
2015-09-15 12:12   
Repository: erp/devel/pi
Changeset: f8a6e3e544bfb582b4c65408999e372fc4b1797d
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Sep 15 12:11:05 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f8a6e3e544bfb582b4c65408999e372fc4b1797d [^]

Related to bug 29872: Payment Status in Sales Order set as ISSHOWNINSTATUSBAR=N

This is a workaround for issue 30825, which shows this field in the Status Bar regardless it is set as Active = N

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0080425)
hudsonbot   
2015-09-16 02:20   
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/ab68e2868765 [^]
Maturity status: Test
(0081743)
hgbot   
2015-11-12 11:27   
Repository: erp/devel/pi
Changeset: cebfec5bc6a96d5f3cdf215205dd3b90475481a9
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Nov 12 11:25:47 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cebfec5bc6a96d5f3cdf215205dd3b90475481a9 [^]

fixes issue 30825: Show in Status Bar doesn't honour the Active = N flag

Now the OBViewFieldHandler considers the active flag to decide whether the field should be added to the status bar or not

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
---
(0081868)
alostale   
2015-11-16 12:13   
code reviewed and tested
(0082204)
hudsonbot   
2015-11-23 21:17   
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/7b56bebaaa88 [^]
Maturity status: Test