Search 1.9 billion lines of Odoo code on GitHub

base_sequence_option

Author: Ecosoft, Odoo Community Association (OCA)
License: LGPL-3
Branch: 14.0
Repository: acsone/server-tools
Dependencies: base
Languages: HTML (377, 45.9%), Python (257, 31.3%), XML (108, 13.2%), and reStructuredText (79, 9.6%)
Other branches: 14.0-mass_mailing_mail_server-mle, and 14.0-session_db-sbi
Other repositories: AITIC/server-tools, Change2improve/server-tools, Digital5-Odoo/server-tools, ForgeFlow/server-tools, Jarsa/server-tools, LevelPrime/server-tools, OCA/server-tools, Rad0van/server-tools, StefanRijnhart/server-tools, TRESCLOUD/server-tools, Tecnativa/server-tools, Vauxoo/server-tools, YannickB/server-tools, akretion/server-tools, anhvu-sg/server-tools, aurestic/server-tools, blooparksystems/server-tools, bmya/server-tools, brain-tec/server-tools, camptocamp/server-tools, coopiteasy/server-tools, ecosoft-odoo/server-tools, focusate/oca-server-tools, grindtildeath/server-tools, gurneyalex/server-tools, hibou-io/oca-server-tools, initOS/server-tools, invitu/server-tools, kmee/server-tools, legalsylvain/server-tools, modoolar/server-tools, petrus-v/server-tools, praxigento/oca-server-tools, sodexis/server-tools, sunflowerit/server-tools, tafaRU/server-tools, tegin/server-tools, trevi-software/server-tools, ursais/server-tools, versada/server-tools, ypapouin/server-tools, and zarumaru/server-tools

<h1 class="title">Base Sequence Option</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.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/14.0/base_sequence_option"><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-14-0/server-tools-14-0-base_sequence_option"><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/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module allow user to add optional sequences to some document model. On which sequence is used, is based on domain matching with document values (and original sequence will be bypassed).</p> <p>For example, it is now possible to,</p> <ul class="simple"> <li>Avoid using Odoo automatic sequence on invoice and vendor bill with old style sequence.</li> <li>Customer payment and vendor payment to run on different sequence.</li> <li>Assign different sales order sequence based on customer region.</li> </ul> <p>This is a base module and does nothing by itself. Following are modules that will allow managing sequence options for each type of documents, I.e.,</p> <ul class="simple"> <li>Purchase Order: purchase_sequence_option</li> <li>Invoice / Bill / Refund / Payment: account_sequence_option</li> <li>Others: create a new module with few lines of code</li> </ul> <div class="admonition important"> <p class="first admonition-title">Important</p> <p class="last">This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. <a class="reference external" href="https://odoo-community.org/page/development-status">More details on development status</a></p> </div> <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="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</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>To use this module, you need to:</p> <ol class="arabic simple"> <li>Go to <em>Settings &gt; Technical &gt; Sequences &amp; Identifier &gt; Manage Sequence Options</em>.</li> <li>Based on extended module installed, different document types will be listed, i.e., Purchase Order.</li> <li>Activite &quot;Use sequence options&quot; to use, if not, fall back to normal sequence.</li> <li><dl class="first docutils"> <dt>For each option, provide,</dt> <dd><ul class="first last"> <li>Name: i.e., Customer Invoice for Cust A., Customer Payment, etc.</li> <li>Apply On: a filter domain to test whether a document match this option.</li> <li>Sequence: select underlining sequence to perform</li> </ul> </dd> </dl> </li> </ol> <p><strong>Note:</strong></p> <ul class="simple"> <li>If no options matches the document, fall back to normal sequence.</li> <li>If there are multiple sequence options that match same document, error will be raised.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">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:%20base_sequence_option%0Aversion:%2014.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="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>Ecosoft</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Kitti U. &lt;<a class="reference external" href="mailto:kittiu&#64;ecosoft.co.th">kittiu&#64;ecosoft.co.th</a>&gt;</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/kittiu"><img alt="kittiu" src="https://github.com/kittiu.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-tools/tree/14.0/base_sequence_option">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>