Search 1.9 billion lines of Odoo code on GitHub


Author: Akretion, Camptocamp, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: acsone/server-env
Dependencies: base_delivery_carrier_label, and server_environment
Languages: HTML (367, 75.2%), Python (31, 6.4%), and reStructuredText (90, 18.4%)
Other repositories: Change2improve/server-env, Darknroses/server-env, ERPLibre/server-env, Gabinete-Digital/server-env, KonosCL/server-env, MathBenTech/server-env, OCA-MUK/server-env, OCA/server-env, SanteLibre/server-env, SequarSrl/server-env, SeuMarco/server-env, ajaniszewska-dev/server-env, akretion/server-env, anhvu-sg/server-env, brain-tec/server-env, brainbeanapps/server-env, camptocamp/server-env, cedvict/server-env, coopiteasy/server-env, guewen/server-env, hinfo506/server-env, it-projects-llc/server-env, legalsylvain/server-env, lideritjnma/server-env, multidadosti-erp/server-tools, p-tombez/server-env, sanube/server-env, sendalpegat/server-env, simahawk/server-env, and ursais/server-env

<h1 class="title">Carrier configuration with server_environment</h1> <p><a class="reference external" href=""><img alt="Beta" src="" /></a> <a class="reference external" href=""><img alt="License: AGPL-3" src="" /></a> <a class="reference external" href=""><img alt="OCA/server-env" src="" /></a> <a class="reference external" href=""><img alt="Translate me on Weblate" src="" /></a> <a class="reference external" href=""><img alt="Try me on Runbot" src="" /></a></p> <p>This module allows to configure carrier informations using the <cite>server_environment</cite> mechanism: you can then have different servers for the production and the test environment.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id2">Usage</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="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>With this module installed, the delivery carrier are configured in the <cite>server_environment_files</cite> module (which is a module you should provide, see the documentation of <cite>server_environment</cite> for more information).</p> <p>In the configuration file of each environment, you may first use the section <cite>[carrier_account]</cite>.</p> <p>Then for each server, you can define additional values or override the default values with a section named <cite>[carrier_account.resource_name]</cite> where &quot;resource_name&quot; is the name of the server.</p> <p>Example of config file</p> <pre> <code>[carrier_account] # here is the default format file_format = 'ZPL' [carrier_account.mycarrier] name = mycarrier account = 587 password = 123promenons-nous-dans-les-bois456cueillir-des-saucisses [carrier_account.mycarrier2] name = mycarrier2 account = 666 password = wazaaaaa file_format = PDF</code> </pre> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>Once configured, Odoo will read the carrier values from the configuration file related to each environment defined in the main Odoo file or in carrier.account model.</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="">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="**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>Akretion</li> <li>Camptocamp</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <ul class="simple"> <li>David Béal &lt;<a class="reference external" href="mailto:david.beal&#64;">david.beal&#64;</a>&gt;</li> <li>Guewen Baconnier &lt;<a class="reference external" href="mailto:guewen.baconnier&#64;">guewen.baconnier&#64;</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href=""><img alt="Odoo Community Association" src="" /></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>This module is part of the <a class="reference external" href="">OCA/server-env</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href=""></a>.</p>