← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 773616] Re: [v6.0]Purchase - we can buy all products to any supplier

 

Hi,

reopening this bug for the following reason:

There already is a domain filter in place to establish filtering
products by the supplier in purchase_order_line_form, but it is
incorrect.

The current domain is "[('seller_ids', 'ilike', parent.partner_id)]",
while it should be "[('seller_ids.name', '=', parent.partner_id)]", as
seller_ids.name is (surprisingly) a many2one on res.partner.

Cheers,
Stefan.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/773616

Title:
  [v6.0]Purchase - we can buy all products to any supplier

Status in OpenERP Modules (addons):
  New

Bug description:
  In the product form, we select one or many supplier for a product.
  in the purchase order, you can buy all  (buyable) products without restriction. 
  Imagine if you manage about only 1000 products... it is really a pain to use.
  The product list should be restricted to the products you can buy to the supplier, with obviously the default price from the product form.
  At least it should be an option in the configuration.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/773616/+subscriptions


References