← Back to team overview

openerp-india team mailing list archive

[Bug 1104097] Re: pricelist base on supplierinfo based price list return zero

 

This is the patch I use

** Patch added: "pricelist.diff"
   https://bugs.launchpad.net/openobject-addons/+bug/1104097/+attachment/3498214/+files/pricelist.diff

-- 
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 Addons (modules):
  New

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/openobject-addons/+bug/1104097/+subscriptions


References