← Back to team overview

openerp-community-reviewer team mailing list archive

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

 

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

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

** Also affects: ocb-addons/7.0
   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

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

-- 
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (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 Committed
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