Follow the steps of product_assortment module to define a list of
allowed products or restricted products or both to some partner.

You can use a system parameter to specify the partner field on sale
orders "sale_order_product_assortment.partner_field"
