Shipment creation bug
This commit is contained in:
@@ -5427,6 +5427,17 @@ class PurchaseTradeTestCase(ModuleTestCase):
|
||||
'vessel': None,
|
||||
})
|
||||
|
||||
def test_shipment_in_write_ignores_empty_record_groups(self):
|
||||
'shipment write normalization keeps empty internal writes as no-op'
|
||||
ShipmentIn = Pool().get('stock.shipment.in')
|
||||
|
||||
self.assertEqual(
|
||||
ShipmentIn._normalize_transport_write_args((
|
||||
[],
|
||||
{'cost_price': Decimal('12.34')},
|
||||
)),
|
||||
[])
|
||||
|
||||
def test_invoice_report_transportation_uses_truck_label(self):
|
||||
'invoice_melya Transportation displays By Truck for truck shipments'
|
||||
Invoice = Pool().get('account.invoice')
|
||||
|
||||
Reference in New Issue
Block a user