Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036533Openbravo ERP09. Financial managementpublic2017-07-26 12:102018-12-11 20:22
ngarcia 
markmm82 
highminoralways
closedfixed 
5
 
3.0PR19Q1 
Sandrahuguet
Core
No
0036533: Cannot post a goods shipment if the role does not have access to M_Transaction and C_Conversion_Rate_Document tables
Cannot post a goods shipment if the role does not have access to M_Transaction and C_Conversion_Rate_Document tables
As group admin role:
   Unschedule the Acct Server background process
   Create a Goods Shipment
   Launch the Costing Background Process and check it finishes successfully
   Create a new manual role
   Add all the Organizations to it
   Add Goods Shipment window to it (Editable Field = 'Y')
   Assign it to Openbravo user

Change to that role:
   Go to Goods Shipment window and try to post it
   The following error message is raised:
      "Entity MaterialMgmtMaterialTransaction is not directly readable, only id and identifier properties are readable, property MaterialMgmtMaterialTransaction.isCostCalculated is neither of these."

As group admin role:
   Go to Role Access window and add M_TRANSACTION table to the previously created role

Change to that role:
   Go to Goods Shipment window and try to post it
   The following error message is raised:
      "Entity CurrencyConversionRateDoc is not readable by the user 100"
No tags attached.
Issue History
2017-07-26 12:10ngarciaNew Issue
2017-07-26 12:10ngarciaAssigned To => Triage Finance
2017-07-26 12:10ngarciaModules => Core
2017-07-26 12:10ngarciaTriggers an Emergency Pack => No
2017-07-26 12:10ngarciaIssue Monitored: networkb
2017-12-07 17:27markmm82Assigned ToTriage Finance => markmm82
2017-12-07 17:27markmm82Statusnew => scheduled
2017-12-11 15:55markmm82Note Added: 0100967
2018-11-28 09:05hgbotCheckin
2018-11-28 09:05hgbotNote Added: 0108139
2018-11-28 09:05hgbotStatusscheduled => resolved
2018-11-28 09:05hgbotResolutionopen => fixed
2018-11-28 09:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/58fd41f90022179fbaa67b2b59dfd5199eea4e66 [^]
2018-11-28 09:08SandrahuguetReview Assigned To => Sandrahuguet
2018-11-28 09:08SandrahuguetNote Added: 0108140
2018-11-28 09:08SandrahuguetStatusresolved => closed
2018-11-28 09:08SandrahuguetFixed in Version => 3.0PR19Q1
2018-12-11 20:22hudsonbotCheckin
2018-12-11 20:22hudsonbotNote Added: 0108503

Notes
(0100967)
markmm82   
2017-12-11 15:55   
Test Plan
As group admin role:
   Unschedule the Acct Server background process
   Create a Goods Shipment
   Launch the Costing Background Process and check it finishes successfully
   Create a new manual role
   Add all the Organizations to it
   Add Goods Shipment window to it (Editable Field = 'Y')
   Add Journal Entries Report to it.
   Assign it to Openbravo user

Change to that role:
   Go to Goods Shipment window and try to post it
   Notice the document is posted successfully without add any extra access to the role.
(0108139)
hgbot   
2018-11-28 09:05   
Repository: erp/devel/pi
Changeset: 58fd41f90022179fbaa67b2b59dfd5199eea4e66
Author: Mark <markmm82 <at> gmail.com>
Date: Fri Dec 08 21:22:51 2017 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/58fd41f90022179fbaa67b2b59dfd5199eea4e66 [^]

Fixes issue 36533: Cannot post a goods shipment if the role does not have access
to M_Transaction and C_Conversion_Rate_Document tables

Sentences are executed in Admin Mode to avoid exceptions caused by the Role doesn't
having table access.

---
M src/org/openbravo/erpCommon/ad_forms/DocInOut.java
---
(0108140)
Sandrahuguet   
2018-11-28 09:08   
Code review + testing OK
(0108503)
hudsonbot   
2018-12-11 20:22   
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/470e3cd384c5 [^]
Maturity status: Test