** Changed in: ocb-addons/6.1
       Status: Fix Committed => Fix Released

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

Title:
  pricelist base on supplierinfo based price list return zero

Status in OpenERP Community Backports (Addons):
  New
Status in OpenERP Community Backports (Addons) 6.1 series:
  Fix Released
Status in OpenERP Community Backports (Addons) 7.0 series:
  New
Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Let me try to explain:

  create a pricelist PL_A, base on "Partner section of the product form"

  create another pricelist PL_B, base on "other price list" and other
  pricelist "PL_A"

  set a product P1 with a supplier information, set the price as 10

  create a new quotation useing pricelist PL_A, create a order line by
  input product P1, the unit price will be populate as 10

  create a new quotation useing pricelist PL_B, create a order line by
  input product P1, the unit price will be populate as 0

  this behavior caused by a code error in product module, pricelist.py
  file, medthod price_get_multi:

  
                                  price_tmp = self.price_get(cr, uid,
                                          [res['base_pricelist_id']], 
product_id,
                                          qty, 
context=context)[res['base_pricelist_id']]

  here should add a partner_id parameter.

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to