Skip to main content

Localdict Mixin

Project description

License: AGPL-3

Localdict Mixin

ssi_localdict_mixin provides an abstract Odoo model — mixin.localdict — that supplies a standard _get_default_localdict method.

The method assembles a ready-to-use safe-eval context dictionary containing: env, document, time, datetime, dateutil, timezone, float_compare, b64encode, and b64decode.

Models that need to evaluate user-supplied Python code (e.g. domain filters, computed-by-code fields, or formula configurations) inherit this mixin to avoid duplicating the context-building boilerplate.

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 Localdict 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_localdict_mixin-14.0.1.0.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_localdict_mixin-14.0.1.0.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6347eec97a1bca7af4db4e750a2985a2a30d5f1acee9f4e381f813bde4a5af0
MD5 7a21c3441318d4edfa2132823767e64d
BLAKE2b-256 b479c0a187baa0aa69efae4f11ddad5a6a6687ad2ac570f0aead39fa7b2f9a5f

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