跳至內容
選單
此問題已被標幟
2921 瀏覽次數

Hi,

Hy,

Context : i'm working in multi company mode. Company A, Warehous A Company B (child of company A), Warehouse B Wharehouse A is resupplied by warehouse B A user userAB non admin is allowed to access to both A & B

Expected results : userAB could create PO from anywhere

Observed results : As a userAB I can create a procurement order from the company A for the companyB and WareHouse B As a userAB logged in the comanyB I can't create a ProcOrder for warehouse B :

Security restrictions
(Type de document : stock.warehouse, Operation : read)

In the code it seems to be unable to create a PO here : https://github.com/odoo/odoo/blob/9.0/addons/stock/wizard/make_procurement_product.py#L39

Additionnal tests :

  • A whC has been created without interwarehouse resupplying route => userAB could create ProcOrder

What is partially working :

 


Any help would be appreciated

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 17
2762
0
8月 23
1579
2
10月 24
2684
2
7月 25
1908
3
7月 25
2324