Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
dbb6016
[ADD] web_ir_actions_act_window_message
hbrunn Mar 17, 2015
a80306b
[IMP] better readme, manifest
hbrunn Mar 18, 2015
d0e9e20
Add bug tracker link on README.rst
yvaucher May 22, 2015
0db3b2a
add OCA to author
Jun 4, 2015
9cc1c77
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
bba2b24
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
6606a3f
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
e0a00cd
allow to pass a list of buttons
hbrunn Mar 3, 2016
e1944c7
implement close_button_title
hbrunn Mar 3, 2016
50e5aeb
OCA Transbot updated translations from Transifex
oca-transbot Nov 24, 2015
13b3e41
web_ir_actions_act_window_message: Migration to V9
zakmak88 Apr 25, 2017
e2e795c
web_ir_actions_act_window_message: always refresh view after action
zakmak88 May 7, 2017
29693a5
Reformat the code to have coherent coding style
zakmak88 May 16, 2017
fe5325d
s/oe_link_class/classes s/oe_highlight/btn-default and add it to read…
zakmak88 May 16, 2017
22b08a9
wrap line breaks of the action message
zakmak88 May 16, 2017
c21079a
[MIG] web_ir_actions_act_window_message: Migration to 10. Also added …
benwillig May 23, 2017
4416a70
OCA Transbot updated translations from Transifex
oca-transbot Jun 3, 2017
241760f
[UPD] Update web_ir_actions_act_window_message.pot
oca-travis Jun 24, 2018
e59aef2
[12.0][MIG] web_ir_actions_act_window_message: Migration to 12.0
Nov 21, 2019
7bd05de
[UPD] Update web_ir_actions_act_window_message.pot
oca-travis Nov 26, 2019
7cb2e02
[UPD] README.rst
OCA-git-bot Nov 26, 2019
acf6612
Update translation files
oca-transbot Nov 26, 2019
aa0a082
Update translation files
oca-transbot Dec 4, 2019
77638f6
[UPD] README.rst
OCA-git-bot Mar 29, 2020
36747dd
[IMP] web_ir_actions_act_window_message: Remove utf-8 comment
pedrobaeza Apr 23, 2020
9a8310c
[FIX] web_ir_actions_act_window_message: Proper trailing line in XML
pedrobaeza Apr 23, 2020
41610d7
[MIG] web_ir_actions_act_window_message
ThomasBinsfeld Jun 15, 2020
c242e4e
[UPD] Update web_ir_actions_act_window_message.pot
oca-travis Jun 29, 2020
55c41b6
[UPD] README.rst
OCA-git-bot Jun 29, 2020
07e355b
[UPD] README.rst
OCA-git-bot Jul 13, 2020
8553768
[UPD] README.rst
OCA-git-bot Jul 13, 2020
02e72bd
Update translation files
oca-transbot Jul 13, 2020
3316558
[MIG] web_ir_actions_act_window_message: Migration to 14.0
koenloodts Dec 7, 2020
64a73d4
[UPD] Update web_ir_actions_act_window_message.pot
oca-travis Dec 6, 2021
8503e9f
[UPD] README.rst
OCA-git-bot Dec 6, 2021
627d740
[MIG] web_ir_actions_act_window_message: Migration to 15.0
JasminSForgeFlow Jul 22, 2022
50c9b12
[UPD] Update web_ir_actions_act_window_message.pot
Aug 26, 2022
5066f75
[UPD] README.rst
OCA-git-bot Aug 26, 2022
7e8c4e8
[MIG] web_ir_actions_act_window_message: Migration to 16.0
miguel-S73 Jan 16, 2023
648efd6
[UPD] Update web_ir_actions_act_window_message.pot
Jan 19, 2024
f36b078
[BOT] post-merge updates
OCA-git-bot Jan 19, 2024
8effa25
[IMP] web_ir_actions_act_window_message: pre-commit auto fixes
bizzappdev Apr 25, 2024
ab1759c
[MIG] web_ir_actions_act_window_message: Migration to 17.0
bizzappdev Apr 25, 2024
95c3609
[IMP] web_ir_actions_act_window_message: pre-commit auto fixes
eugenios73 Jul 28, 2025
507ea7b
[18.0][MIG] web_ir_actions_act_window_message
eugenios73 Jul 28, 2025
3e36e19
Merge PR #3233 into 18.0
OCA-git-bot Aug 7, 2025
e94b97b
[UPD] Update web_ir_actions_act_window_message.pot
Aug 7, 2025
9d33de2
[BOT] post-merge updates
OCA-git-bot Aug 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ addon | version | maintainers | summary
[web_filter_header_button](web_filter_header_button/) | 18.0.1.0.0 | | Show selected filters as buttons in the control panel
[web_group_expand](web_group_expand/) | 18.0.1.0.1 | | Group Expand Buttons
[web_ir_actions_act_multi](web_ir_actions_act_multi/) | 18.0.1.0.0 | | Enables triggering of more than one action on ActionManager
[web_ir_actions_act_window_message](web_ir_actions_act_window_message/) | 18.0.1.0.0 | | Show a message box to users
[web_m2x_options](web_m2x_options/) | 18.0.1.0.1 | | web_m2x_options
[web_no_bubble](web_no_bubble/) | 18.0.1.0.0 | | Remove the bubbles from the web interface
[web_notify](web_notify/) | 18.0.1.1.0 | | Send notification messages to user
Expand Down
3 changes: 2 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "odoo-addons-oca-web"
version = "18.0.20250729.0"
version = "18.0.20250807.0"
dependencies = [
"odoo-addon-web_calendar_slot_duration==18.0.*",
"odoo-addon-web_chatter_position==18.0.*",
Expand All @@ -13,6 +13,7 @@ dependencies = [
"odoo-addon-web_filter_header_button==18.0.*",
"odoo-addon-web_group_expand==18.0.*",
"odoo-addon-web_ir_actions_act_multi==18.0.*",
"odoo-addon-web_ir_actions_act_window_message==18.0.*",
"odoo-addon-web_m2x_options==18.0.*",
"odoo-addon-web_no_bubble==18.0.*",
"odoo-addon-web_notify==18.0.*",
Expand Down
145 changes: 145 additions & 0 deletions web_ir_actions_act_window_message/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=========================
Client side message boxes
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7ce537d4c262436ca7e2b131817ed046ba5a113a8bb31c56e077546948571918
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/18.0/web_ir_actions_act_window_message
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_ir_actions_act_window_message
: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/web&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to show a message popup on the client side as result
of a button.

**Table of contents**

.. contents::
:local:

Usage
=====

Depend on this module and return

.. code:: python

{
'type': 'ir.actions.act_window.message',
'title': _('My title'),
'message': _('My message'),
# optional title of the close button, if not set, will be _('Close')
# if set False, no close button will be shown
# you can create your own close button with an action of type
# ir.actions.act_window_close
'close_button_title': 'Make this window go away',
# Use HTML instead of text
'is_html_message': True,
# this is an optional list of buttons to show
'buttons': [
# a button can be any action (also ir.actions.report.xml et al)
{
'type': 'ir.actions.act_window',
'name': 'All customers',
'res_model': 'res.partner',
'view_mode': 'form',
'views': [[False, 'list'], [False, 'form']],
'domain': [('customer', '=', True)],
},
# or if type == method, you need to pass a model, a method name and
# parameters
{
'type': 'method',
'name': _('Yes, do it'),
'model': self._name,
'method': 'myfunction',
# list of arguments to pass positionally
'args': [self.ids],
# dictionary of keyword arguments
'kwargs': {'force': True},
# button style
'classes': 'btn-primary',
}
]
}

You are responsible for translating the messages.

Known issues / Roadmap
======================

- add message_type to differenciate between warnings, errors, etc.
- have one message_type to show a nonmodal warning on top right

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/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 <https://github.com/OCA/web/issues/new?body=module:%20web_ir_actions_act_window_message%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Therp BV
* ACSONE SA/NV

Contributors
------------

- Holger Brunn <hbrunn@therp.nl>
- Zakaria Makrelouf (ACSONE SA/NV) <z.makrelouf@gmail.com>
- Benjamin Willig (ACSONE SA/NV) <benjamin.willig@acsone.eu>
- Ioan Galan (Studio73) <ioan@studio73.es>
- Abraham Anes (Studio73) <abraham@studio73.es>
- Miguel Gandia (Studio73) <miguel@studio73.es>
- `DynApps NV <https://www.dynapps.be>`__:

- Koen Loodts
- Raf Ven

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/web <https://github.com/OCA/web/tree/18.0/web_ir_actions_act_window_message>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions web_ir_actions_act_window_message/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions web_ir_actions_act_window_message/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2017 Therp BV, ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Client side message boxes",
"version": "18.0.1.0.0",
"author": "Therp BV, " "ACSONE SA/NV, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"license": "AGPL-3",
"category": "Hidden/Dependency",
"summary": "Show a message box to users",
"depends": ["web"],
"data": [
"security/ir.model.access.csv",
],
"assets": {
"web.assets_backend": [
"web_ir_actions_act_window_message/static/src/**/*",
],
},
}
27 changes: 27 additions & 0 deletions web_ir_actions_act_window_message/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: web_ir_actions_act_window_message
#. openerp-web
#: code:addons/web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js:0
#, python-format
msgid "Close"
msgstr "إغلاق"
26 changes: 26 additions & 0 deletions web_ir_actions_act_window_message/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: web_ir_actions_act_window_message
#. openerp-web
#: code:addons/web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js:0
#, python-format
msgid "Close"
msgstr "Schließen"
26 changes: 26 additions & 0 deletions web_ir_actions_act_window_message/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: web_ir_actions_act_window_message
#. openerp-web
#: code:addons/web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js:0
#, python-format
msgid "Close"
msgstr "Cerrar"
26 changes: 26 additions & 0 deletions web_ir_actions_act_window_message/i18n/eu.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n"
"Language: eu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: web_ir_actions_act_window_message
#. openerp-web
#: code:addons/web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js:0
#, python-format
msgid "Close"
msgstr "Itxi"
26 changes: 26 additions & 0 deletions web_ir_actions_act_window_message/i18n/fi.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: web_ir_actions_act_window_message
#. openerp-web
#: code:addons/web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js:0
#, python-format
msgid "Close"
msgstr "Sulje"
26 changes: 26 additions & 0 deletions web_ir_actions_act_window_message/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: web_ir_actions_act_window_message
#. openerp-web
#: code:addons/web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js:0
#, python-format
msgid "Close"
msgstr "Fermer"
27 changes: 27 additions & 0 deletions web_ir_actions_act_window_message/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-02 09:52+0000\n"
"PO-Revision-Date: 2017-06-02 09:52+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

#. module: web_ir_actions_act_window_message
#. openerp-web
#: code:addons/web_ir_actions_act_window_message/static/src/js/web_ir_actions_act_window_message.js:0
#, python-format
msgid "Close"
msgstr "Zatvori"
Loading
Loading