← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Additionally, the current code allows for selection of products for
which Can Be Purchased is false, as the domain in the XML definition for
purchase_order_line.product_id overrides the default domain for this
field in the model definition.

This is also true for my suggestion above. The correct domain therefore
is,

[('seller_ids.name', '=', parent.partner_id),('purchase_ok', '=', True)]

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