İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4828 Görünümler

I am new on Odoo and now I am facing some issues trying to make POS work for multi-company configuration. After having tried several things with my limited knowledge I am asking you to see if you can give some lights on this issue.

Here is the use case.

Company A
    Child Company B
        Warehouse company B
        POS B
        User 1 defined for Company B with permission to POS module and defaulted to POS B.
    Child Company C
        Warehouse company C 
        POS C
        User 2 defined for Company C with permission to POS module and defaulted to POS C.

Based on the configuration my goal is to define POSs for each child company and have their users assigned to them therefore limit their premissiones to objects related to child companies only. When opening the POS session for any of the users of child companies I am getting the following error.

AccessError: ('AccessError', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: stock.location, Operation: read)')

After having seen the error is related to stok.location I added under Security/Access Control List an entry to grant access to "Point of Sale/User" to "Inventory Locations" object but no luck. It is worth to mention that everything works fine for Administrator user. 

I have seen some posts that says that there are some issues regarding Access Control List and Record Rules therefore they have to be updated because their default configuration for multi-company is not all correct. I have been reviewing Access Controll List and Record Rules but I don't feel confortable changhing this because of my lack of knowledge on this area.

If you need some more information regarding my configuration I took some time to create a vid and uploaded to youtube. http://youtu.be/DijvbxeDgcw   

Side note: Not sure if this is correct but when creating warehouses the company field cannot be edited and it is by default set to the parent company which is Company A.

do you have any idea how to get this resolved? Your help is much appreciated.

 

Avatar
Vazgeç
En İyi Yanıt

Have you added the company names as per user in the field " Allowed Companies" in the user configuration form. I hope if you do this your issue might resolve.

Hope this helps

Cheers!!

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 25
1993
2
Tem 25
1917
3
Tem 25
2340
1
Tem 25
1595
4
Ağu 25
3242