This question has been flagged

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
Discard