Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029671Openbravo ERP03. Procurement managementpublic2015-04-22 15:122016-12-16 18:37
ngarcia 
AtulOpenbravo 
highminoralways
closedfixed 
5
 
3.0PR17Q1 
aferraz
Core
No
0029671: Not possible to Copy Lines from a Purchase Invoice if the role does not have access to Currency window
Not possible to Copy Lines from a Purchase Invoice if the role does not have access to Currency window
As group admin role:
   Remove the record of Currency window for F&B International Group Admin role
   Log out and log in again
   Create and complete a Purchase Invoice
   Create a new Purchase Invoice, click on Copy Lines and select the previously created invoice
   The following error message is shown:
Entity Currency is not directly readable, only id and identifier properties are readable, property Currency.pricePrecision is neither of these.
No tags attached.
Issue History
2015-04-22 15:12ngarciaNew Issue
2015-04-22 15:12ngarciaAssigned To => Triage Finance
2015-04-22 15:12ngarciaModules => Core
2015-04-22 15:12ngarciaTriggers an Emergency Pack => No
2015-04-22 15:13ngarciaIssue Monitored: networkb
2015-07-28 16:30AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2015-07-28 16:30AtulOpenbravoStatusnew => scheduled
2015-07-28 16:33AtulOpenbravoNote Added: 0079108
2016-03-04 12:20psanjuanNote Added: 0084726
2016-03-04 14:25psanjuanNote Edited: 0079108bug_revision_view_page.php?bugnote_id=0079108#r11358
2016-03-04 14:26psanjuanNote Added: 0084742
2016-10-17 12:10hgbotCheckin
2016-10-17 12:10hgbotNote Added: 0090624
2016-10-17 12:10hgbotStatusscheduled => resolved
2016-10-17 12:10hgbotResolutionopen => fixed
2016-10-17 12:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/543c8285c58105e8fe6110c011823d5ce45400c5 [^]
2016-10-17 12:11aferrazReview Assigned To => aferraz
2016-10-17 12:11aferrazNote Added: 0090628
2016-10-17 12:11aferrazStatusresolved => closed
2016-10-17 12:11aferrazFixed in Version => 3.0PR17Q1
2016-12-16 18:37hudsonbotCheckin
2016-12-16 18:37hudsonbotNote Added: 0092517

Notes
(0079108)
AtulOpenbravo   
2015-07-28 16:33   
(edited on: 2016-03-04 14:25)
Test Plan
- Login as group admin role
- Navigate to Role window and select Group Admin role record.
- Remove the record of Currency from window access tab.
- Log out and log in again.
- Create a Purchase Invoice with one or more lines and complete. Post it.
- Create a new Purchase Invoice, click on Copy Lines and select the previously created invoice and click OK.
- Check that process is successfully executed and lines are created.
- Complete and Post the invoice.

(0084726)
psanjuan   
2016-03-04 12:20   
Issue verified
(0084742)
psanjuan   
2016-03-04 14:26   
Test Plan above verified.

Issue can be code reviewed and closed.
(0090624)
hgbot   
2016-10-17 12:10   
Repository: erp/devel/pi
Changeset: 543c8285c58105e8fe6110c011823d5ce45400c5
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jul 28 19:29:28 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/543c8285c58105e8fe6110c011823d5ce45400c5 [^]

Fixes issue 29671: Error in Copy Lines if no access to Currency window

Implemented a change in context mode to admin in CopyFromInvoice process.

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java
---
(0090628)
aferraz   
2016-10-17 12:11   
Code review + Testing OK
(0092517)
hudsonbot   
2016-12-16 18:37   
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/dc8bf00badd0 [^]
Maturity status: Test