unit correction
This commit is contained in:
@@ -1130,7 +1130,7 @@ class PurchaseTradeTestCase(ModuleTestCase):
|
||||
self.assertEqual(invoice.report_weight_unit_upper, 'LBS')
|
||||
self.assertEqual(
|
||||
invoice.report_quantity_lines,
|
||||
'950.0 LBS (950.00 LBS)')
|
||||
'950.00 LBS (950.00 LBS)')
|
||||
|
||||
def test_invoice_report_lbs_converts_kilogram_to_lbs(self):
|
||||
'invoice lbs helper converts kilogram quantities with the proper uom ratio'
|
||||
@@ -1159,7 +1159,9 @@ class PurchaseTradeTestCase(ModuleTestCase):
|
||||
self.assertEqual(invoice.report_lbs, Decimal('2204608.98'))
|
||||
self.assertEqual(
|
||||
invoice.report_quantity_lines,
|
||||
'999995.0 KILOGRAM (2204608.98 LBS)')
|
||||
'999995.00 KILOGRAM (2204608.98 LBS)')
|
||||
self.assertEqual(invoice.report_net_display, '999995.00')
|
||||
self.assertEqual(invoice.report_lbs_display, '2204608.98')
|
||||
|
||||
def test_invoice_report_weights_keep_line_sign_with_lot_hist_values(self):
|
||||
'invoice lot hist values keep the invoice line sign for final notes'
|
||||
|
||||
Reference in New Issue
Block a user