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