openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #22283
[Bug 1104097] Re: pricelist base on supplierinfo based price list return zero
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
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):
Confirmed
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