[FIX] website_sale: apply reduction code
authorDenis Ledoux <dle@odoo.com>
Fri, 21 Nov 2014 14:51:54 +0000 (15:51 +0100)
committerDenis Ledoux <dle@odoo.com>
Fri, 21 Nov 2014 14:56:37 +0000 (15:56 +0100)
commit7a2ba5ca47e896be681c53ef0dc869cbad642a78
tree9e65f12ee13229c5d7496b81a5e499f78caa8e29
parentcafbf0714e23986877499d7b60d81f85233db42f
[FIX] website_sale: apply reduction code

The line being deleted in this revision looks to have been useful when it was introduced in this commit:
36fc910

As the sale order was updated right away through the update_pricelist method
But since this rev. 22f4c31, the sale order is updated later, and reset the sale_order_code_pricelist_id value in the session right after setting it prevent to apply the pricelist of the promotional code...
addons/website_sale/models/sale_order.py