From 86f94f587dd9ff0e7c13cda1cefa82bc21bd07cb Mon Sep 17 00:00:00 2001 From: suju-odoo Date: Fri, 13 Jun 2025 18:50:08 +0000 Subject: [PATCH] [ADD] inventory: add new expiry alert behavior https://github.com/odoo/odoo/pull/212154/ introduced new behavior to the lot product expiry notification behavior. Now the notification will prioritize Default User of the alert before considering product's reponsible user. X-original-commit: 50cacdf7cf3b55fdaa3e68551d87fa022e82e1f4 --- .../product_tracking/expiration_dates.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/applications/inventory_and_mrp/inventory/product_management/product_tracking/expiration_dates.rst b/content/applications/inventory_and_mrp/inventory/product_management/product_tracking/expiration_dates.rst index 4064b39ba3..8428dc9cb8 100644 --- a/content/applications/inventory_and_mrp/inventory/product_management/product_tracking/expiration_dates.rst +++ b/content/applications/inventory_and_mrp/inventory/product_management/product_tracking/expiration_dates.rst @@ -256,3 +256,15 @@ Select a product configured with lot/serial numbers and expiration date tracking When the expiation date passes for a lot/serial number for this product, a notification is sent to the user in this field. + +.. note:: + Once the expiration date is due, expiration alerts are created on the form view of the lot/serial + number of the product. + + To customize these alerts, turn on :ref:`developer mode `, go to + :menuselection:`Settings app --> Technical --> Activity Types`, and select the :guilabel:`Alert + Date Reached` alert. + + The :guilabel:`Default User` assigned will be notified once the expiration date is reached. If no + default user is configured, the activity will be assigned to the :guilabel:`Responsible` user + selected on the product's :guilabel:`Inventory` tab.