Skip to content
Permalink
Browse files

[FIX] website_quote: Add correct product quantity

closes #31998

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
  • Loading branch information...
sswapnesh committed Mar 20, 2019
1 parent 9854e0e commit 09e35f2a363de83b7a6516c1070778402a0a0ff3
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/website_quote/models/sale_order.py
@@ -271,7 +271,7 @@ def button_add_to_order(self):
order_line = order.order_line.filtered(lambda line: line.product_id == self.product_id)
if order_line:
order_line = order_line[0]
order_line.product_uom_qty += 1
order_line.product_uom_qty += self.quantity
else:
vals = {
'price_unit': self.price_unit,

0 comments on commit 09e35f2

Please sign in to comment.
You can’t perform that action at this time.