Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029816Openbravo ERP01. General setuppublic2015-05-07 17:312015-06-10 17:15
ngarcia 
caristu 
highmajoralways
closedfixed 
5
 
3.0PR15Q3 
alostale
Core
No
0029816: Process Button access changed when accessing from a subtab
Process Button access changed when accessing from a subtab
As group admin role:
   Create a new role
   Set the user level to Client+Organization
   Set it as manual
   Set an organization in the Org Access tab
   Set Sales Order window in the Window Access tab:
      Editable Field: Y
   Set Header tab in the Tab Access tab:
      Editable Field: Y
   Set Copy From Order field in the Field Access tab:
      Editable Field: N
      Check On Save: N
   Set Copy Lines field in the Field Access tab:
      Editable Field: N
      Check On Save: N
   Set Openbravo in User Assignment tab
Log in with that Role:
   Create a new Sales Order window header and line
   Check the Copy Lines button appears inactive when header is selected but it changes to active when selecting a tab different from Lines
   Click on it, select a line and OK and check the process is launched when it shouldn't
No tags attached.
related to defect 00277103.0PR15Q1 closed AugustoMauch Process Button access changed when accessing from a subtab 
Issue History
2015-05-07 17:31ngarciaNew Issue
2015-05-07 17:31ngarciaAssigned To => Triage Finance
2015-05-07 17:31ngarciaModules => Core
2015-05-07 17:31ngarciaTriggers an Emergency Pack => No
2015-05-07 17:32ngarciaIssue Monitored: networkb
2015-05-07 17:32ngarciaRelationship addedrelated to 0027710
2015-05-25 12:59ngarciaResolution time => 1434492000
2015-05-28 15:28ngarciaSeverityminor => major
2015-05-29 13:14aferrazAssigned ToTriage Finance => platform
2015-06-04 13:52alostaleStatusnew => scheduled
2015-06-04 13:52alostaleAssigned Toplatform => caristu
2015-06-05 13:39caristuNote Added: 0078121
2015-06-08 10:47caristuReview Assigned To => alostale
2015-06-08 10:48caristuIssue Monitored: alostale
2015-06-08 10:53hgbotCheckin
2015-06-08 10:53hgbotNote Added: 0078141
2015-06-08 10:53hgbotStatusscheduled => resolved
2015-06-08 10:53hgbotResolutionopen => fixed
2015-06-08 10:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9909424c0e023890b1e7e65c91561717234c99cd [^]
2015-06-08 22:24hudsonbotCheckin
2015-06-08 22:24hudsonbotNote Added: 0078148
2015-06-10 17:15alostaleNote Added: 0078190
2015-06-10 17:15alostaleStatusresolved => closed
2015-06-10 17:15alostaleFixed in Version => 3.0PR15Q3

Notes
(0078121)
caristu   
2015-06-05 13:39   
Fix pushed to try
(0078141)
hgbot   
2015-06-08 10:53   
Repository: erp/devel/pi
Changeset: 9909424c0e023890b1e7e65c91561717234c99cd
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jun 08 10:51:34 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9909424c0e023890b1e7e65c91561717234c99cd [^]

Fixes issue 29816: Process Button access changed when accessing from a subtab
The problem was affecting only when displaying parent buttons after selecting a non focused child tab.
In this case, the WindowSettingsActionHandler is called when opening the window to get the role access for each button. Due to the lazy inizialization of the not focused tabs by default, in this moment is not possible to set the access for the right side toolbar buttons of those tabs.
Now, in the prepareFullChildView method which is executed the first time a child tab is selected, the buttons added in the toolbar for the child tab are added with the same state (readOnly) as they have in the parent tab.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0078148)
hudsonbot   
2015-06-08 22:24   
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/eea55936e896 [^]
Maturity status: Test
(0078190)
alostale   
2015-06-10 17:15   
code reviewed + tested