line: fix rec_name
This commit is contained in:
parent
f9e009ab1c
commit
ae8091bbdf
1 changed files with 1 additions and 1 deletions
2
line.py
2
line.py
|
@ -95,7 +95,7 @@ class Line(SecondUomMixin, metaclass=PoolMeta):
|
|||
recname += '|%(quantity)s %(uom_symbol)s' % {
|
||||
'quantity': Report.format_number(credit - debit,
|
||||
lang=None, digits=self.quantity_digits),
|
||||
'uom_symbol': self.quantity_uom.symbol,
|
||||
'uom_symbol': getattr(self.quantity_uom, 'symbol', '-'),
|
||||
}
|
||||
return recname
|
||||
|
||||
|
|
Loading…
Reference in a new issue