Skip to main content

Source Document Mixin

Project description

License: AGPL-3

Source Document Mixin

ssi_source_document_mixin provides an abstract Odoo model — mixin.source_document — that adds a lightweight polymorphic source- document reference to any model.

Rather than using Odoo’s schema-heavy fields.Reference column, the mixin stores the reference as two fields:

  • source_document_model_id (ir.model) — the model of the source.

  • source_document_res_id (Integer) — the ID of the source record.

A computed source_document_id (fields.Reference) assembles those two values into a navigable reference displayed in the UI, avoiding extra schema migrations while still supporting cross-model linking.

Installation

To install this module, you need to:

  1. Clone the branch 41.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

  5. Search For Source Document 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_source_document_mixin-14.0.1.1.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_source_document_mixin-14.0.1.1.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 e28babe2e2ded98424f091bdc03ca318746710eed3ba23e4bf4b9c520a286a2e
MD5 dd52db7bb9a3575050216dd206544d79
BLAKE2b-256 a1d28842e9a722b109a96e03ec168c9ee6244d159769784fe8b182a7cda63f2a

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