Skip to main content

Duration Mixin

Project description

License: AGPL-3

Duration Mixin

ssi_duration_mixin provides two abstract Odoo models for recording time spans on any document.

  • mixin.date_duration — adds date_start and date_end date fields using DateCallable for fully configurable labels, required/readonly states, and a built-in constraint that enforces date_end >= date_start. All field attributes (required, readonly, string, state overrides) are driven by class-level attributes, so subclasses need no field re-declarations.

  • mixin.datetime_duration — a simpler variant that adds plain Datetime start and end fields for cases where date-level precision is sufficient and extended configurability is not needed.

Installation

To install this module, you need to:

  1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-mixin

  2. Add the path to this repository in your configuration (addons-path)

  3. Update the module list (Must be on developer mode)

  4. Go to menu Apps -> Apps -> Main Apps

  5. Search For Duration Mixin

  6. Install the module

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 smash it by providing detailed and welcomed feedback.

Credits

Contributors

Maintainer

PT. Simetri Sinergi Indonesia

This module is maintained by the PT. Simetri Sinergi Indonesia.

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo14_addon_ssi_duration_mixin-14.0.2.1.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_duration_mixin-14.0.2.1.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 368e219324df7e427d0ba41015e02025bef631edd250873c651e2258106a35e0
MD5 816e7dc263b92dd74314c336c900eb84
BLAKE2b-256 4fc6a4d3cf24cbe9eba7710628c677d0a68927e81ca1933cbce04cfdd5241414

See more details on using hashes here.

Supported by

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