This commit is contained in:
2026-03-09 20:15:09 +01:00
parent 5235b381c6
commit 265b41b206

View File

@@ -561,11 +561,11 @@ class SaleLine(metaclass=PoolMeta):
@property
def get_pricing_text(self):
pricing_text = ' ON '
pricing_text = ''
if self.price_components:
for pc in self.price_components:
if pc.price_index:
pricing_text += ' ' + pc.price_index.description
pricing_text += 'ON ' + pc.price_index.price_desc
return pricing_text
@fields.depends('product')