Skip to main content
Odoo Community Association

Base Sequence Option

Alpha License: LGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

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).

For example, it is now possible to,

  • Avoid using Odoo automatic sequence on invoice and vendor bill with old style sequence.

  • Customer payment and vendor payment to run on different sequence.

  • Assign different sales order sequence based on customer region.

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.,

  • Purchase Order: purchase_sequence_option

  • Invoice / Bill / Refund / Payment: account_sequence_option

  • Others: create a new module with few lines of code

Table of contents

Usage

To use this module, you need to:

  1. Go to Settings > Technical > Sequences & Identifier > Manage Sequence Options.

  2. Based on extended module installed, different document types will be listed, i.e., Purchase Order.

  3. Activite “Use sequence options” to use, if not, fall back to normal sequence.

  4. For each option, provide,

    • Name: i.e., Customer Invoice for Cust A., Customer Payment, etc.

    • Apply On: a filter domain to test whether a document match this option.

    • Sequence: select underlining sequence to perform

Note:

  • If no options matches the document, fall back to normal sequence.

  • If there are multiple sequence options that match same document, error will be raised.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Ecosoft

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

kittiu

This module is part of the OCA/server-tools project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-base-sequence-option 18.0.1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-base-sequence-option 18.0.1.0.1
File Interpreter ABI Platform
odoo_addon_base_sequence_option-18.0.1.0.1-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_base_sequence_option-18.0.1.0.1-py3-none-any.whl

Download URL odoo_addon_base_sequence_option-18.0.1.0.1-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a00d9730ac1a3efea2035d4f1403d943ccad48cac986dd747ec1ebb7c4f3e275
BLAKE2b-256 checksum
How to use checksums
7e1eb16128a1128f53f26e7da52f7a735f8f224596e7aec993bf9a296e46df97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page