Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Purchasing
  3. Purchase Trade Inspection v 19.0
  4. Sales Conditions FAQ

Purchase Trade Inspection

by Grevlin Global Corp. https://www.grevlin.com
Odoo

$ 286.93

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Inventory (stock)
• Purchase (purchase)
• Invoicing (account)
Community Apps Dependencies Show
• Purchase Trade Logistics
• HS Classification
Lines of code 4962
Technical Name grev_od_purchase_trade_inspection
LicenseOPL-1
Websitehttps://www.grevlin.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Inventory (stock)
• Purchase (purchase)
• Invoicing (account)
Community Apps Dependencies Show
• Purchase Trade Logistics
• HS Classification
Lines of code 4962
Technical Name grev_od_purchase_trade_inspection
LicenseOPL-1
Websitehttps://www.grevlin.com
  • Description
  • Documentation
  • License

Purchase Trade Inspection

Pre-Shipment, Regulatory & Customs Inspection Management for International Trade

Odoo 19.0  ●  Community & Enterprise

Purchase Trade Inspection ensures every international shipment meets buyer specifications and destination-country regulations before goods leave the port. Manage PSI, PVOC, SONCAP, Phytosanitary mandates, customs examinations, and trade certificates — all from a single Odoo dashboard with built-in shipment blocking.

Why Trade Inspection?

🔍

Pre-Shipment Inspection

Verify quality, quantity, and specifications with structured checklists before shipping

⚖

Regulatory Compliance

PVOC, SONCAP, Phytosanitary, COI, and country-specific mandatory inspections

📄

Certificate Management

CoC, Phytosanitary, Fumigation, COO, and Health certificates with expiry alerts

🚫

Shipment Gate Control

Block customs clearance until all inspections pass and compliance is confirmed

Core Features

📋

Inspection Agency Registry

Maintain a registry of accredited inspection agencies with coverage countries, accreditation tracking, cost rates, and performance history. Assign the right agency for each inspection type and destination.

✅

Structured Checklists

Reusable checklist templates with seed data for PSI, Legal, and Customs inspections. Track progress per item with pass/fail/NA results and attach findings for each checkpoint.

📄

Trade Document Verification

Verify completeness and accuracy of trade documents — invoices, packing lists, bills of lading, and certificates. Track discrepancies and block release until documents are compliant.

💰

Cost Tracking & Approval

Track agency fees, travel costs, and lab expenses per inspection. Manager approval workflow ensures budget control. Feed costs into landed cost calculations.

🔄

Re-Inspection Chains

Self-referential parent–child inspection links. When an inspection fails, create a follow-up re-inspection linked to the original with full reason tracking.

🔒

Immutable Audit Trail

Once an inspection is passed or failed, all fields are locked at the ORM level. Manager override only. Full chatter history for complete regulatory traceability.

Inspection Workflow

📝
Draft
→
📩
Requested
→
📅
Scheduled
→
🔎
In Progress
→
✅
Pass / Fail

Three Inspection Types

🔍 PSI — Pre-Shipment

Buyer-requested factory inspections with structured checklists. Verify product quality, packaging, labeling, and quantities match PO specifications before goods leave the supplier.

⚖ Legal / Regulatory

PVOC (Kenya, Uganda, Tanzania), SONCAP (Nigeria), Phytosanitary, and COI certifications. Country-specific mandate management with accredited agency assignment.

🚚 Customs Inspection

Documentary and physical examination workflows for border control compliance. Track inspection findings, manage clearance gates, and record customs officer observations.

Dashboard & Analytics

📊

OWL Management Dashboard

Real-time pipeline state counters, activity metrics, and embedded kanban view. Filter by inspection type, agency, or state. One-click navigation to filtered lists.

📈

SQL Analytics View

Performance-optimized SQL report model for pivot tables and graph analysis. Track pass/fail rates by supplier, inspection turnaround times, and cost trends.

Who Is This For?

💼

Procurement Managers

Ensure goods meet specifications before approving shipment release

📈

QA Managers

Manage inspection workflows, checklists, and quality verification

👥

Third-Party Inspectors

Execute inspections, submit results, and upload photo evidence

⚖

Compliance Officers

Monitor regulatory compliance and legal inspection requirements

