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
Contributors
Som Connexió
Maintainers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo12-addon-disable_login-12.0.1.1.1.tar.gz.
File metadata
- Download URL: odoo12-addon-disable_login-12.0.1.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
362ca4abda2d5325ba293ac652166bd3d8d7d4a3fb97a66e52f99932f5b63047
|
|
| MD5 |
7161cb2d7c397e4551af54adb2043397
|
|
| BLAKE2b-256 |
99151c2aa6aa8a7ef12779ef8d0cbec1273db1edfcec7eebd07cc7395602fc31
|
File details
Details for the file odoo12_addon_disable_login-12.0.1.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: odoo12_addon_disable_login-12.0.1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bf2a97db53c1cd53ad5d7b4ccf88f6f31fa5ee9025b5a53613200380f29d895
|
|
| MD5 |
f5254bf4f55a1ea80421fdfa27485014
|
|
| BLAKE2b-256 |
bafef86045e38355ef8789ce08d5ec8cc551aa0431387142f35e34d4f9686d06
|