-
amoyaux authored
test_03_test_serial_number_defaults creates 3 stock.production.lot but in a test case they have the same create_date. Moreover this test go through _assign_default_final_lot_id that do a search on lot ordered by create date. That's why the test is non- determinisitc since it could pick one of the 3 lots randomly This commit add the id in the order.
amoyaux authoredtest_03_test_serial_number_defaults creates 3 stock.production.lot but in a test case they have the same create_date. Moreover this test go through _assign_default_final_lot_id that do a search on lot ordered by create date. That's why the test is non- determinisitc since it could pick one of the 3 lots randomly This commit add the id in the order.