Skip to content
Snippets Groups Projects
Commit f7495294 authored by Yannick Tivisse's avatar Yannick Tivisse
Browse files

[FIX] website_quote: fix due to module migration

parent 5b99b360
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ class SaleOrderOption(models.Model):
if order.state not in ['draft', 'sent']:
return False
order_line = self.order_line.filtered(lambda line: line.product_id == self.product_id)
order_line = order.order_line.filtered(lambda line: line.product_id == self.product_id)
if order_line:
order_line[0].product_uom_qty += 1
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment