← Back to team overview

openerp-india team mailing list archive

[Bug 997898] Re: Partner Section price not working when using product templates

 

Hello,

Thanks for the reporting!

This issue has been fixed on lp:~openerp-dev/openobject-addons/trunk-
bug-997898-amp  branch with following rev no and rev ID.

Rev no : 6789

Rev Id :  amp@xxxxxxxxxxx-20120514070910-te6blf2bdmd5j2a5


Thanks!

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

-- 
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/997898

Title:
  Partner Section price not working when using product templates

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Price List price_get_multi looks for product_id insted of tmpl_id for
  partener section.

  1) Make a purchase order
  2) Select a parnter 
  3)Select a price list that has on it's highest sequence the option Partner section of the product form.
  3) select a product, make sure that the product has a supplier price (obvious the same as the parnter selected)

  This will work, but if you are using product templates, the query on
  pricelist.py on the function price_get_multi  looks for product_id
  insted of product templates, and on the product supplier info table is
  routed to product_template.

  find my patch attached...

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


References