| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Purchase (purchase) • Invoicing (account) |
| Lines of code | 4777 |
| Technical Name |
grev_od_purchase_compliance |
| License | OPL-1 |
| Website | https://www.grevlin.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Purchase (purchase) • Invoicing (account) |
| Lines of code | 4777 |
| Technical Name |
grev_od_purchase_compliance |
| License | OPL-1 |
| Website | https://www.grevlin.com |
|
Enterprise Edition Purchase Compliance
The complete enterprise procurement compliance platform â
|
|
⚙ Core Features |
||||||||
|
||||||||
|
🚀 Advanced Capabilities |
||||||||||
|
🎯 Who Is This For? |
||||||||
|
|
5,000+ Suppliers Supported |
4 Sanctions List Providers |
SHA-256 Audit Chain Integrity |
3-tier RBAC Security Model |
📰 Changelog |
||||||
|
📞 Support & Contact |
|||
|
|||
| ✅ 30 Days Free Support Included |
|
Grevlin Global Corp. Professional Odoo Solutions for Enterprise Procurement |
Purchase Compliance
Enterprise procurement compliance platform — KYC, sanctions screening, ESG, risk scoring, corrective action plans, and an immutable SHA-256 audit trail.
Overview
Purchase Compliance enforces regulatory, internal-policy, and contractual obligations across the full procurement lifecycle without mutating source documents. All compliance data lives in its own models; purchase orders and RFQs are never altered by this module.
Key capabilities
- KYC & UBO — supplier due-diligence with document tracking, expiry alerts, and an Ultimate Beneficial Owner register with sanctions cross-check.
- Fuzzy Sanctions Screening — Levenshtein-distance matching against OFAC, EU, UN, and internal blocklists; creates investigation cases on match.
- Multi-Dimensional Risk Scoring — inherent and residual scores, country risk tiers, escalation matrix, and SLA enforcement.
- ESG Profiles — EcoVadis, Sedex/SMETA, ISO 14001/45001, CSRD, LkSG, and modern-slavery attestation.
- ABC / PEP Questionnaire — questionnaire engine with PEP registry and e-attestation; periodic re-validation reminders.
- Corrective Action Plans (CAP) — milestone tracking, verification steps, overdue detection cron, and manager sign-off closure.
- Immutable Audit Log — SHA-256 hash-chained event log; write() raises ValidationError unconditionally — no record can be altered.
- Regulatory Calendar — jurisdiction profiles, impact assessment, daily reminder cron, and overdue escalation.
- Gifts & Hospitality Register — configurable policy limits; approval workflow triggered above threshold.
- Conflict of Interest Registry — COI declaration form with automatic recusal enforcement.
- Contract Clause Library — standard clause templates with price deviation alerts and approval workflow.
- Dual-Authorization — four-eyes enforcement for exception resolution; bypassing is blocked at ORM level in action_resolve().
- OWL Compliance Command Center — real-time dashboard: KPI tiles, risk distribution, active cases, upcoming regulatory events, and recent alerts.
- Three-tier RBAC — Compliance User (read-only) / Compliance Officer (create & edit) / Compliance Manager (full CRUD, exception approval).
- Multi-company isolation — record rules on all primary models using ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)].
Configuration
Installation
- Install the module from :menuselection:`Apps` (search for Purchase Compliance).
- Ensure the following standard modules are installed:
- base, purchase, product, mail, uom
- Assign users to the appropriate security group (see Security groups).
- Optionally import your sanctions-list entries under :menuselection:`Compliance --> Configuration --> Sanctions Lists`.
- Configure country risk tiers under :menuselection:`Compliance --> Configuration --> Country Risk`.
Security groups
| Group | Permissions |
|---|---|
| Compliance User | Read-only access to all compliance models |
| Compliance Officer | Create and edit: profiles, documents, cases, CAPs, regulatory events |
| Compliance Manager | Full CRUD; approve exceptions; manage rules, clause library, and config |
Groups use implied_ids inheritance: Officer implies User; Manager implies Officer.
Usage
Supplier compliance profile
- Navigate to :menuselection:`Compliance --> Suppliers --> Compliance Profiles`.
- Click :guilabel:`New`.
- Select the supplier in the :guilabel:`Partner` field.
- Complete the profile tabs:
- KYC — attach KYC documents; set expiry dates; mark :guilabel:`KYC Completed` and :guilabel:`Sanctions Check`.
- UBO — add Ultimate Beneficial Owner entries; the system cross-checks UBO names against active sanctions lists.
- ESG — select applicable frameworks (EcoVadis, Sedex, ISO 14001/45001, CSRD, LkSG, modern slavery); attach evidence documents.
- Risk — inherent and residual risk scores are computed automatically from questionnaire results and country-risk tier.
- Click :guilabel:`Save`.
Note
The compliance status badge (Compliant / Pending / Non-Compliant / Expired) is recomputed every time a document expiry date is reached or a compliance event changes the supplier's score.
Running a sanctions screen
To screen a supplier on demand:
- Open the supplier's compliance profile.
- Click :guilabel:`Screen Sanctions` in the action bar.
- The service grev.purchase.compliance.service.run_sanctions_screening runs a Levenshtein fuzzy match against all active list entries.
- If a match is found above the configured threshold, an investigation case is created automatically and the officer is notified by Odoo activity.
The weekly batch cron runs the same logic across all active supplier names automatically every Monday at 02:00.
Managing cases
- Navigate to :menuselection:`Compliance --> Case Management --> Cases`.
- Cases are created automatically by compliance event checks or sanctions screening. They can also be raised manually.
- Progress a case through the stages: Open → Investigating → Resolved / Closed.
- Resolving a case flagged for dual-authorization requires a second approver different from the user who opened or last edited the case.
Important
action_resolve() enforces dual-authorization at the ORM level. The current user cannot be the same as the case owner. This check cannot be bypassed via the API or shell.
Corrective Action Plans
- From an open case, click :guilabel:`Create CAP`.
- Add milestone lines with target dates.
- As milestones are completed, mark them :guilabel:`Done`.
- The daily cron marks CAPs as Overdue when the due date passes with open milestones.
- The Compliance Manager closes the CAP after verifying all milestones.
Regulatory calendar
- Navigate to :menuselection:`Compliance --> Regulatory --> Calendar`.
- Create a regulatory event, selecting the jurisdiction profile and assigning an impact level.
- The daily reminder cron creates Odoo activities for events due within 30 days.
- Overdue events are escalated to the Compliance Manager automatically.
ABC questionnaire
- Navigate to :menuselection:`Compliance --> ABC --> Questionnaires`.
- Assign a questionnaire to a supplier; the supplier completes it via the portal (if the supplier portal module is installed) or internally.
- PEP status is declared and stored in the PEP registry.
- E-attestation timestamp and signatory are captured on submission.
Technical Details
Models
| Model | Description |
|---|---|
| grev.purchase.compliance.supplier | Supplier compliance profile: KYC, UBO, ESG, risk, status |
| grev.purchase.compliance.document | Compliance documents with expiry tracking and validity flag |
| grev.purchase.compliance.event.check | Event-level compliance validation records (RFQ, PO, negotiation…) |
| grev.purchase.compliance.rule | Configurable rules by jurisdiction, category, and event type |
| grev.purchase.compliance.case | Investigation / incident case management with SLA tracking |
| grev.purchase.compliance.cap | Corrective Action Plan header linked to a case |
| grev.purchase.compliance.cap.milestone | Individual CAP milestone with target date and completion status |
| grev.purchase.compliance.risk | Risk scoring record: inherent, residual, country tier |
| grev.purchase.compliance.sanctions.list | Sanctions list entries (OFAC / EU / UN / internal) |
| grev.purchase.compliance.ubo | Ultimate Beneficial Owner record linked to a supplier |
| grev.purchase.compliance.esg | ESG framework attestation per supplier |
| grev.purchase.compliance.abc | ABC questionnaire response and PEP declaration |
| grev.purchase.compliance.gifts | Gifts & Hospitality register entry with policy-limit check |
| grev.purchase.compliance.coi | Conflict of Interest declaration with recusal flag |
| grev.purchase.compliance.regulatory.event | Regulatory calendar event with jurisdiction and impact level |
| grev.purchase.compliance.contract.clause | Contract clause template with price-deviation alert config |
| grev.purchase.compliance.audit.log | Immutable SHA-256 hash-chained audit event record |
Important
grev.purchase.compliance.audit.log overrides write() at the ORM level to raise ValidationError unconditionally. No record in this model can be modified after creation — by any user or via the shell.
Key service methods
grev.purchase.compliance.service
| Method | Purpose |
|---|---|
| run_compliance_checks(record, event_type) | Evaluates active rules; writes results to event.check |
| run_sanctions_screening(partner_id) | Fuzzy-matches partner name; creates case on match |
| get_dashboard_data() | Aggregates KPIs for the OWL Command Center |
Scheduled actions (crons)
| Cron | Schedule | Purpose |
|---|---|---|
| Compliance Document Expiry | Daily | Activities for documents expiring within 30 days |
| Compliance SLA Breach Check | Hourly | Detects open/investigating cases past SLA deadline |
| Compliance Sanctions Screening | Weekly | Batch fuzzy-screens all active supplier names |
| Regulatory Event Reminders | Daily | Reminders for upcoming regulatory deadlines |
| CAP Overdue Check | Daily | Marks CAPs as overdue past their due date |
Performance
- Sanctions screening: Levenshtein computed in Python on cached list entries
- Supports 5,000+ supplier profiles
- 20,000+ compliance documents
- Stored computed fields on compliance_status and compliance_score
- Indexed on partner_id, compliance_status, and company_id
Troubleshooting
Documents not showing as expired
Verify expiry dates are set. Run the Compliance Document Expiry cron manually from :menuselection:`Settings --> Technical --> Scheduled Actions`.
Sanctions screen not triggering automatically
Ensure the Compliance Sanctions Screening cron is active and the supplier has an active compliance profile (state = 'active').
Dual-authorization error on case resolution
The resolving user must differ from the case owner. Log in as a second Compliance Manager to approve.
Audit log records appear editable in developer mode
They are not. The ORM override raises ValidationError on any write() call — the form may appear editable visually, but saving will fail.
See Also
- :doc:`../grev_od_purchase_esourcing/doc/index` — RFQ management
- :doc:`../grev_od_purchase_contracts/doc/index` — Contract management
- :doc:`../grev_od_purchase_intel/doc/index` — Supplier intelligence
- :doc:`../grev_od_purchase_trade_logistics/doc/index` — Trade logistics
- :doc:`../grev_od_spend_analytics/doc/index` — Spend analytics
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module