Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038558
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2018-05-16 10:002018-05-17 21:41
ReporterngarciaView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version3.0PR18Q3
StatusclosedFix in branchFixed in SCM revision59a5aec24377
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038558: Cannot add an orphan line in Return From Customer window if the role does not have access to Product window

DescriptionCannot add an orphan line in Return From Customer window if the role does not have access to Product window
Steps To ReproduceAs group admin role:
   Set 'RM Allow Orphan Line' preference to Y
   Log out and log in
   Create a Manual Role
   Provide it with access to 'Return From Customer' window and Region Norte organization
   Assign it to Openbravo User
   Log out and log in with the new role
   Create a Return From Customer header
   Insert Orphan line
   Select a product and add Returned Quantity
   Check the following error is shown:
      org.openbravo.base.exception.OBSecurityException: Entity Product is not directly readable, only id and identifier properties are readable, property Product.returnable is neither of these.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038557 closedAtulOpenbravo Cannot select an orphan line in Return Material Receipt if product has Alternate UOM defined 

-  Notes
(0104541)
AtulOpenbravo (developer)
2018-05-16 13:50

Test Plan

- Login as group admin role:
- Set 'RM Allow Orphan Line' preference to Y
- Log out and log in
- Create a Manual Role, Level = Client + Organization
- Provide it with access to 'Return From Customer' window and Region Norte organization, Assign it to Openbravo User
- Log out and log in with the new role
- Create a Return From Customer header and Using Insert Orphan line
- Select a product and add Returned Quantity
- Click ok, Realize that record is inserted successfully in Lines.
(0104556)
hgbot (developer)
2018-05-17 10:10

Repository: erp/devel/pi
Changeset: 59a5aec24377854e0f34333f1ca15e4b1d42e8d9
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed May 16 17:16:05 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/59a5aec24377854e0f34333f1ca15e4b1d42e8d9 [^]

Fixes Issue 0038558: Cannot add an orphan line in Return
From Customer window if the role does not have access to
Product window

Use setAdminMode prior to access product object in
insert RM orphan line process.

---
M src/org/openbravo/erpCommon/ad_actionButton/RMInsertOrphanLine.java
---
(0104558)
aferraz (developer)
2018-05-17 10:12

Code review + Testing OK
(0104577)
hudsonbot (developer)
2018-05-17 21:41

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/4e28963f0fe6 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2018-05-16 10:00 ngarcia New Issue
2018-05-16 10:00 ngarcia Assigned To => Triage Finance
2018-05-16 10:00 ngarcia Modules => Core
2018-05-16 10:00 ngarcia Triggers an Emergency Pack => No
2018-05-16 10:16 ngarcia Issue Monitored: networkb
2018-05-16 10:29 aferraz Assigned To Triage Finance => AtulOpenbravo
2018-05-16 10:30 aferraz Relationship added related to 0038557
2018-05-16 13:50 AtulOpenbravo Status new => scheduled
2018-05-16 13:50 AtulOpenbravo Note Added: 0104541
2018-05-17 10:10 hgbot Checkin
2018-05-17 10:10 hgbot Note Added: 0104556
2018-05-17 10:10 hgbot Status scheduled => resolved
2018-05-17 10:10 hgbot Resolution open => fixed
2018-05-17 10:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/59a5aec24377854e0f34333f1ca15e4b1d42e8d9 [^]
2018-05-17 10:12 aferraz Review Assigned To => aferraz
2018-05-17 10:12 aferraz Note Added: 0104558
2018-05-17 10:12 aferraz Status resolved => closed
2018-05-17 10:12 aferraz Fixed in Version => 3.0PR18Q3
2018-05-17 21:41 hudsonbot Checkin
2018-05-17 21:41 hudsonbot Note Added: 0104577


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker