Skip to Content
Menu
This question has been flagged
2909 Zobrazenia

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
aug 17
2751
0
aug 23
1577
2
okt 24
2684
2
júl 25
1902
3
júl 25
2324