diff --git a/setup/stock_picking_status_notification/odoo/addons/stock_picking_status_notification b/setup/stock_picking_status_notification/odoo/addons/stock_picking_status_notification new file mode 120000 index 000000000000..f9bec85a7d86 --- /dev/null +++ b/setup/stock_picking_status_notification/odoo/addons/stock_picking_status_notification @@ -0,0 +1 @@ +../../../../stock_picking_status_notification \ No newline at end of file diff --git a/setup/stock_picking_status_notification/setup.py b/setup/stock_picking_status_notification/setup.py new file mode 100644 index 000000000000..28c57bb64031 --- /dev/null +++ b/setup/stock_picking_status_notification/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_picking_status_notification/README.rst b/stock_picking_status_notification/README.rst new file mode 100644 index 000000000000..149abcf722ee --- /dev/null +++ b/stock_picking_status_notification/README.rst @@ -0,0 +1,135 @@ +========================== +Notify Users about Picking +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:584e6579cf1f7315aeb3162a9b846dc43e8cb3d7a0f432b774fb822db18f43e1 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_picking_status_notification + :alt: OCA/stock-logistics-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_status_notification + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allows to send notifications to selected backend users when +the state of stock picking changes . For this configurable notification +rules are used. Rules are checked using flexible patterns. The first one +rule matching the pattern is triggered. + +By default notifications are sent when a picking is set to the "Waiting" +or "Ready" status. However you can enable notifications for other +pickings too. + +**Table of contents** + +.. contents:: + :local: + +Use Cases / Context +=================== + +Imagine you have a warehouse that is serving a retail store and online +shop. + +Each time a sale is done in the retail shop you would like to process +that order immediately. For this you need to notify selected employees +about such order so that they could switch to it **asap**. + +Configuration +============= + +To configure notification rules: + +- Go to + ``"Inventory -> Configuration -> Warehouse Management -> New Picking Notifications"`` + and create a new notification +- Put the following data in the notification form: + + - ``Priority``. Defines the order in which notification rules are + checked. The lower is the number the higher is the priority. + Default is ``10`` + - ``Operation Types``, required. Specifies the operation types for + which this notification will be triggered + - ``Notified Users``, required. List of users to be notified + - ``Source Document Pattern``, optional. Notification will be sent + if source document name matches the specified regex pattern. Leave + blank to match any source + - ``Custom Message``, optional. Custom message to be used instead of + the default one. Leave blank to use the default message + - ``Notification Sound``, optional. Custom sound to be used with + notification. Leave blank to use notification without sound + - ``Draft`` - optional. If enabled, notifications will be sent when + a picking is in the "Draft" state + - ``Waiting Another Operation`` - optional. If enabled, + notifications will be sent when a picking is in the "Waiting + Another Operation" state + - ``Waiting`` - optional. If enabled, notifications will be sent + when a picking is in the "Waiting" state + - ``Ready`` - optional. If enabled, notifications will be sent when + a picking is in the "Ready" state. + - ``Done`` - optional. If enabled, notifications will be sent when a + picking is in the "Done" state. + - ``Cancel`` - optional. If enabled, notifications will be sent when + a picking is in the "Cancelled" state + +Usage +===== + +When a new picking is created and this picking matches some notification +rule a notification will be shown for selected users: + +- Document number in the notification title +- Message text in the notification body +- "Open document" button. Click it to open the related document + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Cetmix + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/stock-logistics-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_status_notification/__init__.py b/stock_picking_status_notification/__init__.py new file mode 100644 index 000000000000..0650744f6bc6 --- /dev/null +++ b/stock_picking_status_notification/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/stock_picking_status_notification/__manifest__.py b/stock_picking_status_notification/__manifest__.py new file mode 100644 index 000000000000..aac81a99edbc --- /dev/null +++ b/stock_picking_status_notification/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Notify Users about Picking", + "version": "16.0.1.0.0", + "category": "Inventory/Inventory", + "summary": "Notify selected internal users of changes in picking states", + "depends": ["stock", "web_notify"], + "website": "https://github.com/OCA/stock-logistics-workflow", + "author": "Cetmix, Odoo Community Association (OCA)", + "installable": True, + "data": [ + "security/ir.model.access.csv", + "views/stock_picking_notification_template_view.xml", + "views/menuitems.xml", + ], + "demo": [ + "demo/stock_picking_notification_template_demo.xml", + ], + "license": "AGPL-3", +} diff --git a/stock_picking_status_notification/demo/stock_picking_notification_template_demo.xml b/stock_picking_status_notification/demo/stock_picking_notification_template_demo.xml new file mode 100644 index 000000000000..5e315bc66374 --- /dev/null +++ b/stock_picking_status_notification/demo/stock_picking_notification_template_demo.xml @@ -0,0 +1,22 @@ + + + + + + + True + True + True + True + + ting.mp3 + + + diff --git a/stock_picking_status_notification/models/__init__.py b/stock_picking_status_notification/models/__init__.py new file mode 100644 index 000000000000..8d84e3bdad68 --- /dev/null +++ b/stock_picking_status_notification/models/__init__.py @@ -0,0 +1,2 @@ +from . import stock_picking +from . import stock_picking_notification_template diff --git a/stock_picking_status_notification/models/stock_picking.py b/stock_picking_status_notification/models/stock_picking.py new file mode 100644 index 000000000000..329f6169b351 --- /dev/null +++ b/stock_picking_status_notification/models/stock_picking.py @@ -0,0 +1,53 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models, registry + + +class StockPicking(models.Model): + _inherit = "stock.picking" + + to_web_notify = fields.Boolean( + default=False, + help="Technical field for storing the “to notify” attribute, " + "which is used to retrieve all records for this attribute " + "and to send a notification.", + ) + + def _write(self, vals): + # We use the _write method instead of write because _write is a low-level implementation + # that bypasses certain restrictions related to computed fields. In this case, it is + # crucial to ensure that notifications are triggered correctly when the state of the + # picking changes, even if this field (state) was computed by dependent fields + if "state" in vals: + vals = dict(vals) + vals.setdefault("to_web_notify", True) + + res = super()._write(vals) + + dbname = self.env.cr.dbname + context = self.env.context + uid = self.env.uid + + # only the latest state needs to be sent + @self.env.cr.postcommit.add + def trigger_picking_notification(): + db_registry = registry(dbname) + with db_registry.cursor() as cr: + env = api.Environment(cr, uid, context) + to_notify = env["stock.picking"].search([("to_web_notify", "=", True)]) + if to_notify: + to_notify.sudo()._trigger_picking_notification() + to_notify.to_web_notify = False + + return res + + def _trigger_picking_notification(self): + """ + Check notification rules and trigger notifications if conditions are met. + """ + notify_template_obj = self.env["stock.picking.notification.template"] + for picking in self: + template = notify_template_obj._get_matching_template(picking) + if template: + template._notify_picking_users(picking) diff --git a/stock_picking_status_notification/models/stock_picking_notification_template.py b/stock_picking_status_notification/models/stock_picking_notification_template.py new file mode 100644 index 000000000000..a1f865b8934f --- /dev/null +++ b/stock_picking_status_notification/models/stock_picking_notification_template.py @@ -0,0 +1,144 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +import re + +from odoo import _, fields, models + + +class StockPickingNotificationTemplate(models.Model): + _name = "stock.picking.notification.template" + _description = "Picking Notification Template" + _order = "sequence, id" + _rec_name = "picking_type_id" + + sequence = fields.Integer( + default=10, + string="Priority", + ) + active = fields.Boolean( + default=True, + ) + picking_type_id = fields.Many2one( + comodel_name="stock.picking.type", + string="Operation Type", + required=True, + help="Operation types for which the notification will be triggered", + ) + user_ids = fields.Many2many( + string="Notified Users", + comodel_name="res.users", + relation="picking_notify_template_user_rel", + column1="picking_notify_template_id", + column2="user_id", + required=True, + ) + source_document_regex = fields.Char( + string="Source Document Pattern", + help="Notification will be sent if source document name matches " + "the specified regex pattern. Leave blank to match any source", + ) + allow_notify_draft = fields.Boolean( + string="Allow Notify DRAFT", + default=False, + ) + allow_notify_waiting = fields.Boolean( + string="Allow Notify WAITING ANOTHER OPERATION", + default=False, + ) + allow_notify_confirmed = fields.Boolean( + string="Allow notify WAITING", + default=True, + ) + allow_notify_assigned = fields.Boolean( + string="Allow notify READY", + default=True, + ) + allow_notify_done = fields.Boolean( + string="Allow notify DONE", + default=False, + ) + allow_notify_cancel = fields.Boolean( + string="Allow notify CANCEL", + default=False, + ) + message = fields.Text( + string="Custom Message", + help="Custom message to be used instead of the default one. " + "Leave blank to use the default message", + ) + notification_sound_file = fields.Binary( + string="Notification Sound", + attachment=True, + help="Select the sound file that will be used for notifications. This setting " + "allows you to customize the notification sound played when certain actions " + "occur, such as when a stock picking status is updated.", + ) + filename = fields.Char() + + def _get_matching_template(self, picking): + """ + Return the first matching notification template for the given picking. + """ + templates = self.search( + [ + ("picking_type_id", "=", picking.picking_type_id.id), + (f"allow_notify_{picking.state}", "=", True), + ], + order="sequence ASC", + ) + for template in templates: + if template._matches_picking(picking): + return template + return None + + def _matches_picking(self, picking): + """ + Check if the picking matches this notification template. + """ + if self.source_document_regex and not re.match( + self.source_document_regex, picking.origin or "" + ): + return False + + return True + + def _get_sound_path(self): + """ + Return sound notification path if sound is specified + """ + self.ensure_one() + if self.notification_sound_file: + attachment = self.env["ir.attachment"].search( + [ + ("res_model", "=", self._name), + ("res_field", "=", "notification_sound_file"), + ("res_id", "=", self.id), + ] + ) + attachment.generate_access_token() + return ( + f"/web/content/{attachment.id}?access_token={attachment.access_token}" + ) + + def _notify_picking_users(self, picking): + """ + Send notifications to the users about the picking. + """ + self.ensure_one() + state = dict(picking._fields.get("state").selection).get(picking.state) + return self.user_ids.sudo().notify_info( + message=self.message + or _("Picking changed status to '%(state)s'.", state=state), + title=picking.name, + sticky=True, + action={ + "type": "ir.actions.act_window", + "name": picking.name, + "res_model": "stock.picking", + "res_id": picking.id, + "view_mode": "form", + "view_type": "form", + "target": "current", + }, + sound=self._get_sound_path(), + ) diff --git a/stock_picking_status_notification/readme/CONFIGURE.md b/stock_picking_status_notification/readme/CONFIGURE.md new file mode 100644 index 000000000000..ce60d1fbfbbf --- /dev/null +++ b/stock_picking_status_notification/readme/CONFIGURE.md @@ -0,0 +1,16 @@ +To configure notification rules: + +* Go to `"Inventory -> Configuration -> Warehouse Management -> New Picking Notifications"` and create a new notification +* Put the following data in the notification form: + * `Priority`. Defines the order in which notification rules are checked. The lower is the number the higher is the priority. Default is `10` + * `Operation Types`, required. Specifies the operation types for which this notification will be triggered + * `Notified Users`, required. List of users to be notified + * `Source Document Pattern`, optional. Notification will be sent if source document name matches the specified regex pattern. Leave blank to match any source + * `Custom Message`, optional. Custom message to be used instead of the default one. Leave blank to use the default message + * `Notification Sound`, optional. Custom sound to be used with notification. Leave blank to use notification without sound + * `Draft` - optional. If enabled, notifications will be sent when a picking is in the "Draft" state + * `Waiting Another Operation` - optional. If enabled, notifications will be sent when a picking is in the "Waiting Another Operation" state + * `Waiting` - optional. If enabled, notifications will be sent when a picking is in the "Waiting" state + * `Ready` - optional. If enabled, notifications will be sent when a picking is in the "Ready" state. + * `Done` - optional. If enabled, notifications will be sent when a picking is in the "Done" state. + * `Cancel` - optional. If enabled, notifications will be sent when a picking is in the "Cancelled" state diff --git a/stock_picking_status_notification/readme/CONTEXT.md b/stock_picking_status_notification/readme/CONTEXT.md new file mode 100644 index 000000000000..997226505f75 --- /dev/null +++ b/stock_picking_status_notification/readme/CONTEXT.md @@ -0,0 +1,3 @@ +Imagine you have a warehouse that is serving a retail store and online shop. + +Each time a sale is done in the retail shop you would like to process that order immediately. For this you need to notify selected employees about such order so that they could switch to it **asap**. diff --git a/stock_picking_status_notification/readme/DESCRIPTION.md b/stock_picking_status_notification/readme/DESCRIPTION.md new file mode 100644 index 000000000000..972af935a674 --- /dev/null +++ b/stock_picking_status_notification/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module allows to send notifications to selected backend users when the state of stock picking changes . For this configurable notification rules are used. Rules are checked using flexible patterns. The first one rule matching the pattern is triggered. + +By default notifications are sent when a picking is set to the "Waiting" or "Ready" status. However you can enable notifications for other pickings too. diff --git a/stock_picking_status_notification/readme/USAGE.md b/stock_picking_status_notification/readme/USAGE.md new file mode 100644 index 000000000000..aadc2fea4812 --- /dev/null +++ b/stock_picking_status_notification/readme/USAGE.md @@ -0,0 +1,5 @@ +When a new picking is created and this picking matches some notification rule a notification will be shown for selected users: + +* Document number in the notification title +* Message text in the notification body +* "Open document" button. Click it to open the related document diff --git a/stock_picking_status_notification/security/ir.model.access.csv b/stock_picking_status_notification/security/ir.model.access.csv new file mode 100644 index 000000000000..6f757e403e3b --- /dev/null +++ b/stock_picking_status_notification/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_picking_notification_template_group_stock_user,access_picking_notification_template group_stock_user,model_stock_picking_notification_template,stock.group_stock_user,1,0,0,0 +access_picking_notification_template_group_stock_manager,access_picking_notification_template group_stock_manager,model_stock_picking_notification_template,stock.group_stock_manager,1,1,1,1 diff --git a/stock_picking_status_notification/static/description/icon.png b/stock_picking_status_notification/static/description/icon.png new file mode 100644 index 000000000000..3a0328b516c4 Binary files /dev/null and b/stock_picking_status_notification/static/description/icon.png differ diff --git a/stock_picking_status_notification/static/description/index.html b/stock_picking_status_notification/static/description/index.html new file mode 100644 index 000000000000..0d8054a7a6e2 --- /dev/null +++ b/stock_picking_status_notification/static/description/index.html @@ -0,0 +1,8 @@ +
+
+
+

