Search 1.9 billion lines of Odoo code on GitHub

muk_fields_lobject

Author: MuK IT
License: LGPL-3
Branch: 13.0
Repository: BlueConnectBR/muk_base
Dependencies: muk_fields_stream
Languages: HTML (220, 25.0%), PO File (416, 47.3%), Python (137, 15.6%), SVG (1, 0.1%), and reStructuredText (105, 11.9%)
Other branches: 10.0, 11.0, and 12.0
Other repositories: AITIC/muk_base, ChinaShrimp/muk_base, ERPLibre/muk_base, EdyKend/muk_base, Guobower/muk_base, ITPerfectionists/muk_base, Intesco2-0/muk_base, Jeisonpernia/muk_base, JohnLYH/muk_base, Kalway-Technology/muk_base, KonaERP/muk_base, Leuan12/muk_base, MaitreDede/muk_base, MathBenTech/muk_base, Muhamed-Git/muk_base, NCS-75/muk_base, OCA-MUK/muk_base, OdooBulgaria/muk_base, Posland/muk_base, PrenorSistemas/muk_base, RahmatNS/muk_base, SDIsl/muk_base, SanteLibre/muk_base, SeuMarco/muk_base, ad1ltd/muk_base, ajinvn2019/muk_base, aravinthu/muk_base, asoral/muk_base, boky1993/muk_base, claro5/muk_base, crnd-inc/muk_base, dndoanh/muk_base, drmedrme/muk_base, dsasoftware/muk_base, dunxiangyu/muk_base, ejprice/muk_base, erick-alvino/muk_base, gastonfeng/muk_base, gstrainovic/odoo-12-docker-compose-qms-dms-ssl, hefeilaowang/muk_base, huahyong/muk_base, ideaspositivas-group/muk_base, ip-candres/muk_base, jacky82669513/muk_base, jashan510/muk_base, jason156/muk_base, joyinfo/muk_base, klcftm/muk_base, kopeyev/muk_base, l327253678/muk_base, leangjia/muk_base, lipengfei911/muk_base, lpajaresv/muk_base, m9rio/muk_base, marcelsavegnago/muk_base, maxellini/muk_base, mcjulian1107/muk_base, mfhm95/muk_base, mgielissen/muk_base, muk-it/muk_base, myceliandre/muk_base, nelsonramirezs/muk_base, niulinlnc/muk_base, odoo-modules/muk_base, ondrong/muk_base, one2pret/muk_base, pasgou/muk_base, ravishekharco/muk_base, redblow/muk_base, sasakuma/muk_base, sbejaoui/muk_base, sc4you/muk_base, scbrianti/muk_base, sewisoft/muk_base, shiram/muk_base, sm2x/muk_base, tate11/muk_base, tongjiou/muk_base, trung8358573/muk_base, unitek-solusi/muk_base, vincenzodiroberto/muk_base, and vkuldeep/muk_base

