Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029594Openbravo ERPA. Platformpublic2015-04-15 12:562015-05-07 22:16
ngarcia 
caristu 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q3 
alostale
OBPS
Core
35631
No
0029594: Cannot open a window if ShowAcct preference is set to Y and the Accounting tab is defined alone on the 2nd level
Cannot open a window if ShowAcct preference is set to Y and the Accounting tab is defined alone on the 2nd level
As group admin role:
   Remove all the preferences defined with attribute = ShowAcct
   Create a preference visible for all with
      attribute: ShowAcct
      value: N
   Create a preference visible for Openbravo user, F&B International Admin role and Business partner window with:
      attribute: ShowAcct
      value: Y
   Log out and log in again
   Try to open the Business Partner window and check it remains loading
   Check the following exception is raised:
      Uncaught TypeError: Cannot read property 'pane' of undefined
No tags attached.
Issue History
2015-04-15 12:56ngarciaNew Issue
2015-04-15 12:56ngarciaAssigned To => platform
2015-04-15 12:56ngarciaOBNetwork customer => Yes
2015-04-15 12:56ngarciaModules => Core
2015-04-15 12:56ngarciaSupport ticket => 35631
2015-04-15 12:56ngarciaResolution time => 1431986400
2015-04-15 12:56ngarciaTriggers an Emergency Pack => No
2015-04-15 12:57ngarciaIssue Monitored: networkb
2015-04-15 16:04xabiermerinoIssue Monitored: xabiermerino
2015-04-16 08:31alostaleStatusnew => acknowledged
2015-04-20 09:16alostaleStatusacknowledged => scheduled
2015-04-20 09:16alostaleAssigned Toplatform => caristu
2015-04-22 20:05hgbotCheckin
2015-04-22 20:05hgbotNote Added: 0076706
2015-04-22 20:05hgbotStatusscheduled => resolved
2015-04-22 20:05hgbotResolutionopen => fixed
2015-04-22 20:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/308ecc3849a80b4acc1afe177ecffc40f9e45204 [^]
2015-04-22 20:06caristuReview Assigned To => alostale
2015-04-22 20:06caristuIssue Monitored: alostale
2015-04-27 08:45alostaleNote Added: 0076768
2015-04-27 08:45alostaleStatusresolved => closed
2015-04-27 08:45alostaleFixed in Version => 3.0PR15Q3
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077145

Notes
(0076706)
hgbot   
2015-04-22 20:05   
Repository: erp/devel/pi
Changeset: 308ecc3849a80b4acc1afe177ecffc40f9e45204
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Apr 22 20:04:43 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/308ecc3849a80b4acc1afe177ecffc40f9e45204 [^]

fixes issue 29594: ShowAcct preference not working on 2nd level accounting tabs

The ShowAcct preference value was not being retrieved properly in child tabs in the addChildView method, because the windowId was undefined.
This is because windowId is only set for the top view in the hierarchy. Now the problem is solved because the windowId value is retrieved using the reference to the standard window.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0076768)
alostale   
2015-04-27 08:45   
code reviewed + tested
(0077145)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test