Notes |
|
(0096430)
|
collazoandy4
|
2017-05-05 23:12
|
|
As group admin role:
Go to Product window and create a new record:
Organization: F&B España, S.A.
Search Key/Name: Product
Go to Goods Receipt and create a new record:
Organization: F&B España, S.A.
Business Partner: Bebidas Alegres, S.L.
Warehouse: España Región Norte
Create a new record in Lines tab:
Product: Product
Movement Quantity: 10
Complete the receipt
Create another Goods Receipt record:
Organization: F&B España, S.A.
Business Partner: Bebidas Alegres, S.L.
Warehouse: España Región Sur
Create a new record in Lines tab:
Product: Product
Movement Quantity: 15
Complete the receipt
Go to Goods Shipment window and create a new record:
Organization: F&B España - Región Norte
Business Partner: Alimentos y Supermercados, S.A
Warehouse: España Región Norte
Create a new record in Lines tab:
Product: Product
Movement Quantity: 5
Complete the shipment
Go to Role window and create a new record:
Name: Role
User Level: Client+Organization
Remove all organizations acces lines except F&B España Region Sur
Create a new record in User Assigment tab:
User/Contact: Openbravo
Log out and log in
Select the previously created role
Launch the Stock Report and filter by the previously created product
Check the stock in España Region Norte warehouses is not shown |
|
|
(0096538)
|
hgbot
|
2017-05-11 19:46
|
|
Repository: erp/devel/pi
Changeset: 7ea7f150342767534c16da2ccf25016adbb7cb5b
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Fri May 05 17:05:02 2017 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/7ea7f150342767534c16da2ccf25016adbb7cb5b [^]
Fixes issue 35899: Stock Report shows stocks from org that don't have access
The Stock Report shown stocks from warehouse's that belong to an organization that the user
don't have access because the query doesn't filter by the warehouse organization
Now the records of M_LOCATOR are filtered by the natural tree of the organization the
user has access to.
---
M src/org/openbravo/erpCommon/ad_reports/ReportWarehousePartner_data.xsql
---
|
|
|
(0096541)
|
aferraz
|
2017-05-11 19:47
(edited on: 2017-05-12 13:14) |
|
Test plan II:
As group admin role:
Create a new product for F&B España, S.A.
Create a new warehouse and storage bin for F&B España, S.A.
Create a Goods Receipt for España Norte and receive the previously created product in the previously created storage bin.
Create a new advanced role
Assign it to Openbravo user
Remove the access to all the organizations except F&B España Region Sur
Log out and log in
Select the previously created role
Launch the Stock Report and filter by the previously created product
Check the stock in new warehouse is shown as it belongs to F&B España, S.A. organization, which is in the natural tree of F&B España Region Sur organization.
|
|
|
(0096563)
|
hgbot
|
2017-05-12 13:11
|
|
Repository: erp/devel/pi
Changeset: 7db0e715083badf6c02bcdab8439ed0e81c66723
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri May 12 13:11:06 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7db0e715083badf6c02bcdab8439ed0e81c66723 [^]
Related to issue 35899: Code review improvements
Do not filter m_transaction records by the organization natural tree.
Only m_locator records will be filtered by the organization natural tree.
---
M src/org/openbravo/erpCommon/ad_reports/ReportWarehousePartner_data.xsql
---
|
|
|
|
|
|
|
|
|
|
|