← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 738146] Re: Problem with the pricelist of type "Partner section of the product form" + problems with price calculation in the sale order form

 

** Attachment added: "pricelist.patch"
   https://bugs.launchpad.net/bugs/738146/+attachment/1920381/+files/pricelist.patch

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/738146

Title:
  Problem with the pricelist of type "Partner section of the product
  form" + problems with price calculation in the sale order form

Status in OpenERP Modules (addons):
  New

Bug description:
  First problem:
  It use a "product template id" to  read  from  "product_product" table ( this is Ok when we have one product for a product template but is not Ok in case of multi products
  Second case:
  The calculation of the price in the sale order form is incorrect when the selected unit of measure is different from the stock unit of mesure, the problem is connect with  context attribute passed in the the price_get (product.product)  method inside the the price_get_multi method in the pricelist.py class



References