Skip to Content
Menu
This question has been flagged
1 Reply
4568 Views

I would like to block some products from being sold for example outside Europe.

I want the products to be like "unpublished" for users that are outside the specified countries, or just not authorize them to buy these products when they give their country.

This is to avoid issues with delivery costs. 

Avatar
Discard
Best Answer

Hi Gael, You can take advantage of model access(access rights) and records rules(access rules) in Odoo. So for example, your model 'product' has many records. You will need to defind two group of users, one group only having users in Europe (group A), other having users not in Europe(group B). So some records in the model 'product' can only accessed by users from group A. Users from group B can not see or access to them. You should read the section 'Security in Odoo' for suggestion.

Avatar
Discard

Hi, can you give me some more info on this explanation? I would also like to implement partnerships in different countries

Related Posts Replies Views Activity
0
Nov 23
1397
0
Mar 25
1074
1
Jul 23
1546
1
Jun 22
2821
0
Mar 21
2793