diff --git a/cds_ils/config.py b/cds_ils/config.py
index fdbc826d4..34ea8ac00 100644
--- a/cds_ils/config.py
+++ b/cds_ils/config.py
@@ -532,6 +532,7 @@ def query_params_modifier(extra_params):
"request_no_items": "cds_request_no_items.html",
"checkin": "cds_checkin.html",
"checkout": "cds_checkout.html",
+ "self_checkout": "cds_self_checkout.html",
"extend": "cds_extend.html",
"overdue_reminder": "cds_overdue_reminder.html",
"expiring_reminder": "cds_will_expire_in_reminder.html",
@@ -625,6 +626,12 @@ def query_params_modifier(extra_params):
transition=ILSToItemOnLoan,
permission_factory=loan_checkout_permission,
),
+ dict(
+ dest="ITEM_ON_LOAN",
+ trigger="self_checkout",
+ transition=ILSToItemOnLoan,
+ permission_factory=authenticated_user_permission,
+ ),
],
"PENDING": [
dict(
@@ -633,6 +640,12 @@ def query_params_modifier(extra_params):
transition=ILSToItemOnLoan,
permission_factory=backoffice_permission,
),
+ dict(
+ dest="ITEM_ON_LOAN",
+ trigger="self_checkout",
+ transition=ILSToItemOnLoan,
+ permission_factory=authenticated_user_permission,
+ ),
dict(
dest="CANCELLED",
trigger="cancel",
diff --git a/cds_ils/templates/invenio_app_ils_circulation/notifications/cds_self_checkout.html b/cds_ils/templates/invenio_app_ils_circulation/notifications/cds_self_checkout.html
new file mode 100644
index 000000000..1221b49be
--- /dev/null
+++ b/cds_ils/templates/invenio_app_ils_circulation/notifications/cds_self_checkout.html
@@ -0,0 +1,20 @@
+{% block title %}
+CERN Library: loan started for "{{ document.title|safe }}"
+{% endblock %}
+
+{% block body_plain %}
+Dear {{ patron.name }},
+
+Your self-checkout loan for "{{ document.full_title }}" <{{ spa_routes.HOST }}{{ spa_routes.PATHS['literature']|format(pid=document.pid) }}> has started.
+
+The due date is {{ loan.end_date }}.
+{% endblock %}
+
+{% block body_html %}
+Dear {{ patron.name }},
+
+Your self-checkout loan for "{{ document.full_title }}" has started.
+
+
+The due date is {{ loan.end_date }}.
+{% endblock %}
diff --git a/setup.cfg b/setup.cfg
index 398604b64..afb21aa53 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -27,7 +27,7 @@ zip_safe = False
install_requires =
fuzzywuzzy>=0.18.0
python-ldap>=3.4.0,<3.5.0
- invenio-app-ils[lorem,opensearch2]==4.2.0
+ invenio-app-ils[lorem,opensearch2]==4.3.0
sentry-sdk>=0.10.2
# migrator deps
cds-dojson==0.9.0