Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0] website_login_hide #601

Draft
wants to merge 2 commits into
base: 14.0
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions setup/website_login_hide/odoo/addons/website_login_hide
6 changes: 6 additions & 0 deletions setup/website_login_hide/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,
)
11 changes: 11 additions & 0 deletions website_login_hide/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. image:: https://itpp.dev/images/infinity-readme.png
:alt: Tested and maintained by IT Projects Labs
:target: https://itpp.dev

=========================
No “Sign in” in Website
=========================

Hides the "Sign in" button in Website.

Tested on `Odoo 13.0 <https://github.com/odoo/odoo/commit/c37a16c9dfd09038925034b90ab49e1ab674e714>`_
Empty file added website_login_hide/__init__.py
Empty file.
19 changes: 19 additions & 0 deletions website_login_hide/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": """No “Sign in” in Website""",
"summary": """""",
"category": "Website",
"images": [],
"version": "14.0.1.0.0",
"author": "IT-Projects LLC",
"support": "[email protected]",
"website": "https://it-projects.info",
"license": "Other OSI approved licence", # MIT
# "price": 20.00,
# "currency": "EUR",
"depends": ["website"],
"external_dependencies": {"python": [], "bin": []},
"data": ["views.xml"],
"demo": [],
"installable": True,
"auto_install": False,
}
4 changes: 4 additions & 0 deletions website_login_hide/doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
`1.0.0`
-------

- init version
14 changes: 14 additions & 0 deletions website_login_hide/i18n/website_login_hide.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.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"

Binary file added website_login_hide/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions website_login_hide/views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="portal.portal_show_sign_in" model="ir.ui.view">
<field name="active" eval="False" />
</record>
</odoo>