Changelog

Version 2.0.0 — Major Release

  • OWL Management Dashboard with pipeline counters and embedded kanban
  • Inspection Agency Registry with accreditation and coverage tracking
  • Structured checklist templates with seed data for PSI, Legal, and Customs
  • Trade document verification (invoice, packing list, B/L, certificates)
  • Certificate management: CoC, Phytosanitary, Fumigation, COO, Health
  • Cost tracking with agency fees, travel, and lab expenses
  • Re-inspection chains with parent–child linking
  • Immutable audit trail: pass/fail state locks all fields
  • Shipment gate integration: blocks customs clearance on pending/failed inspections
  • SQL analytics view for pivot and graph reporting

Version 1.0.0 — Initial Release

  • Pre-Shipment Inspection (PSI) management
  • Legal and customs inspection tracking
  • Third-party inspection agency coordination
  • Inspection certificate and photo attachments
  • Non-Conformance Report (NCR) tracking
  • Shipment blocking until compliance verified
  • Full workflow: Draft → Requested → Scheduled → In Progress → Pass/Fail
  • Integration with Purchase Orders and Stock

Need Help?

For support, contact us at odoo@grevlin.com

X: @GrevlinGlobal

✅ 30 Days Free Support Included

Grevlin Global Corp.

Professional Odoo Solutions for Enterprise Procurement

Purchase Trade Inspection — Documentation

Pre-shipment, regulatory, and customs inspection management for international trade procurement.

The Purchase Trade Inspection module manages the full lifecycle of trade inspections — from scheduling and agency assignment through checklist execution, certificate issuance, and shipment gate control. It supports PSI, PVOC, SONCAP, Phytosanitary, and customs inspections with immutable audit trails.

Overview

Key Features

  1. Pre-Shipment Inspection (PSI): Buyer-requested factory inspections with structured checklists to verify quality, quantity, packaging, and labeling before goods ship.
  2. Legal / Regulatory Inspections: PVOC, SONCAP, Phytosanitary, COI, and country-specific mandate management with accredited agency assignment.
  3. Customs Inspection: Documentary and physical examination workflows for border control compliance.
  4. Inspection Agency Registry: Accreditation tracking, coverage countries, cost rates, and performance history.
  5. Structured Checklists: Reusable templates with seed data for PSI, Legal, and Customs. Per-item pass/fail/NA results.
  6. Trade Document Verification: Invoice, packing list, B/L, and certificate completeness checks with discrepancy tracking.
  7. Certificate Management: CoC, Phytosanitary, Fumigation, COO, and Health certificates with expiry alerts.
  8. Cost Tracking: Agency fees, travel, and lab costs with manager approval workflow.
  9. Re-Inspection Chains: Parent–child inspection links for follow-up inspections after failures.
  10. Immutable Audit Trail: Pass/fail state locks all fields at the ORM level. Manager override only.
  11. Shipment Gate: Blocks customs clearance when inspection is pending or failed.
  12. OWL Dashboard: Pipeline state counters, activity metrics, and embedded kanban view.
  13. SQL Analytics: Performance-optimized report model for pivot tables and graph analysis.

Configuration

Installation

  1. Install the module from the Odoo Apps menu or via the command line:

    python odoo-bin -d <dbname> -i grev_od_purchase_trade_inspection
    
  2. Ensure the following dependencies are installed:

    • base
    • purchase
    • product
    • stock
    • mail
    • uom
    • grev_od_purchase_trade_logistics
  3. Assign users to the appropriate security groups.

Important

This module works with both Odoo Community and Enterprise editions. No Enterprise-only features are required.

Security Groups

The module provides three-tier role-based access control:

Group Permissions
Trade Inspection User Read-only access to inspections and reports
Trade Inspection Officer Create, edit, and execute inspections
Trade Inspection Manager Full CRUD including delete, manager overrides, and cost approvals

Multi-company record rules are applied to all primary models.

Setting Up Inspection Agencies

  1. Go to :menuselection:`Purchase --> Trade Inspection --> Configuration --> Inspection Agencies`
  2. Click :guilabel:`Create`
  3. Fill in the agency details:
    • Company Name: The inspection agency's legal name
    • Accreditations: Select applicable accreditations
    • Coverage Countries: Countries the agency can inspect in
    • Cost Rates: Standard rates for different inspection types
  4. Click :guilabel:`Save`

