Skip to content
Permalink
Browse files

[FIX] website_quote: Add correct product quantity

  • Loading branch information...
sswapnesh committed Mar 20, 2019
1 parent 9854e0e commit ef941ae78dc8aba2b60c9acc475159e8ac2a33ac
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 ef941ae

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