fix: import + no symbol if None
This commit is contained in:
parent
17a4499ac7
commit
6bcb4efc2b
2 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,7 @@ class Reconciliation(metaclass=PoolMeta):
|
|||
digits=self.quantity_digits),
|
||||
'end_quantity': Report.format_number(self.end_quantity or 0.0, None,
|
||||
digits=self.quantity_digits),
|
||||
'uom_symbol': self.quantity_uom.symbol,
|
||||
'uom_symbol': getattr(self.quantity_uom, 'symbol', '-'),
|
||||
}
|
||||
return recname
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue