Jauges bug
This commit is contained in:
@@ -2770,18 +2770,12 @@ class PurchaseTradeTestCase(ModuleTestCase):
|
||||
matching_lot.lot_theoretical_qt = Decimal('100')
|
||||
matching_lot.lot_already_matched_qt = Decimal('40')
|
||||
matching_lot.lot_matched_qt = Decimal('65')
|
||||
matching_lot.lot_tol_min = Decimal('5')
|
||||
matching_lot.lot_tol_max = Decimal('10')
|
||||
matching_lot.lot_tolerance_min = Decimal('-5')
|
||||
matching_lot.lot_tolerance_max = Decimal('10')
|
||||
|
||||
self.assertEqual(
|
||||
matching_lot.on_change_with_lot_tolerance_used(),
|
||||
Decimal('5.00000'))
|
||||
self.assertEqual(
|
||||
matching_lot.on_change_with_lot_tolerance_min(),
|
||||
Decimal('-5'))
|
||||
self.assertEqual(
|
||||
matching_lot.on_change_with_lot_tolerance_max(),
|
||||
Decimal('10'))
|
||||
|
||||
def test_go_matching_defaults_selected_open_lot_qts(self):
|
||||
'go to matching only preloads selected unmatched open lot.qt rows'
|
||||
|
||||
Reference in New Issue
Block a user