def mtrack_init():
    from logistics import loader as logi_loader
    logi_loader.load_products()
    logi_loader.init_reports(True)
    logi_loader.init_roles_and_responsibilities(True)
    logi_loader.init_supply_point_types()
    logi_loader.generate_codes_for_locations()
    init_admin()
    init_dho_users()
    add_supply_points_to_facilities(True)
Exemple #2
0
def load_test_data():
    logi_loader.init_reports()
    logi_loader.init_supply_point_types()
    logi_loader.init_test_location_and_supplypoints()
    logi_loader.init_test_product_and_stock()
    
Exemple #3
0
def load_test_data():
    logi_loader.init_reports()
    logi_loader.init_supply_point_types()
    logi_loader.init_test_location_and_supplypoints()
    logi_loader.init_test_product_and_stock()