← Back to team overview

openerp-india team mailing list archive

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

 

** Also affects: ocb-addons
   Importance: Undecided
       Status: New

** Also affects: ocb-addons/6.1
   Importance: Undecided
       Status: New

** Changed in: ocb-addons/6.1
     Assignee: (unassigned) => Yann Papouin (yann-papouin)

** Changed in: ocb-addons/6.1
   Importance: Undecided => Medium

-- 
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 Community Backports (Addons):
  New
Status in OpenERP Community Backports (Addons) 6.1 series:
  New
Status in OpenERP Addons (modules):
  Fix Committed

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/ocb-addons/+bug/1048547/+subscriptions


References