Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022391Openbravo ERPA. Platformpublic2012-11-26 13:542012-12-06 15:12
jecharri 
shankarb 
urgentmajoralways
closedfixed 
5
 
3.0MP183.0MP18 
AugustoMauch
Core
No
0022391: Impossible to create a location for a Business Partner
Impossible to create a location for a Business Partner if you define the rol user as Organization.
-Go to window role and create a header with user level "Organization"
-Give access to org "F&B US East Coast"
-Give access to window "Business Partner" and set all as editable.

-Go to the ERP and create a header.
-Try to create a location. You will see that it is impossible:
"With your current role and settings, you cannot view this information"

If you define the same role with user level "Client/organization" you are able to create a location but you must be able to create the location with user level "Organization".
No tags attached.
Issue History
2012-11-26 13:54jecharriNew Issue
2012-11-26 13:54jecharriAssigned To => AugustoMauch
2012-11-26 13:54jecharriModules => Core
2012-11-26 13:57jecharriRegression date => 2012-12-24
2012-11-26 13:57jecharriTarget Version => 3.0MP18
2012-11-27 09:20shankarbAssigned ToAugustoMauch => shankarb
2012-11-28 14:09shankarbReview Assigned To => AugustoMauch
2012-11-28 14:10shankarbStatusnew => scheduled
2012-11-28 14:10shankarbNote Added: 0054630
2012-11-28 14:10shankarbfix_in_branch => pi
2012-11-28 14:10shankarbIssue Monitored: AugustoMauch
2012-11-28 14:11hgbotCheckin
2012-11-28 14:11hgbotNote Added: 0054631
2012-11-28 14:11hgbotStatusscheduled => resolved
2012-11-28 14:11hgbotResolutionopen => fixed
2012-11-28 14:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8f079938b8037398b82121e885cb066527a2791b [^]
2012-11-28 15:49jecharriNote Added: 0054632
2012-11-28 15:49jecharriStatusresolved => new
2012-11-28 15:49jecharriResolutionfixed => open
2012-11-28 15:49jecharriResolution time => 1356303600
2012-11-28 15:49jecharriRegression date2012-12-24 =>
2012-11-28 15:49jecharrifix_in_branchpi =>
2012-11-28 15:50jecharriStatusnew => scheduled
2012-11-28 15:50jecharriNote Added: 0054633
2012-11-28 15:50jecharrifix_in_branch => pi
2012-11-28 15:50jecharriStatusscheduled => resolved
2012-11-28 15:50jecharriResolutionopen => fixed
2012-12-01 01:03hudsonbotCheckin
2012-12-01 01:03hudsonbotNote Added: 0054683
2012-12-05 10:35hgbotCheckin
2012-12-05 10:35hgbotNote Added: 0054721
2012-12-05 10:38AugustoMauchNote Added: 0054722
2012-12-05 10:38AugustoMauchStatusresolved => closed
2012-12-05 10:38AugustoMauchFixed in Version => 3.0MP18
2012-12-06 15:12hudsonbotCheckin
2012-12-06 15:12hudsonbotNote Added: 0054753

Notes
(0054630)
shankarb   
2012-11-28 14:10   
Scheduled
(0054631)
hgbot   
2012-11-28 14:11   
Repository: erp/devel/pi
Changeset: 8f079938b8037398b82121e885cb066527a2791b
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Wed Nov 28 18:39:23 2012 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/8f079938b8037398b82121e885cb066527a2791b [^]

Fixes Issue 0022391: Impossible to create a location for a Business Partner

Location Search selector was not working for roles with userlevel 'Organization'.
Trimmed the userlevel searchkey before comparison and modified the way of comparison from 'not var=' to 'var!='.

---
M src/org/openbravo/base/secureApp/Seguridad_data.xsql
---
(0054632)
jecharri   
2012-11-28 15:49   
Remove the field regression date
(0054633)
jecharri   
2012-11-28 15:50   
Added the resolution time
(0054683)
hudsonbot   
2012-12-01 01:03   
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/4cc8305859aa [^]

Maturity status: Test
(0054721)
hgbot   
2012-12-05 10:35   
Repository: erp/devel/pi
Changeset: a895b65c70a1fa13731a5969d26560900321f9f1
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Dec 05 10:34:39 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a895b65c70a1fa13731a5969d26560900321f9f1 [^]

Related to issue 22391: Removes not needed trim

There is not need to trim the userlevel, as it only matters if it contains an 'S', 'O', or 'C', the spaces are irrelevant.

---
M src/org/openbravo/base/secureApp/Seguridad_data.xsql
---
(0054722)
AugustoMauch   
2012-12-05 10:38   
Code reviewed and verified in pi@a895b65c70a1
(0054753)
hudsonbot   
2012-12-06 15: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/d438f7014f16 [^]

Maturity status: Test