Search 1.9 billion lines of Odoo code on GitHub

session_db

Author: Odoo SA,ACSONE SA/NV,Odoo Community Association (OCA)
License: LGPL-3
Branch: 16.0-mig-base_sparse_field_list_support-hda
Repository: acsone/server-tools
Languages: HTML (341, 70.3%), Python (94, 19.4%), and reStructuredText (50, 10.3%)
Other branches: 10.0-session_db-lmi, 10.0-session_db-sbi, 13.0, 13.0-session_db-sbi, 14.0, 14.0-session_db-sbi, 16.0, 16.0-base_time_window-sbj, and 16.0-session_db-sbi
Other repositories: AITIC/server-tools, ApexFree/odoo-extra, Change2improve/server-tools, Dasanchez92/odoo-extra, Digital5-Odoo/server-tools, Elico-Corp/odoo-extra, ForgeFlow/server-tools, Gabinete-Digital/server-tools, GrupoAlvamex/odoo-extra, Jarsa/server-tools, MediaJockey/odoo-extra, Medprogress/odoo-extra, Mefistous/odoo-extra, MjAbuz/odoo-extra, OCA/server-tools, PrenorSistemas/odoo-extra, TRESCLOUD/odoo-extra, Trust-Code/odoo-extra, Vauxoo/server-tools, YogeshMahera-SerpentCS/odoo-extra, a0c/odoo-extra, akretion/server-tools, aurestic/server-tools, bgavarini/odoo-extra, bizzappdev/odoo-extra, bmya/server-tools, brain-tec/odoo-extra, brain-tec/server-tools, camptocamp/server-tools, cdxfish/odoo-extra, cedvict/odoo-extra, daramousk/odoo-extra, ddico/server-tools, dntq83/odoo-extra, eksotama/odoo-extra, factorlibre/server-tools, fauzi-tsani/odoo-extra, fonteyne/odoo-extra, grottas/odoo-extra, guoyu07/odoo-extra, hibou-io/oca-server-tools, hilarak/odoo-extra, hiren-serpentcs/odoo-extra, houssemabid/odoo-extra, idazco/odoo-extra, initOS/server-tools, jcosoftware/odoo-extra, jiiihen/odoo-extra, kishore0709/odoo-extra, loai-kanou/odoo-extra, maboubia/odoo-extra, marcelsavegnago/odoo-extra, mmalewski/odoo-extra, nabiforks/odoo-extra, ntsirintanis/server-tools, odoo/odoo-extra, odoosoft/odoo-extra, old-boy/odoo-extra, oldangryowl/odoo-extra, onixus74/odoo-extra, petrus-v/server-tools, pinguin999/odoo-extra, purnachandra1234/odoo-extra, pythoner-3k/odoo-extra, rohitramnani1994/odoo-extra, rop-odoo/odoo-extra, royaurelien/odoo-extra, rvalyi/odoo-extra, sadeqamin/odoo-extra, santiagociezar/odoo-extra, sc4you/odoo-extra, shengyf1/odoo-extra, smartapp-ep/odoo-extra, sunflowerit/server-tools, tarteo/server-tools, ursais/server-tools, usmcgwg/odoo-extra, wayneburlingame/odoo-extra, xavieralt/odoo-extra, and zarumaru/server-tools

<h1 class="title">Store sessions in DB</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/server-tools/tree/16.0/session_db"><img alt="OCA/server-tools" src="https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-session_db"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/149/16.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>Store sessions in a database instead of the filesystem. This simplifies the configuration of horizontally scalable deployments, by avoiding the need for a distributed filesystem to store the Odoo sessions.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <p>Set this module in the server wide modules.</p> <p>Set a <code>SESSION_DB_URI</code> environment variable as a full postgresql connection string, like <code>postgres://user:passwd&#64;server/db</code> or <code>db</code>.</p> <p>It is recommended to use a dedicated database for this module, and possibly a dedicated postgres user for additional security.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h2> <p>This module does not work with multi-threaded workers, so it requires workers &gt; 0.</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20session_db%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id4">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id5">Authors</a></h3> <ul class="simple"> <li>Odoo SA</li> <li>ACSONE SA/NV</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id6">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/sbidoul"><img alt="sbidoul" src="https://github.com/sbidoul.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/16.0/session_db">OCA/server-tools</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>