<h1 class="title">MuK Large Objects Field</h1> <p>PostgreSQL offers support for large objects, which provide stream-style access to user data that is stored in a special large-object structure. They are useful with data values too large to be manipulated conveniently as a whole.</p> <p>Psycopg allows access to the large object using the <cite>lobject</cite> class. Objects are generated using the <cite>connection.lobject()</cite> factory method. Data can be retrieved either as bytes or as Unicode strings.</p> <p>Psycopg large object support efficient import/export with file system files using the <cite>lo_import()</cite> and <cite>lo_export()</cite> libpq functions.</p> <p>Changed in version 2.6: added support for large objects greated than 2GB. Note that the support is enabled only if all the following conditions are verified:</p> <ul class="simple"> <li>the Python build is 64 bits;</li> <li>the extension was built against at least libpq 9.3;</li> <li>the server version is at least PostgreSQL 9.3 (server_version must be &gt;= 90300).</li> </ul> <p>If Psycopg was built with 64 bits large objects support (i.e. the first two contidions above are verified), the <cite>psycopg2.__version__</cite> constant will contain the lo64 flag. If any of the contition is not met several lobject methods will fail if the arguments exceed 2GB.</p> <a name="installation"></a> <h2>Installation</h2> <p>To install this module, you need to:</p> <p>Download the module and add it to your Odoo addons folder. Afterward, log on to your Odoo server and go to the Apps menu. Trigger the debug mode and update the list by clicking on the &quot;Update Apps List&quot; link. Now install the module by clicking on the install button.</p> <p>Another way to install this module is via the package management for Python (<a class="reference external" href="https://pypi.org/project/pip/">PyPI</a>).</p> <p>To install our modules using the package manager make sure <a class="reference external" href="https://pypi.org/project/odoo-autodiscover/">odoo-autodiscover</a> is installed correctly. Note that for Odoo version 11.0 and later this is not necessary anymore. Then open a console and install the module by entering the following command:</p> <p><code>pip install --extra-index-url https://nexus.mukit.at/repository/odoo/simple &lt;module&gt;</code></p> <p>The module name consists of the Odoo version and the module name, where underscores are replaced by a dash.</p> <p><strong>Module:</strong></p> <p><code>odoo&lt;version&gt;-addon-&lt;module_name&gt;</code></p> <p><strong>Example:</strong></p> <p><code>sudo -H pip3 install --extra-index-url https://nexus.mukit.at/repository/odoo/simple odoo13-addon-muk-utils</code></p> <p>Once the installation has been successfully completed, the app is already in the correct folder. Log on to your Odoo server and go to the Apps menu. Trigger the debug mode and update the list by clicking on the &quot;Update Apps List&quot; link. Now install the module by clicking on the install button.</p> <p>The biggest advantage of this variant is that you can now also update the app using the &quot;pip&quot; command. To do this, enter the following command in your console:</p> <p><code>pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple &lt;module&gt;</code></p> <p>When the process is finished, restart your server and update the application in Odoo. The steps are the same as for the installation only the button has changed from &quot;Install&quot; to &quot;Upgrade&quot;.</p> <p>You can also view available Apps directly in our <a class="reference external" href="https://nexus.mukit.at/#browse/browse:odoo">repository</a> and find a more detailed installation guide on our <a class="reference external" href="https://mukit.at/page/open-source">website</a>.</p> <p>For modules licensed under a proprietary license, you will receive the access data after you purchased the module. If the purchase were made at the Odoo store please contact our <a class="reference external" href="mailto:support&#64;mukit.at">support</a> with a confirmation of the purchase to receive the corresponding access data.</p> <a name="upgrade"></a> <h2>Upgrade</h2> <p>To upgrade this module, you need to:</p> <p>Download the module and add it to your Odoo addons folder. Restart the server and log on to your Odoo server. Select the Apps menu and upgrade the module by clicking on the upgrade button.</p> <p>If you installed the module using the &quot;pip&quot; command, you can also update the module in the same way. Just type the following command into the console:</p> <p><code>pip install --upgrade --extra-index-url https://nexus.mukit.at/repository/odoo/simple &lt;module&gt;</code></p> <p>When the process is finished, restart your server and update the application in Odoo, just like you would normally.</p> <a name="configuration"></a> <h2>Configuration</h2> <p>No additional configuration is needed to use this module.</p> <a name="usage"></a> <h2>Usage</h2> <p>This module has no direct visible effect on the system. It adds a new field type, which can be used in other modules.</p> <a name="credit"></a> <h2>Credit</h2> <a name="contributors"></a> <h3>Contributors</h3> <ul class="simple"> <li>Mathias Markl &lt;<a class="reference external" href="mailto:mathias.markl&#64;mukit.at">mathias.markl&#64;mukit.at</a>&gt;</li> </ul> <a name="images"></a> <h3>Images</h3> <p>Some pictures are based on or inspired by the icon set of Font Awesome:</p> <ul class="simple"> <li><a class="reference external" href="https://fontawesome.com">Font Awesome</a></li> </ul> <a name="author-maintainer"></a> <h3>Author &amp; Maintainer</h3> <p>This module is maintained by the <a class="reference external" href="https://www.mukit.at/">MuK IT GmbH</a>.</p> <p>MuK IT is an Austrian company specialized in customizing and extending Odoo. We develop custom solutions for your individual needs to help you focus on your strength and expertise to grow your business.</p> <p>If you want to get in touch please contact us via <a class="reference external" href="mailto:sale&#64;mukit.at">mail</a> or visit our <a class="reference external" href="https://mukit.at">website</a>.</p>