Openbravo Issue Tracking System - Modules
View Issue Details
0038295ModulesDistribution Orderspublic2018-04-08 10:362018-06-18 18:44
dmiguelez 
dmiguelez 
normalmajoralways
closedfixed 
5
 
 
dmiguelez
0038295: Not possible to create a DO Task using AWO with a Role with limited access
Not possible to create a DO Task using AWO with a Role with limited access
Nos possible to create a DO Task using AWO with a Role with limited access
No tags attached.
Issue History
2018-04-08 10:36dmiguelezNew Issue
2018-04-08 10:36dmiguelezAssigned To => Triage Finance
2018-04-08 10:37hgbotCheckin
2018-04-08 10:37hgbotNote Added: 0103739
2018-04-08 10:37hgbotStatusnew => resolved
2018-04-08 10:37hgbotResolutionopen => fixed
2018-04-08 10:37hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/d000be8b9030a4ec0d50a3eaf9d666e571136f1c [^]
2018-04-08 10:38hgbotCheckin
2018-04-08 10:38hgbotNote Added: 0103740
2018-04-08 10:38hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/d000be8b9030a4ec0d50a3eaf9d666e571136f1c [^] => http://code.openbravo.com/retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]
2018-04-08 10:46hgbotCheckin
2018-04-08 10:46hgbotNote Added: 0103741
2018-04-08 10:46hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^] => http://code.openbravo.com/retail/backports/AWO/3.0RR18Q1/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]
2018-04-16 16:57shuehnerAssigned ToTriage Finance => dmiguelez
2018-05-29 11:11ngarciaSummaryNos possible to create a DO Task using AWO with a Role with limited access => Not possible to create a DO Task using AWO with a Role with limited access
2018-05-29 11:11ngarciaDescription Updatedbug_revision_view_page.php?rev_id=17207#r17207
2018-06-18 18:43dmiguelezNote Added: 0105200
2018-06-18 18:44dmiguelezReview Assigned To => dmiguelez
2018-06-18 18:44dmiguelezStatusresolved => closed

Notes
(0103739)
hgbot   
2018-04-08 10:37   
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders
Changeset: d000be8b9030a4ec0d50a3eaf9d666e571136f1c
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Sun Apr 08 12:37:17 2018 +0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/d000be8b9030a4ec0d50a3eaf9d666e571136f1c [^]

Fixes Issue 38295.

Use setAdminMode for creating DO Tasks to avoid problems with users
with a Role with limited access

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Issue_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Pick_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Receipt_DOR.java
---
(0103740)
hgbot   
2018-04-08 10:38   
Repository: retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders
Changeset: 376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Sun Apr 08 12:37:17 2018 +0400
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR17Q4/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]

Fixes Issue 38295.

Use setAdminMode for creating DO Tasks to avoid problems with users
with a Role with limited access

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Issue_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Pick_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Receipt_DOR.java
---
(0103741)
hgbot   
2018-04-08 10:46   
Repository: retail/backports/AWO/3.0RR18Q1/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders
Changeset: 376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Sun Apr 08 12:37:17 2018 +0400
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q1/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/rev/376bb44d8bb6a4e0021fa3b4f55f345f3c2e59c7 [^]

Fixes Issue 38295.

Use setAdminMode for creating DO Tasks to avoid problems with users
with a Role with limited access

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Issue_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Pick_DOI.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/feHooks/CreateTasksFromMobileHook_Receipt_DOR.java
---
(0105200)
dmiguelez   
2018-06-18 18:43   
This issue is no longer reproducible.

When it was fixed it was possible to create Tasks from the Front End for Distribution Order documents for which the Organization was not directly writable by the user, but it was included in the natural tree of the Organizations that he had access.

Now the functionality is more complete, it is not possible to create Tasks for a document if the user does not have direct write access to the Organization.

Steps to reproduce.

With AWO Sampledata installed

Log in as AWO QA Admin.

Go to Distribution Order Issue Window and create a new Document with:
  - Organization: US
  - Warehouse Issue: US West Coast
  - Warehouse Receipt: US East Coast
Move to lines and create a new record with:
  - Product: Ale Beer
  - Operative Quantity: 10
Click on Book

Log in the Front End with user AWO_US_W_STRICT/openbravo

Click on Pick and use the document number from the previous DO.
Check that no document is shown.