Help

3

Is it possible to relate Products and Vendors?

Avatar
Ricardo Gross

Hi,

It is possible that when creating an RFQ and selecting a vendor, the list of products that can be added is limited to products related to that vendor, or if I add first the product I can only choose the vendor(s) related to this product ?

Thanks,

Ricardo

1 Comment
Avatar
Discard
Avatar
Chris TRINGHAM
-

Can you use Supplier Price Lists (product.supplierinfo) for the linkage?

1 Answer
1
Avatar
Ray Carnes (ray)
Best Answer

Adding this domain to the product_id field on the Request for Quotation Form View will do that:

 ['|',  ('seller_ids.name', '=', parent.partner_id),
        ('seller_ids.name.child_ids', '=', parent.partner_id),
        ('purchase_ok', '=', True)] 
Avatar
Discard