summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-06-12 17:08:20 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-06-12 17:08:20 +0700
commit88f75ecc44ff4027cf0273b1a93d70f4e97d6a32 (patch)
tree50c770f781663aed3fae66c8783d8a0d75600b7e
parent31da0cd472b06e44407c7af20d5dab53e693729b (diff)
fix error
-rw-r--r--indoteknik_custom/models/sale_order_line.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order_line.py b/indoteknik_custom/models/sale_order_line.py
index 2073edce..509e3d1c 100644
--- a/indoteknik_custom/models/sale_order_line.py
+++ b/indoteknik_custom/models/sale_order_line.py
@@ -142,7 +142,7 @@ class SaleOrderLine(models.Model):
line.tax_id = line.order_id.sales_tax_id
line.purchase_price = self._get_valid_purchase_price(purchase_price)
- line_name = ('[' + line.product_id.default_code + ']' if line.product_id.default_code else '') + ' ' + \ (line.product_id.name if line.product_id.name else '') + ' ' + \
+ line_name = ('[' + line.product_id.default_code + ']' if line.product_id.default_code else '') + ' ' + (line.product_id.name if line.product_id.name else '') + ' ' + \
('(' + line.product_id.product_template_attribute_value_ids.name + ')' if line.product_id.product_template_attribute_value_ids.name else '') + ' ' + \
(line.product_id.short_spesification if line.product_id.short_spesification else '')
line.name = line_name