Skip to content

Commit

Permalink
Merge pull request #1198 from OCA/15.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/web (15.0)
  • Loading branch information
bt-admin authored Jan 13, 2024
2 parents 95ba535 + edde915 commit b1a6419
Show file tree
Hide file tree
Showing 16 changed files with 583 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ addon | version | maintainers | summary
[web_drop_target](web_drop_target/) | 15.0.1.0.1 | | Allows to drag files into Odoo
[web_environment_ribbon](web_environment_ribbon/) | 15.0.1.0.0 | | Web Environment Ribbon
[web_group_expand](web_group_expand/) | 15.0.1.0.0 | | Group Expand Buttons
[web_hide_user_menu_item](web_hide_user_menu_item/) | 15.0.1.0.0 | | Web Hide User Menu Item
[web_ir_actions_act_multi](web_ir_actions_act_multi/) | 15.0.1.0.0 | | Enables triggering of more than one action on ActionManager
[web_ir_actions_act_view_reload](web_ir_actions_act_view_reload/) | 15.0.1.0.1 | | Enables reload of the current view via ActionManager
[web_ir_actions_act_window_message](web_ir_actions_act_window_message/) | 15.0.1.0.0 | | Show a message box to users
Expand Down
2 changes: 1 addition & 1 deletion setup/_metapackage/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15.0.20231002.0
15.0.20240112.0
1 change: 1 addition & 0 deletions setup/_metapackage/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
'odoo-addon-web_drop_target>=15.0dev,<15.1dev',
'odoo-addon-web_environment_ribbon>=15.0dev,<15.1dev',
'odoo-addon-web_group_expand>=15.0dev,<15.1dev',
'odoo-addon-web_hide_user_menu_item>=15.0dev,<15.1dev',
'odoo-addon-web_ir_actions_act_multi>=15.0dev,<15.1dev',
'odoo-addon-web_ir_actions_act_view_reload>=15.0dev,<15.1dev',
'odoo-addon-web_ir_actions_act_window_message>=15.0dev,<15.1dev',
Expand Down
6 changes: 6 additions & 0 deletions setup/web_hide_user_menu_item/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
84 changes: 84 additions & 0 deletions web_hide_user_menu_item/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
=======================
Web Hide User Menu Item
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2fe4d2ff8250345bbf79d61fdbc780864d1aa48652044e3328f55f5b6c4fb1b5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/15.0/web_hide_user_menu_item
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_hide_user_menu_item
: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=15.0
:alt: Try me on Runboat

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

This module hides documentation, support, shortcuts, account menu items on the top-right corner of the webclient.

**Table of contents**

.. contents::
:local:

Usage
=====

Upon installing the module, user menu item presentation will be stripped down to look like the below image:
.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_hide_user_menu_item/static/img/userscreen.png

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_hide_user_menu_item%0Aversion:%2015.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
~~~~~~~

* Quartile Limited

Contributors
~~~~~~~~~~~~

* `Quartile <https://www.quartile.co>`__:

* Aung Ko Ko Lin

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/15.0/web_hide_user_menu_item>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
17 changes: 17 additions & 0 deletions web_hide_user_menu_item/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2022 Quartile Limited
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
{
"name": "Web Hide User Menu Item",
"category": "Hidden",
"version": "15.0.1.0.0",
"author": "Quartile Limited, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"license": "LGPL-3",
"depends": ["web"],
"assets": {
"web.assets_qweb": [
"web_hide_user_menu_item/static/src/webclient/user_menu/user_menu.xml",
],
},
"installable": True,
}
23 changes: 23 additions & 0 deletions web_hide_user_menu_item/i18n/web_hide_user_menu_item.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_hide_user_menu_item
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.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: web_hide_user_menu_item
#. openerp-web
#: code:addons/web_hide_user_menu_item/static/src/webclient/user_menu/user_menu.xml:0
#, python-format
msgid ""
"!element.hide and !['documentation', 'support', 'shortcuts', "
"'account'].includes(element.id)"
msgstr ""
3 changes: 3 additions & 0 deletions web_hide_user_menu_item/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Quartile <https://www.quartile.co>`__:

* Aung Ko Ko Lin
1 change: 1 addition & 0 deletions web_hide_user_menu_item/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module hides documentation, support, shortcuts, account menu items on the top-right corner of the webclient.
2 changes: 2 additions & 0 deletions web_hide_user_menu_item/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Upon installing the module, user menu item presentation will be stripped down to look like the below image:
.. image:: ../static/img/userscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b1a6419

Please sign in to comment.