Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
92 changes: 92 additions & 0 deletions mail_restrict_send_button/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
=========================
Mail Restrict Send Button
=========================

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

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

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

Hide the Send Message button from Chatter area If "Show Send Message
Button" group not assigned to User.

**Table of contents**

.. contents::
:local:

Configuration
=============

Assign the group "Show Send Message Button" to any User to use the Send
Message button in any chatter area. If you are not giving that access to
User then User can't access Send Message button, It doesn't appear.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/mail/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/mail/issues/new?body=module:%20mail_restrict_send_button%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
-------

* Open Source Integrators

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

- `Open Source Integrators <https://opensourceintegrators.com>`__.

- Chandresh Thakkar <cthakkar@opensourceintegrators.com>
- Daniel Reis <dreis@opensourceintegrators.com>
- Sandip Vyas <svyas@opensourceintegrators.com>

- `Therp BV <https://therp.nl>`__.

- Ronald Portier <ronald@therp.nl>

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/mail <https://github.com/OCA/mail/tree/18.0/mail_restrict_send_button>`_ 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 mail_restrict_send_button/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
22 changes: 22 additions & 0 deletions mail_restrict_send_button/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2021 Open Source Integrators
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Mail Restrict Send Button",
"summary": "Security for Send Message Button on Chatter Area",
"version": "18.0.1.0.0",
"category": "Social Network",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/mail",
"license": "AGPL-3",
"depends": ["mail"],
"installable": True,
"maintainer": ["dreispt"],
"development_status": "Beta",
"data": ["security/res_groups.xml"],
"assets": {
"web.assets_backend": [
"mail_restrict_send_button/static/src/js/chatter.esm.js",
"mail_restrict_send_button/static/src/xml/chatter.xml",
],
},
}
22 changes: 22 additions & 0 deletions mail_restrict_send_button/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_restrict_send_button
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-05-27 09:26+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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"
"X-Generator: Weblate 5.10.4\n"

#. module: mail_restrict_send_button
#: model:res.groups,name:mail_restrict_send_button.group_show_send_message_button
msgid "Show Send Message Button"
msgstr "Visualizza pulsante invio messaggio"
19 changes: 19 additions & 0 deletions mail_restrict_send_button/i18n/mail_restrict_send_button.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mail_restrict_send_button
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: mail_restrict_send_button
#: model:res.groups,name:mail_restrict_send_button.group_show_send_message_button
msgid "Show Send Message Button"
msgstr ""
3 changes: 3 additions & 0 deletions mail_restrict_send_button/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions mail_restrict_send_button/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Assign the group "Show Send Message Button" to any User to use the Send
Message button in any chatter area. If you are not giving that access to
User then User can't access Send Message button, It doesn't appear.
6 changes: 6 additions & 0 deletions mail_restrict_send_button/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- [Open Source Integrators](https://opensourceintegrators.com).
- Chandresh Thakkar \<cthakkar@opensourceintegrators.com\>
- Daniel Reis \<dreis@opensourceintegrators.com\>
- Sandip Vyas \<svyas@opensourceintegrators.com\>
- [Therp BV](https://therp.nl).
- Ronald Portier \<ronald@therp.nl\>
2 changes: 2 additions & 0 deletions mail_restrict_send_button/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Hide the Send Message button from Chatter area If "Show Send Message
Button" group not assigned to User.
6 changes: 6 additions & 0 deletions mail_restrict_send_button/security/res_groups.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<odoo noupdate="1">
<record id="group_show_send_message_button" model="res.groups">
<field name="name">Show Send Message Button</field>
<field name="category_id" ref="base.module_category_usability" />
</record>
</odoo>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading