DN/CN
This commit is contained in:
@@ -948,13 +948,9 @@ class Invoice(metaclass=PoolMeta):
|
||||
invoice_total += sum(
|
||||
abs(self._get_report_invoice_line_weights(line)[0])
|
||||
for line in negative_lines)
|
||||
current_net, _ = self._get_report_lot_hist_weights(lot)
|
||||
if current_net is None:
|
||||
landed_total += sum(
|
||||
abs(self._get_report_invoice_line_weights(line)[0])
|
||||
for line in positive_lines)
|
||||
else:
|
||||
landed_total += current_net
|
||||
landed_total += sum(
|
||||
abs(self._get_report_invoice_line_weights(line)[0])
|
||||
for line in positive_lines)
|
||||
matched = True
|
||||
|
||||
if not matched:
|
||||
|
||||
Reference in New Issue
Block a user