Activity log for bug #1220556

Date Who What changed Old value New value Message
2013-09-04 07:39:35 William bug added bug
2013-09-04 07:40:18 William description I explain the case: I have a supplier with 2 categories of products, the first category is a "Purchase pricelist" and the other category is other purchase list". I create products, categories and pricelist for each category. When i create a sale order with 2 lines (one product of each category for the same supplier), I confirm Sale and create 2 purchase order for the same supplier with the pricelist inhertit for supplier... I believe that if create 2 purchase order openerp should detect if the product have a purchase pricelist active for this product or category and apply this price of pricelist and not the purchase pricelist inherit from supplier. I believe the error is in /openerp/addons/purchase/purchase.py, at line 1135: pricelist_id = partner.property_product_pricelist_purchase.id I explain the case: I have a supplier with 2 categories of products, the first category is a "Purchase pricelist" and the other category is other purchase list". I create products, categories and pricelist for each category. When i create a sale order with 2 lines (one product of each category for the same supplier), I confirm Sale and create 2 purchase order for the same supplier with the pricelist inhertit for supplier... I believe that if create 2 purchase order openerp should detect if the product have a purchase pricelist active for this product or category and apply this price of pricelist and not the purchase pricelist inherit from supplier. I believe the error is in /openerp/addons/purchase/purchase.py, at line 1135:             pricelist_id = partner.property_product_pricelist_purchase.id PD: Sorry for my English :(
2013-09-04 08:13:09 William affects prestashoperpconnect posys