Notify Users about Picking

+

Notify selected internal users of changes in picking states.

+
+
+
diff --git a/stock_picking_status_notification/tests/__init__.py b/stock_picking_status_notification/tests/__init__.py new file mode 100644 index 000000000000..e6a82265126e --- /dev/null +++ b/stock_picking_status_notification/tests/__init__.py @@ -0,0 +1 @@ +from . import test_notification_template diff --git a/stock_picking_status_notification/tests/test_notification_template.py b/stock_picking_status_notification/tests/test_notification_template.py new file mode 100644 index 000000000000..5da08c9a2af4 --- /dev/null +++ b/stock_picking_status_notification/tests/test_notification_template.py @@ -0,0 +1,213 @@ +# Copyright (C) 2024 Cetmix OÜ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +import json + +from odoo.tests import new_test_user +from odoo.tests.common import TransactionCase + + +class TestStockNotifyPicking(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True)) + cls.picking_type = cls.env["stock.picking.type"].create( + { + "name": "Test Operation Type", + "sequence_code": "test", + "code": "incoming", + } + ) + cls.user = new_test_user( + cls.env, "jon", email="json.snow@westeros.test", notification_type="inbox" + ) + cls.notification_template = cls.env[ + "stock.picking.notification.template" + ].create( + { + "picking_type_id": cls.picking_type.id, + "user_ids": [(6, 0, cls.user.ids)], + "allow_notify_confirmed": False, + "allow_notify_assigned": False, + } + ) + cls.stock_location = cls.env.ref("stock.stock_location_stock") + cls.product = cls.env["product.product"].create( + { + "name": "Product", + } + ) + + def get_bus_notifications(self): + """ + Return found bus notifications + """ + return self.env["bus.bus"].search( + [("channel", "=", self.user.notify_info_channel_name)] + ) + + def call_post_commit_hooks(self): + """ + manually calls postcommit hooks defined with the decorator @after_commit + """ + funcs = self.env.cr.postcommit._funcs.copy() + while funcs: + func = funcs.popleft() + func() + + def test_picking_send_notification(self): + """ + Send notification picking with default message + """ + self.notification_template.write( + { + "allow_notify_draft": True, + "allow_notify_assigned": True, + } + ) + existing = self.get_bus_notifications() + + picking = self.env["stock.picking"].create( + { + "location_id": self.stock_location.id, + "location_dest_id": self.stock_location.id, + "picking_type_id": self.picking_type.id, + } + ) + self.env["stock.move"].create( + { + "name": "test", + "location_id": self.stock_location.id, + "location_dest_id": self.stock_location.id, + "product_id": self.product.id, + "product_uom_qty": 1.0, + "picking_id": picking.id, + "picking_type_id": self.picking_type.id, + } + ) + picking.action_confirm() + # flush and clear everything for the new "transaction" + self.env.invalidate_all() + + try: + # enter to test mode because postcommit create new cr + self.env.registry.enter_test_mode(self.cr) + self.call_post_commit_hooks() + finally: + self.env.registry.leave_test_mode() + + news = self.get_bus_notifications() - existing + self.assertEqual(1, len(news)) + payload = json.loads(news.message)["payload"][0] + self.assertEqual(payload["title"], picking.name) + self.assertEqual(payload["action"]["res_id"], picking.id) + + def test_picking_custom_messge_send_notification(self): + """ + Send notification picking with custom message + """ + new_template = self.notification_template.copy() + self.notification_template.write( + { + "allow_notify_draft": True, + } + ) + # prepare another rule to send custom message + new_template.write( + { + "allow_notify_assigned": True, + "message": "test", + } + ) + existing = self.get_bus_notifications() + + picking = self.env["stock.picking"].create( + { + "location_id": self.stock_location.id, + "location_dest_id": self.stock_location.id, + "picking_type_id": self.picking_type.id, + } + ) + self.env["stock.move"].create( + { + "name": "test", + "location_id": self.stock_location.id, + "location_dest_id": self.stock_location.id, + "product_id": self.product.id, + "product_uom_qty": 1.0, + "picking_id": picking.id, + "picking_type_id": self.picking_type.id, + } + ) + picking.action_confirm() + # flush and clear everything for the new "transaction" + self.env.invalidate_all() + + try: + # enter to test mode because postcommit create new cr + self.env.registry.enter_test_mode(self.cr) + self.call_post_commit_hooks() + finally: + self.env.registry.leave_test_mode() + + news = self.get_bus_notifications() - existing + + # only one notification was sent + self.assertEqual(1, len(news)) + payload = json.loads(news.message)["payload"][0] + self.assertEqual(payload["title"], picking.name) + self.assertEqual(payload["message"], "test") + + def test_send_picking_notification_regex(self): + """ + Send notification by regex + """ + new_template = self.notification_template.copy() + + # set priority and incorrect regex + self.notification_template.write( + { + "allow_notify_draft": True, + "sequence": 1, + "source_document_regex": "test", + "message": "rule_1", + } + ) + + # set low priority + new_template.write( + { + "allow_notify_draft": True, + "sequence": 20, + "message": "rule_2", + } + ) + + existing = self.get_bus_notifications() + + self.env["stock.picking"].create( + { + "location_id": self.stock_location.id, + "location_dest_id": self.stock_location.id, + "picking_type_id": self.picking_type.id, + "origin": "origin", + } + ) + + # flush and clear everything for the new "transaction" + self.env.invalidate_all() + + try: + # enter to test mode because postcommit create new cr + self.env.registry.enter_test_mode(self.cr) + self.call_post_commit_hooks() + finally: + self.env.registry.leave_test_mode() + + news = self.get_bus_notifications() - existing + + self.assertEqual(1, len(news)) + payload = json.loads(news.message)["payload"][0] + # only second rule was applied + self.assertEqual(payload["message"], "rule_2") diff --git a/stock_picking_status_notification/views/menuitems.xml b/stock_picking_status_notification/views/menuitems.xml new file mode 100644 index 000000000000..4666743d76c2 --- /dev/null +++ b/stock_picking_status_notification/views/menuitems.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/stock_picking_status_notification/views/stock_picking_notification_template_view.xml b/stock_picking_status_notification/views/stock_picking_notification_template_view.xml new file mode 100644 index 000000000000..67ac39f4e06d --- /dev/null +++ b/stock_picking_status_notification/views/stock_picking_notification_template_view.xml @@ -0,0 +1,132 @@ + + + + + stock.picking.notification.template.view.form + stock.picking.notification.template + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + stock.picking.notification.template.view.tree + stock.picking.notification.template + + + + + + + + + + + + + + + + + + + Picking Notifications + stock.picking.notification.template + ir.actions.act_window + tree,form + +

+ No template found. Let's create one! +

+
+
+
diff --git a/test-requirements.txt b/test-requirements.txt index 4ad8e0eceaa8..dfdbce756ae1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1,2 @@ odoo-test-helper +odoo-addon-web_notify @ git+https://github.com/OCA/web@refs/pull/2923/head#subdirectory=setup/web_notify