Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028011 | Openbravo ERP | 07. Sales management | public | 2014-10-28 18:09 | 2014-12-30 23:24 |
|
Reporter | jonalegriaesarte | |
Assigned To | AtulOpenbravo | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR15Q1 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | pramakrishnan |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | 31519 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0028011: Copy from purchase order does not work if the role does not have access to price list window |
Description | Copy 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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 | OBNetwork customer | => No |
2014-10-28 18:09 | jonalegriaesarte | Modules | => Core |
2014-10-28 18:09 | jonalegriaesarte | Support ticket | => 31519 |
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 | |
Notes |
|
|
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
|
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
|
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
---
|
|
|
|
Code Review + Testing -OK. |
|
|
|
|
|
|
|