09.03.26
This commit is contained in:
@@ -278,13 +278,6 @@ class Sale(metaclass=PoolMeta):
|
||||
else:
|
||||
return ''
|
||||
|
||||
@property
|
||||
def report_fixing_rule(self):
|
||||
pricing_rule = ''
|
||||
if self.lines:
|
||||
pricing_rule = self.lines[0].pricing_rule
|
||||
return pricing_rule
|
||||
|
||||
@property
|
||||
def report_price(self):
|
||||
if self.lines:
|
||||
@@ -549,6 +542,13 @@ class SaleLine(metaclass=PoolMeta):
|
||||
|
||||
pricing_rule = fields.Text("Pricing description")
|
||||
|
||||
@property
|
||||
def report_fixing_rule(self):
|
||||
pricing_rule = ''
|
||||
if self.lines:
|
||||
pricing_rule = self.lines[0].pricing_rule
|
||||
return pricing_rule
|
||||
|
||||
@property
|
||||
def get_pricing_text(self):
|
||||
pricing_text = ''
|
||||
|
||||
Reference in New Issue
Block a user