Skip to content
Snippets Groups Projects
Commit 47693e8d authored by Victor Feyens's avatar Victor Feyens
Browse files

[FIX] sale_product_matrix: typo

parent e94d093d
Branches
Tags
No related merge requests found
......@@ -103,6 +103,6 @@ msgstr ""
#: code:addons/sale_product_matrix/models/sale_order.py:0
#, python-format
msgid ""
"You cannot change the quantity of a product present in multiple purchase "
"You cannot change the quantity of a product present in multiple sale "
"lines."
msgstr ""
......@@ -83,7 +83,7 @@ class SaleOrder(models.Model):
Therefore, it only raises an Error for now.
"""
if len(order_lines) > 1:
raise ValidationError(_("You cannot change the quantity of a product present in multiple purchase lines."))
raise ValidationError(_("You cannot change the quantity of a product present in multiple sale lines."))
else:
order_lines[0].product_uom_qty = qty
# If we want to support multiple lines edition:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment