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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028011
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminorhave not tried2014-10-28 18:092014-12-30 23:24
ReporterjonalegriaesarteView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision542ee51c68bf
ProjectionnoneETAnoneTarget Version3.0PR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Topramakrishnan
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028011: Copy from purchase order does not work if the role does not have access to price list window

DescriptionCopy from purchase order does not work if the role does not have access to price list window
Steps To Reproduce- Create a role without access to price list window
- Create a purchase order header using that role
- Copy from order: System shows message ProcessRunError
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0071655)
AtulOpenbravo (developer)
2014-11-14 11:42

Test Plan

- Create a role with Purchase Order window, Copy From Order Report and Process access, without Priclist window access.
- Login with created role. Create a purchase order header fill up details.
- Using Copy from order button, select order and copy lines.
- Lines get copied successfully.
(0071659)
hgbot (developer)
2014-11-14 19:22

Repository: erp/devel/pi
Changeset: 542ee51c68bf6bebe8f8e7bc6aac6d3d66f28790
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Nov 14 16:09:24 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/542ee51c68bf6bebe8f8e7bc6aac6d3d66f28790 [^]

Fixes Issue 28011:Copy from purchase order does not work if the role does
not have access to price list window

OBContext is changed to Admin mode where pricelist object is accessed and restored
thereafter to previous mode to avoid access restriction.

Additionally to balance context modes missing line OBContext.setAdminmode(true)
is added as the error message in logs was seen.

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
---
(0071683)
hgbot (developer)
2014-11-17 10:01

Repository: erp/devel/pi
Changeset: 64f6ff1021bff579ba4eced8dfb37988e706a2f7
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Nov 17 14:11:19 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/64f6ff1021bff579ba4eced8dfb37988e706a2f7 [^]

Related To Issue 28011:Removed unwanted lines

OBContext.setAdminMode(true) is added prior to for loop so same statement
inside the for loop is removed as it is repeated

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromPOOrder.java
---
(0071687)
pramakrishnan (developer)
2014-11-17 11:16

Code Review + Testing -OK.
(0073058)
hudsonbot (developer)
2014-12-30 23: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/6525fe229e06 [^]
Maturity status: Test
(0073060)
hudsonbot (developer)
2014-12-30 23: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/6525fe229e06 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-10-28 18:09 jonalegriaesarte New Issue
2014-10-28 18:09 jonalegriaesarte Assigned To => AtulOpenbravo
2014-10-28 18:09 jonalegriaesarte Modules => Core
2014-10-28 18:09 jonalegriaesarte Resolution time => 1414969200
2014-10-28 18:09 jonalegriaesarte Triggers an Emergency Pack => No
2014-11-14 11:36 AtulOpenbravo Status new => scheduled
2014-11-14 11:36 AtulOpenbravo fix_in_branch => pi
2014-11-14 11:42 AtulOpenbravo Note Added: 0071655
2014-11-14 19:20 AtulOpenbravo Review Assigned To => pramakrishnan
2014-11-14 19:20 AtulOpenbravo fix_in_branch pi =>
2014-11-14 19:22 hgbot Checkin
2014-11-14 19:22 hgbot Note Added: 0071659
2014-11-14 19:22 hgbot Status scheduled => resolved
2014-11-14 19:22 hgbot Resolution open => fixed
2014-11-14 19:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/542ee51c68bf6bebe8f8e7bc6aac6d3d66f28790 [^]
2014-11-17 10:01 hgbot Checkin
2014-11-17 10:01 hgbot Note Added: 0071683
2014-11-17 11:16 pramakrishnan Note Added: 0071687
2014-11-17 11:16 pramakrishnan Status resolved => closed
2014-12-30 23:24 hudsonbot Checkin
2014-12-30 23:24 hudsonbot Note Added: 0073058
2014-12-30 23:24 hudsonbot Checkin
2014-12-30 23:24 hudsonbot Note Added: 0073060


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker