Skip to main content

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

Adds an approval workflow to Partners. The default rule requires new company Contacts to be approved before they can be used.

The rule can be extended to new non-company contact, but beware that may cause issues with automatically created new contacts, such as the ones generated when processing incoming emails.

If the ‘Is Company’ or ‘Parent’ field changes then the contact is Request for approval.

For this, the new Contact record is kept as “Archived” until it is approved.

Table of contents

Installation

This module depends on base_tier_validation. You can find it at OCA/server-ux

Usage

Before using, check Contact Stages configuration, to ensure that the default stage has the “Related State” field set to “To Approve”. For example, having the “Draft” stage the default ensures this.

A regular user creates a new Contact and sends it for approval:

  1. Create a Contact triggering at least one “Tier Definition”. The Contact will be in Draft state and marked as Archived until approved.

  2. Click on Request Validation button.

  3. In the Reviews section, at the bottom of the form, inspect the pending reviews and their status.

The approver reviews Contacts to approve:

  1. Navigate to the Contacts app, and select the filter “Needs my Approval”

  2. Open the Contact form to approve. It will display a “This Records needs to be validated” banner, with “Validate” and “Reject” options.

  3. The approver can change the state to “Active”. This will automatically unarchive the record and make it available to be used.

The Approve/Reject actions do not automatically change the State. This could be a future improvement.

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

  • Open Source Integrators

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.

Current maintainer:

dreispt

This module is part of the OCA/partner-contact project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-partner-tier-validation 16.0.1.0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-partner-tier-validation 16.0.1.0.1.7
File Interpreter ABI Platform
odoo_addon_partner_tier_validation-16.0.1.0.1.7-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_partner_tier_validation-16.0.1.0.1.7-py3-none-any.whl

Download URL odoo_addon_partner_tier_validation-16.0.1.0.1.7-py3-none-any.whl
Size 34.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88b89da426b73896706a245c207d912722a22e034667df1ffa9a491e22ff8464
BLAKE2b-256 checksum
How to use checksums
125f0cfa8d2a0447e9d34dc209795f2b0c0297acefbb1cdbc3157229850f6945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page