Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036953Openbravo ERPA. Platformpublic2017-09-26 13:202017-09-27 18:42
caristu 
caristu 
highmajoralways
closedfixed 
5
 
 
AugustoMauch
Core
Pre packaging ( pi )
2017-09-15
pi
https://code.openbravo.com/erp/devel/pi/rev/0c8047a2daa39f0c4daacccad122b69517a203e0 [^]
No
0036953: Can not create records in Organization window sub-tabs
Is not possible to create a record in the Organization window sub-tabs.
1) Log-in as F&B International Group Admin role
2) Open the [Organization] window
3) Select any organization, for example "F&B España - Región Norte"
4) Navigate to the Warehouse tab, notice that is not possible to create a new record
It must be take into account that tabs based in the Organization entity will not have an "organization" property.
No tags attached.
caused by defect 0036725 closed AugustoMauch Should not be possible to create new data when user is not able to edit existent data 
Issue History
2017-09-26 13:20caristuNew Issue
2017-09-26 13:20caristuAssigned To => platform
2017-09-26 13:20caristuModules => Core
2017-09-26 13:20caristuRegression level => Pre packaging ( pi )
2017-09-26 13:20caristuRegression date => 2017-09-15
2017-09-26 13:20caristuRegression introduced in release => pi
2017-09-26 13:20caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/0c8047a2daa39f0c4daacccad122b69517a203e0 [^]
2017-09-26 13:20caristuTriggers an Emergency Pack => No
2017-09-26 13:20caristuRelationship addedcaused by 0036725
2017-09-26 13:21caristuProposed Solution updated
2017-09-26 13:21caristuAssigned Toplatform => caristu
2017-09-26 14:20caristuStatusnew => scheduled
2017-09-26 16:46hgbotCheckin
2017-09-26 16:46hgbotNote Added: 0099599
2017-09-26 16:46hgbotStatusscheduled => resolved
2017-09-26 16:46hgbotResolutionopen => fixed
2017-09-26 16:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9233e24043d174f520a04445e7b668547d16b8e0 [^]
2017-09-26 16:46caristuReview Assigned To => AugustoMauch
2017-09-27 00:09hudsonbotCheckin
2017-09-27 00:09hudsonbotNote Added: 0099613
2017-09-27 18:42AugustoMauchNote Added: 0099639
2017-09-27 18:42AugustoMauchStatusresolved => closed

Notes
(0099599)
hgbot   
2017-09-26 16:46   
Repository: erp/devel/pi
Changeset: 9233e24043d174f520a04445e7b668547d16b8e0
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Sep 26 16:23:03 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9233e24043d174f520a04445e7b668547d16b8e0 [^]

fixes issue 36953: Can not create records in Organization window sub-tabs

  The check created to prevent the creation of new records in a sub-tab that does not show the organization field when the role does not have access to the header's org was not taking into account the case where the parent tab is showing the Organization entity itself.

  In that case, the parent tab will not have an organization property and as it was not being found the logic was hidding the save options in the UI.

  To fix this problem, that check is skipped when the parent tab refers to the Organization entity. This can be done safely as in this case, the organization field of the records in the child tabs will always have the same value of the organization field in the parent tab.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0099613)
hudsonbot   
2017-09-27 00:09   
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/f8aef32786fd [^]
Maturity status: Test
(0099639)
AugustoMauch   
2017-09-27 18:42   
Code reviewed and verified