formatting
This commit is contained in:
parent
41e04482d4
commit
53f020b4d0
5 changed files with 150 additions and 224 deletions
|
@ -45,8 +45,7 @@ class SplitLine(SecondUomMixin, metaclass=PoolMeta):
|
|||
'quantity': Report.format_number(
|
||||
self.quantity or 0.0, None,
|
||||
digits=self.quantity_digits),
|
||||
'uom_symbol': self.quantity_uom.symbol,
|
||||
}
|
||||
'uom_symbol': self.quantity_uom.symbol}
|
||||
return recname
|
||||
|
||||
@fields.depends(
|
||||
|
@ -76,7 +75,6 @@ class SplitLine(SecondUomMixin, metaclass=PoolMeta):
|
|||
if self.booktransf:
|
||||
if self.booktransf.feature == 'asset':
|
||||
return self.booktransf.quantity_digits
|
||||
|
||||
return 4
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue