Skip to main content

Partner Mixin

Project description

License: AGPL-3

Partner Mixin

ssi_partner_mixin provides an abstract Odoo model — mixin.partner — that adds configurable partner and contact fields to any document model.

Any model that inherits from mixin.partner automatically gains:

  • partner_id (res.partner) — top-level company/individual partner.

  • contact_partner_id (res.partner) — contact person under the selected partner, filtered via a computed allowed_contact_ids.

  • Computed boolean attributes (mixin_partner_partner_id_required, mixin_partner_partner_id_readonly, etc.) that expose the effective required/readonly state of both partner fields, driven by class-level configuration and the record’s current state.

  • Optional view injection into form, tree, and search views controlled by class-level _mixin_partner_insert_* and _xpath_* attributes.

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 Partner 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_partner_mixin-14.0.1.3.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_ssi_partner_mixin-14.0.1.3.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 55aa20aa17278a54096fba65a5e4a970d19e92cceb3c647d382d7062dff35649
MD5 a72305746bf4bb5234d9feaf33da9771
BLAKE2b-256 14c8aef468ccf48fc8b9d59fce524dfbf0990d9407ea2462355bab5bf8c4a1a8

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