Base Sequence
Project description
This module refactor the ir.sequence allowing more legends to be added with minimal code duplication.
Adding more legends to ir.sequence requires an extension of an inner method _interpolation_dict() of the _get_prefix_suffix() method. An extension of an inner method is impractical, therefore this module override the _get_prefix_suffix() method by moving the inner private method _interpolation_dict() to a private method. Therefore, this allows another module to add more legends to the ir.sequence.
This modules works as a base module to other modules to add more legends to ir.sequence.
Table of contents
Changelog
First version.
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Sansiri Tanachutiwat <sansiri.t@tggs.kmutnb.ac.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.
This module is part of the OCA/l10n-thailand 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 odoo14_addon_l10n_th_sequence_refactored-14.0.1.0.1-py3-none-any.whl
.
File metadata
- Download URL: odoo14_addon_l10n_th_sequence_refactored-14.0.1.0.1-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/59.5.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945b855beb7e2212bc3936c9a3507517f2d44f9699b1f2a4e75f9f02a88b34ad |
|
MD5 | 84c6eae4316556ea2571ee07d84c7306 |
|
BLAKE2b-256 | afe0506061ad5a37cb360210d855625add164b62460314fe8db8f846315b62e7 |