Alternative sequence options for specific models
Project description
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:
Go to Settings > Technical > Sequences & Identifier > Manage Sequence Options.
Based on extended module installed, different document types will be listed, i.e., Purchase Order.
Activite “Use sequence options” to use, if not, fall back to normal sequence.
- 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
Contributors
Kitti U. <kittiu@ecosoft.co.th>
Maintainers
This module is maintained by the OCA.
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_base_sequence_option-16.0.1.0.1-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_base_sequence_option-16.0.1.0.1-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c97f946c399ef250e5533d88a2261801c9e170ce5d4c5d72dac1cb22b850b201 |
|
MD5 | 8d193aba0026d9a95992bf5790eb6287 |
|
BLAKE2b-256 | 9bc4e5f6ed9eaa2ede0edcbc5c7402cb9d8424e0c41314dcd71b706a7ee04964 |