← Back to team overview

openerp-india team mailing list archive

[Bug 1048547] Re: [6.1] purchase: changing a product uses wrong supplier info data

 

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Tags added: maintenance

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1048547

Title:
  [6.1] purchase: changing a product uses wrong supplier info data

Status in OpenERP Addons (modules):
  New

Bug description:
  Hi,

  When entering purchase orders we get osv.except_osv raised because of
  some refactoring regression in the onchange_product_id function which
  mistakenly searches for the product_id in the table
  'product.supplierinfo' which has a link to 'product.template' and NOT
  a 'product.product'. (See http://bazaar.launchpad.net/~openerp
  /openobject-addons/6.1/view/head:/purchase/purchase.py#L780 )

  If you are not using product variants the error will not be easily
  spotted.

  Note that this bug seemed to have fallen between test scenarios ?

  Regression occurred in :
  hmo@xxxxxxxxxxx-20120106121612-qc156nkqngl6gmgq

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


References