Create a Category for Companies

Create a category for Companies. Providers, Clients, Government, etc.
When a new Purchase Order is created, filter by default Company that is categorized as Provider, and when a new Sales Order is created, filter by default Company that is categorized as Client

Indeed you can use the categories field of parties to add your categories. Once added via XML, you can use a domain to create this restriction on a custom module.

I don’t think it should be part of a standard module, as we try to avoid restrictions on base to allow better customization.

2 Likes