09.03.26
This commit is contained in:
@@ -561,11 +561,11 @@ class SaleLine(metaclass=PoolMeta):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def get_pricing_text(self):
|
def get_pricing_text(self):
|
||||||
pricing_text = ' ON '
|
pricing_text = ''
|
||||||
if self.price_components:
|
if self.price_components:
|
||||||
for pc in self.price_components:
|
for pc in self.price_components:
|
||||||
if pc.price_index:
|
if pc.price_index:
|
||||||
pricing_text += ' ' + pc.price_index.description
|
pricing_text += 'ON ' + pc.price_index.price_desc
|
||||||
return pricing_text
|
return pricing_text
|
||||||
|
|
||||||
@fields.depends('product')
|
@fields.depends('product')
|
||||||
|
|||||||
Reference in New Issue
Block a user