Metadata-Version: 2.1
Name: odoo12-addon-disable-login
Version: 12.0.1.1.0
Summary: Disable login template to force to use the OAuth login.
Home-page: https://coopdevs.org
Author: Coopdevs Treball SCCL
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.5
Requires-Dist: odoo (<12.1dev,>=12.0a)

========================
Disable Odoo login
========================

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**

.. contents::
   :local:

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 <https://git.coopdevs.org/coopdevs/odoo/addons/odoo-addons/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
~~~~~~~~~~~



