Skip to content

Commit

Permalink
[MIG] disable_odoo_online: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PauMAVA committed Nov 8, 2024
1 parent e0fedb7 commit 546c40a
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 29 deletions.
41 changes: 20 additions & 21 deletions disable_odoo_online/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,27 @@ Remove odoo.com Bindings
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--brand-lightgray.png?logo=github
:target: https://github.com/OCA/server-brand/tree/17.0/disable_odoo_online
:target: https://github.com/OCA/server-brand/tree/18.0/disable_odoo_online
:alt: OCA/server-brand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-brand-17-0/server-brand-17-0-disable_odoo_online
:target: https://translation.odoo-community.org/projects/server-brand-18-0/server-brand-18-0-disable_odoo_online
: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/server-brand&target_branch=17.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-brand&target_branch=18.0
:alt: Try me on Runboat

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

This module deactivates all bindings to odoo.com that come with the
standard code:

- update notifier code is deactivated and the function is overwritten.
It's deactivated only in community version, because `it's not
legal <https://www.odoo.com/documentation/user/12.0/legal/terms/enterprise.html#customer-obligations>`__
to deactivate notifier code in odoo enterprise
- apps and updates menu items in settings are hidden inside Technical
Parameters
- documentation, support and odoo.com account are removed from user
menu
- update notifier code is deactivated and the function is overwritten.
It's deactivated only in community version, because `it's not
legal <https://www.odoo.com/documentation/user/12.0/legal/terms/enterprise.html#customer-obligations>`__
to deactivate notifier code in odoo enterprise
- apps and updates menu items in settings are hidden inside Technical
Parameters
- documentation, support and odoo.com account are removed from user menu

**Table of contents**

Expand All @@ -51,7 +50,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-brand/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/server-brand/issues/new?body=module:%20disable_odoo_online%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/server-brand/issues/new?body=module:%20disable_odoo_online%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.

Expand All @@ -67,14 +66,14 @@ Authors
Contributors
------------

- Holger Brunn <[email protected]>
- Stefan Rijnhart <[email protected]>
- Sylvain LE GAL (https://twitter.com/legalsylvain)
- Hieu, Vo Minh Bao <[email protected]>
- Lorenzo Battistini <https://github.com/eLBati>
- Dennis Sluijk <[email protected]>
- Dhara Solanki <[email protected]> (http://www.initos.com)
- Vincent Hatakeyama <[email protected]>
- Holger Brunn <[email protected]>
- Stefan Rijnhart <[email protected]>
- Sylvain LE GAL (https://twitter.com/legalsylvain)
- Hieu, Vo Minh Bao <[email protected]>
- Lorenzo Battistini <https://github.com/eLBati>
- Dennis Sluijk <[email protected]>
- Dhara Solanki <[email protected]> (http://www.initos.com)
- Vincent Hatakeyama <[email protected]>

Maintainers
-----------
Expand All @@ -89,6 +88,6 @@ 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/server-brand <https://github.com/OCA/server-brand/tree/17.0/disable_odoo_online>`_ project on GitHub.
This module is part of the `OCA/server-brand <https://github.com/OCA/server-brand/tree/18.0/disable_odoo_online>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion disable_odoo_online/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Remove odoo.com Bindings",
"version": "17.0.1.0.0",
"version": "18.0.1.0.0",
"author": "Therp BV,GRAP,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/server-brand",
"license": "AGPL-3",
Expand Down
9 changes: 4 additions & 5 deletions disable_odoo_online/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h1 class="title">Remove odoo.com Bindings</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:275c91041814b41930927bd0e2a89ef1996091ff52075a7016db7102b54113c4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-brand/tree/17.0/disable_odoo_online"><img alt="OCA/server-brand" src="https://img.shields.io/badge/github-OCA%2Fserver--brand-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-brand-17-0/server-brand-17-0-disable_odoo_online"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-brand&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-brand/tree/18.0/disable_odoo_online"><img alt="OCA/server-brand" src="https://img.shields.io/badge/github-OCA%2Fserver--brand-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-brand-18-0/server-brand-18-0-disable_odoo_online"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-brand&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module deactivates all bindings to odoo.com that come with the
standard code:</p>
<ul class="simple">
Expand All @@ -379,8 +379,7 @@ <h1 class="title">Remove odoo.com Bindings</h1>
to deactivate notifier code in odoo enterprise</li>
<li>apps and updates menu items in settings are hidden inside Technical
Parameters</li>
<li>documentation, support and odoo.com account are removed from user
menu</li>
<li>documentation, support and odoo.com account are removed from user menu</li>
</ul>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
Expand All @@ -399,7 +398,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-brand/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/server-brand/issues/new?body=module:%20disable_odoo_online%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/server-brand/issues/new?body=module:%20disable_odoo_online%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -433,7 +432,7 @@ <h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-brand/tree/17.0/disable_odoo_online">OCA/server-brand</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-brand/tree/18.0/disable_odoo_online">OCA/server-brand</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions disable_odoo_online/static/src/js/user_menu_items.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/** @odoo-module **/

import {registry} from "@web/core/registry";
// Needed so that this is run after adding the menu entries
import {user_menu_items} from "@web/webclient/user_menu/user_menu_items"; // eslint-disable-line no-unused-vars
Expand Down
3 changes: 3 additions & 0 deletions disable_odoo_online/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import test_disable_odoo_online
13 changes: 13 additions & 0 deletions disable_odoo_online/tests/test_disable_odoo_online.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2024 level4 (https://level4.es)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).


from odoo.tests import common


class TestDisableOdooOnline(common.TransactionCase):
def test_dummy(self):
# Necessary for CI, since now the warning of 0 tests executed fails
# the whole pipeline. In the future if tests are needed for this module
# they should be implemented here.
self.assertTrue(True)

0 comments on commit 546c40a

Please sign in to comment.