Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2902 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ago 17
2750
0
ago 23
1577
2
ott 24
2683
2
lug 25
1901
3
lug 25
2323