Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

How can we limit stock location to a portal customer's own inventory?

Scenario:

We own a warehouse where we store customer's inventory (using consignment method). We can create one location per customer to manage customer inventory. A customer can sign up through portal and should be able to view his own items and quantity.

Any step by step guidance is highly appreciated.

Note: We already tried warehouse restrictions but for some reason it did not work. This appear to be related to internal users and not portal customer.

Awatar
Odrzuć

Which ODOO Version are u using?

Najlepsza odpowiedź

You can write a record rule according to the owner of Warehouse Locations. According to version ODOO 8, We can set the owner of the location. After you have to restrict locations using security rules. Go to General Settings -> Technical -> Security -> Record Rules. In ODOO 13 E You have to enable consignment option in inventory settings after you can manage locations by owner.

For Documentation on security rules, Please check

https://www.odoo.com/documentation/13.0/reference/security.html


Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thanks Hilar for your response. We tried this on Odoo 13 Community Edition.

When we did some tests we could not see inventory when we logged in as portal customer.  I guess this is where the confusion is. This might be security related as you pointed out. When I looked at record rules these seems fairly complex.

If you don't mind please write some sample security rules for this purpose.

Thanks in advance for your help.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
7
sie 24
28184
0
sie 18
4100
0
mar 15
4632
0
lut 23
6068
1
maj 22
3104