Tip

Pre-configured accreditation types are loaded as seed data: ISO 17020, ISO 17025, PVOC, SONCAP, Phytosanitary, and more.

Configuring Checklist Templates

  1. Go to :menuselection:`Purchase --> Trade Inspection --> Configuration --> Checklist Templates`
  2. Click :guilabel:`Create`
  3. Select the inspection type (PSI, Legal, or Customs)
  4. Add checklist items with descriptions and expected criteria
  5. Click :guilabel:`Save`

Note

Seed checklist templates are provided for PSI, Legal, and Customs inspection types. These can be customized to match your organization's specific requirements.

Usage

Creating an Inspection Order

  1. Navigate to :menuselection:`Purchase --> Trade Inspection --> Inspections`
  2. Click :guilabel:`Create`
  3. Select the related Purchase Order
  4. Choose the inspection type:
    • PSI: Buyer-requested quality verification
    • Legal: Regulatory compliance (PVOC, SONCAP, etc.)
    • Customs: Customs and border control
  5. Assign an inspection agency
  6. Set the scheduled date and location
  7. Optionally select a checklist template
  8. Click :guilabel:`Save`

Inspection Workflow

The inspection follows a structured state machine:

State Description
Draft Initial state, inspection order created
Requested Inspection formally requested from agency
Scheduled Date and location confirmed by agency
In Progress Inspector executing the inspection
Completed Inspection finished, awaiting result decision
Passed Inspection passed, shipment can proceed
Failed Inspection failed, shipment blocked
Cancelled Inspection cancelled

Recording Inspection Results

  1. Open the inspection order
  2. Click :guilabel:`Start` to begin the inspection
  3. Complete checklist items with pass/fail/NA results
  4. Record findings for any non-conforming items
  5. After completion, set the result:
    • Pass — all criteria met
    • Fail — critical non-conformance found
    • Conditional — minor issues, proceed with conditions
  6. Enter the certificate number and date if applicable
  7. Attach inspection photos and certificates
  8. Click :guilabel:`Pass` or :guilabel:`Fail` to finalize

Warning

Once an inspection is marked as Passed or Failed, all fields are locked. Only a Trade Inspection Manager can override the lock to make corrections.

Working with Certificates

  1. From an inspection order, go to the Certificates tab
  2. Click :guilabel:`Add a line`
  3. Select the certificate type:
    • Certificate of Conformity (CoC)
    • Phytosanitary Certificate
    • Fumigation Certificate
    • Certificate of Origin (COO)
    • Health Certificate
  4. Enter the certificate number, issue date, and expiry date
  5. Attach the certificate document
  6. Click :guilabel:`Save`

Note

The system tracks certificate expiry dates. Expired certificates are flagged automatically in the dashboard.

Trade Document Verification

  1. From an inspection order, go to the Documents tab
  2. The system lists required trade documents:
    • Commercial Invoice
    • Packing List
    • Bill of Lading
    • Insurance Certificate
    • Other required certificates
  3. Mark each document as verified or note discrepancies
  4. The doc_verification_complete flag updates automatically

Shipment Gate Control

When the Blocks Shipment flag is enabled on an inspection:

  • The linked shipment cannot be released for customs clearance until the inspection passes
  • Failed inspections require resolution (re-inspection or manager override) before the shipment can proceed
  • The shipment gate status is visible on the trade logistics shipment form

Important

The shipment gate integrates with grev_od_purchase_trade_logistics. Ensure both modules are installed for full gate control functionality.

Cost Tracking

  1. From an inspection order, go to the Costs tab
  2. Click :guilabel:`Add a line`
  3. Enter cost details:
    • Cost Type: Agency fee, travel, lab, or other
    • Amount: Cost in the inspection currency
    • Description: Brief cost description
  4. Costs exceeding approval thresholds require manager approval
  5. Total cost is computed automatically on the inspection header

Re-Inspections

When an inspection fails and a follow-up is required:

  1. Open the failed inspection
  2. Click :guilabel:`Create Re-Inspection`
  3. The system creates a new inspection linked to the parent
  4. Enter the re-inspection reason
  5. The re-inspection count updates on the parent record

