Search 1.9 billion lines of Odoo code on GitHub

muk_attachment_lobject

Author: MuK IT
License: LGPL-3
Branch: 12.0
Repository: BlueConnectBR/muk_base
Dependencies: base, and muk_fields_lobject
Languages: HTML (138, 22.5%), PO File (168, 27.4%), Python (197, 32.1%), SVG (1, 0.2%), XML (15, 2.4%), and reStructuredText (95, 15.5%)
Other branches: 10.0, 11.0, and 13.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 Object Attachment Storage</h1> <p>Provides a new attachment location to save attachments as PostgreSQL large objects. To enable the large object storage option change the <cite>ir_attachment.location</cite> parameter to <cite>lobject</cite>.</p> <p><strong>Advantages over the in-database storage</strong></p> <ul class="simple"> <li>Better RAM efficiency (This is more important for large files than for small ones.)</li> <li>Possibility to easily dump the base without the large objects (This can be useful for reproducing bugs.)</li> </ul> <p><strong>Advantages over the file system storage</strong></p> <ul class="simple"> <li>Large objects are transactional (fully ACID)</li> <li>They work out of the box in multi-system setups (So there is no need for NFS or similar file sharing tools.)</li> <li>Enables you to easily create backups of the entire system</li> </ul> <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. 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 odoo11-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 OPL-1, you will receive access data when you purchase the module. If the modules were not purchased directly from <a class="reference external" href="https://www.mukit.at/">MuK IT</a> please contact our support (<a class="reference external" href="mailto:support&#64;mukit.at">support&#64;mukit.at</a>) with a confirmation of 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>The module has an init hook, which automatically stores all attachments in large objects. To activate this hook the config parameter <cite>auto_storage_migration</cite> has to be set to <cite>true</cite>.</p> <a name="usage"></a> <h2>Usage</h2> <p>This module has no direct visible effect on the system. However, existing and future attachments are stored as large objects.</p> <a name="credits"></a> <h2>Credits</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 mail (<a class="reference external" href="mailto:sale&#64;mukit.at">sale&#64;mukit.at</a>) or visit our website (<a class="reference external" href="https://mukit.at">https://mukit.at</a>).</p>