Search 1.9 billion lines of Odoo code on GitHub

database_block

Author: IT-Projects LLC, Eugene Molotov
License: Other OSI approved licence
Branch: 14.0
Repository: em230418/access-addons
Dependencies: web
Languages: CSS (4, 3.1%), JavaScript (25, 19.2%), Python (39, 30.0%), XML (34, 26.2%), and reStructuredText (28, 21.5%)
Other branches: 12.0, 13.0, 13.0-database_block, 14.0-auth_quick, and 14.0-database_limit_size
Other repositories: ERPLibre/access-addons, KonosCL/access-addons, SeuMarco/access-addons, aaltinisik/access-addons, corsisa/access-addons, germanponce/access-addons, iledarn/access-addons, itpp-labs/access-addons, niulinlnc/access-addons, qiu-89/access-addons, trojikman/access-addons, and yelizariev/access-addons

<a class="reference external image-reference" href="https://itpp.dev"><img alt="Tested and maintained by IT Projects Labs" src="https://itpp.dev/images/infinity-readme.png" /></a> <a class="reference external image-reference" href="https://opensource.org/licenses/MIT"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue.svg"> </a> <a name="block-backend-ui"></a> <h2>Block backend UI</h2> <p>This technical module allows blocking backend access and display the message</p> <p>In order to do that, dependent module need to override <code>ir.http</code> 's session_info method and return dictionary with following keys:</p> <ul class="simple"> <li><code>database_block_message</code> - the displayed message itself. Can be HTML</li> <li><code>database_block_is_warning</code> - if true, backend is not blocked, but displayed message is shown as warning (<code>web_responsive</code> must be installed in order for warning to be displayed)</li> </ul> <a name="questions"></a> <h3>Questions?</h3> <p>To get an assistance on this module contact us by email :arrow_right: <a class="reference external" href="mailto:help&#64;itpp.dev">help&#64;itpp.dev</a></p> <a name="contributors"></a> <h3>Contributors</h3> <ul class="simple"> <li><a class="reference external" href="https://it-projects.info/team/em230418">Eugene Molotov</a>:</li> </ul> <a name="further-information"></a> <h3>Further information</h3> <p>Odoo Apps Store: <a class="reference external" href="https://apps.odoo.com/apps/modules/14.0/database_block/">https://apps.odoo.com/apps/modules/14.0/database_block/</a></p> <p>Notifications on updates: <a class="reference external" href="https://github.com/itpp-labs/access-addons/commits/14.0/database_block.atom">via Atom</a>, <a class="reference external" href="https://blogtrottr.com/?subscribe=https://github.com/itpp-labs/access-addons/commits/14.0/database_block.atom">by Email</a></p> <p>Tested on <a class="reference external" href="https://github.com/odoo/odoo/commit/829ae7b7e2941b6bb7af73a6d3d78b4ef1abf453">Odoo 14.0</a></p>