CN/DN
This commit is contained in:
@@ -949,7 +949,7 @@ class Invoice(metaclass=PoolMeta):
|
||||
abs(self._get_report_invoice_line_weights(line)[0])
|
||||
for line in negative_lines)
|
||||
landed_total += sum(
|
||||
abs(self._get_report_invoice_line_weights(line)[0])
|
||||
abs(self._get_report_invoice_line_quantity_from_line(line))
|
||||
for line in positive_lines)
|
||||
matched = True
|
||||
|
||||
|
||||
@@ -6817,6 +6817,9 @@ class PurchaseTradeTestCase(ModuleTestCase):
|
||||
quantity=Decimal('999.990'),
|
||||
unit=mt,
|
||||
lot=shared_lot,
|
||||
lot_weight_snapshots=[
|
||||
Mock(net_quantity=Decimal('999995'), gross_quantity=Decimal('999992'), unit=kg),
|
||||
],
|
||||
)
|
||||
|
||||
invoice = Invoice()
|
||||
|
||||
Reference in New Issue
Block a user