コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2901 ビュー

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
2750
0
8月 23
1577
2
10月 24
2683
2
7月 25
1901
3
7月 25
2323