Skip to main content

Disable login template to force to use the OAuth login.

Project description

This project modifies the login view and controller to hide and deny the login with Odoo. It is designed to force users to use SSO providers.

In development environment, you can define the environment variable ODOO_ALLOW_ODOO_LOGIN with True to show and allow the Odoo login.

Please don’t hesitate to suggest any change for this project.

Table of contents

Installation

## Deploying with pip

We used [odoo setup tools](https://pypi.org/project/setuptools-odoo/#packaging-a-single-addon) to generate the pypi files from the odoo manifests. To deploy any packaged module, so that odoo can later install them, you can create a venv with this name (it’s git-ignored)

`shell python -m venv venv ` And then pip-install them [from pypi](https://pypi.org/user/coopdevs/).

### Example

`shell pip install odoo12-addon-disable-login==12.0.1.0.2 ` Beware that for word separation, pypi uses dashes - and odoo underscores _.

Bug Tracker

Bugs are tracked on Gitlab Issues. In case of trouble, please check there if your issue has already been reported.

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

Credits

Authors

  • Coopdevs Treball SCCL

Contributors

  • Som Connexió

Maintainers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odoo12-addon-disable_login-12.0.1.1.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

odoo12_addon_disable_login-12.0.1.1.1-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page