Skip to main content

Base Sequence

Project description

Beta License: AGPL-3 OCA/l10n-thailand Translate me on Weblate Try me on Runboat

This module refactor the ir.sequence allowing more legends to be added with minimal code duplication and adding preview fields on both ir.sequence and ir.sequence.date_range models. the preview field is a computed fields that only visible in edit-mode of the form view works with range_ and range_end_. It helps users to check and validate the prefix, suffix, and padding configuration easily without a need to actually generate an actual document.

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

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

  • Sansiri Tanachutiwat

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo_addon_l10n_th_sequence_refactored-15.0.1.0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_l10n_th_sequence_refactored-15.0.1.0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 645732d1167bd98a8eab8f5c9a4f596e7c236b5600baf93fe79e9bb413c0eb57
MD5 4a86a52ba65bb79d633c282f2fec9dcf
BLAKE2b-256 d5ea58b8dcbc4048f36fd6b63b6bc33fe97a88b57897c765701b00bc943ae283

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page