Dashboard

The OWL Management Dashboard provides:

  • Pipeline counters: Inspections by state (Draft, Requested, Scheduled, In Progress, Completed, Passed, Failed)
  • Activity metrics: Overdue, due today, and upcoming inspections
  • Embedded kanban: Filterable inspection cards
  • Quick navigation: Click any counter to filter the list view

Access the dashboard from :menuselection:`Purchase --> Trade Inspection --> Dashboard`.

Technical Details

Models

Model Description
grev.purchase.trade.inspection Core inspection order with workflow and results
grev.purchase.trade.inspection.agency Inspection agency registry
grev.purchase.trade.inspection.accreditation Agency accreditation types
grev.purchase.trade.inspection.line Inspection line items (per product)
grev.purchase.trade.inspection.finding Inspection findings and observations
grev.purchase.trade.inspection.checklist.template Reusable checklist templates
grev.purchase.trade.inspection.checklist.template.item Template checklist items
grev.purchase.trade.inspection.checklist.item Inspection-specific checklist items
grev.purchase.trade.inspection.certificate Trade inspection certificates
grev.purchase.trade.document.verification Trade document verification records
grev.purchase.trade.inspection.cost Inspection cost line items
grev.purchase.trade.inspection.report SQL analytics view (_auto = False)

Key Fields

Trade Inspection (grev.purchase.trade.inspection)

  • name: Auto-generated inspection reference
  • purchase_order_id: Link to purchase order
  • partner_id: Supplier (computed from PO)
  • inspection_type: PSI, Legal, or Customs
  • state: Workflow state (8 states)
  • inspection_agency_id: Third-party agency
  • inspector_name: Inspector assigned
  • inspection_date: Scheduled datetime
  • origin_country_id: Country of origin
  • destination_country_id: Destination country
  • result: Pass, Fail, or Conditional
  • blocks_shipment: Shipment gate flag (default: True)
  • compliance_required: Compliance tracking flag
  • checklist_progress: Checklist completion percentage
  • total_cost: Sum of all inspection costs
  • parent_inspection_id: Link to parent (re-inspections)

Workflow Actions

  • action_request(): Move to Requested state
  • action_schedule(): Move to Scheduled state
  • action_start(): Move to In Progress state
  • action_complete(): Move to Completed state
  • action_pass(): Mark as Passed (locks record)
  • action_fail(): Mark as Failed (locks record)

Integration Points

Upstream:

  • grev_od_purchase_trade_logistics: Shipment schedules, documentation, and shipment gate control

Downstream (optional, via try/except):

  • grev_od_purchase_compliance: Compliance check integration
  • grev_od_purchase_quality_check: NCR propagation
  • grev_od_purchase_landed_cost: Cost feed for landed cost

Odoo Core:

  • purchase.order: Inspections linked to purchase orders
  • res.partner: Supplier and agency management
  • stock: Shipment blocking and release control

Troubleshooting

Inspection not linked to Purchase Order

Ensure a valid purchase order is selected. The supplier is automatically computed from the purchase order.

Cannot change state

Verify the user has the appropriate security group. Check that the current state allows the requested transition.

Fields locked after Pass/Fail

This is by design. The immutable audit trail prevents edits after finalization. A Trade Inspection Manager can override the lock.

Shipment not blocked

Confirm the Blocks Shipment field is enabled on the inspection. Verify the inspection state is not yet Passed.

Checklist items not loading

Ensure a checklist template is selected on the inspection order. Click :guilabel:`Load Checklist` to populate items from the template.

Agency not appearing in selection

Ensure the partner record for the agency is marked as a company (is_company = True) and has an active agency record.

Certificate expiry not triggering alerts

Check that the certificate has a valid expiry date set. Alerts are generated based on the expiry date field.

See Also

  • :doc:`../grev_od_purchase_trade_logistics/doc/index` — Trade logistics and shipment management
  • :doc:`../grev_od_purchase_quality_check/doc/index` — Quality check and NCR management
  • :doc:`../grev_od_purchase_compliance/doc/index` — Enterprise compliance platform
  • :doc:`../grev_od_purchase_landed_cost/doc/index` — Landed cost modeling and simulation
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with