def _create_ill_temporary_item(record):
    ill_tmp = 'ill_temporary_no_value'
    status = CirculationItem.STATUS_ON_SHELF
    group = CirculationItem.GROUP_BOOK
    item = create_item(record.id, 1, ill_tmp, ill_tmp, ill_tmp, ill_tmp,
                       ill_tmp, ill_tmp, status, group)
    item.additional_statuses = [IllLoanCycle.STATUS_ILL_TEMPORARY]
    item.save()

    return item
def _create_ill_temporary_item(record):
    ill_tmp = 'ill_temporary_no_value'
    status = CirculationItem.STATUS_ON_SHELF
    group = CirculationItem.GROUP_BOOK
    item = create_item(record.id, 1, ill_tmp, ill_tmp, ill_tmp, ill_tmp,
                       ill_tmp, ill_tmp, status, group)
    item.additional_statuses = [IllLoanCycle.STATUS_ILL_TEMPORARY]
    item.save()

    return item
def _create_acquisition_temporary_item(record):
    acquisition_tmp = 'acquisition_temporary_no_value'
    status = CirculationItem.STATUS_ON_SHELF
    group = CirculationItem.GROUP_BOOK
    item = create_item(record.id, 1, acquisition_tmp, acquisition_tmp,
                       acquisition_tmp, acquisition_tmp, acquisition_tmp,
                       acquisition_tmp, status, group)
    item.additional_statuses.append('acquisition_temporary')
    item.save()

    return item
def _create_acquisition_temporary_item(record):
    acquisition_tmp = 'acquisition_temporary_no_value'
    status = CirculationItem.STATUS_ON_SHELF
    group = CirculationItem.GROUP_BOOK
    item = create_item(record.id, 1, acquisition_tmp, acquisition_tmp,
                       acquisition_tmp, acquisition_tmp,
                       acquisition_tmp, acquisition_tmp, status, group)
    item.additional_statuses.append('acquisition_temporary')
    item.save()

    return item