Commit c60cf37e by Damien Moulard

fix backend error

parent 06aa5712
......@@ -261,7 +261,7 @@ class Order(models.Model):
product_line_name = line["name"]
if "product_code" in line and line["product_code"] is not False:
product_code = str(line["product_code"])
product_line_name = f"[{product_code}] {product_line_name}"
product_line_name = "[" + product_code + "] " + product_line_name
order_data["order_line"].append(
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment