Invoice Attachment Enforcer Pro | Require Document Before Confirm | Audit Compliance
by Odonity https://www.odonity.com$ 50.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Expenses (hr_expense) • Invoicing (account) • Purchase (purchase) • Employees (hr) |
| Lines of code | 419 |
| Technical Name |
odnt_attachment_enforcer |
| License | See License tab |
| Website | https://www.odonity.com |
| Versions | 16.0 17.0 18.0 19.0 |
Invoice Attachment Enforcer Pro | Odonity
Require Attachments Before Confirming Financial Documents
Block confirmation of vendor bills, customer invoices, purchase orders, and expenses until required documents are attached. Configure file types, minimum attachments, and allow controlled bypass with audit tracking.
Key Features
Per-Document Toggle
Enable enforcement independently for each document type.
File Type Validation
Restrict attachments to PDF, images, or any file type.
Minimum Attachment Count
Require one or more attachments per document.
Draft Warning Banner
Warn users early when attachments are missing.
Bypass + Audit Log
Allow exceptions with full chatter tracking.
ORM-Level Security
Cannot be bypassed via API or imports.
Perfect For
Audit-Ready Companies
Ensure every financial document is backed by valid attachments for compliance and audits.
Accounting & Finance Teams
Maintain clean and verified financial records with mandatory document attachments.
Manufacturing & Distribution
Ensure purchase orders and vendor bills always include supporting documents.
Multi-User Environments
Control user actions and prevent missing documentation across teams.
Expense-Heavy Organizations
Force employees to attach receipts before submitting expenses.
Regulated Industries
Meet strict compliance requirements where every financial transaction must have supporting documentation.
Module Screenshots
Settings Configuration
Warning Banner on Draft
Blocked Confirmation Without Attachment
Expense Attachment Enforcement
Installation & Usage
- Install like a standard Odoo module
- Go to Accounting → Configuration → Settings
- Enable Attachment Enforcer options
- Configure file types and minimum attachments
- Assign bypass users if needed
Support & Customization
- Email: odonity.services@gmail.com
- Website: www.odonity.com
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Expenses (hr_expense) • Invoicing (account) • Purchase (purchase) • Employees (hr) |
| Lines of code | 419 |
| Technical Name |
odnt_attachment_enforcer |
| License | See License tab |
| Website | https://www.odonity.com |
Invoice Attachment Enforcer Pro | Require Document Before Confirm | Audit Compliance
Force Document Attachments Before Confirming Financial Records in Odoo
This Odoo compliance module by Odonity enforces attachment requirements across key financial documents — vendor bills, customer invoices, purchase orders, and expenses. Each document type is independently configurable with its own toggle, minimum attachment count, and accepted file type rule.
Overview
By default, Odoo allows users to confirm any financial document without attaching a single file. This creates audit gaps, undocumented expenses, and compliance failures. This module closes that gap with a clean, configurable enforcement layer that works at the action method level — meaning it cannot be bypassed from the UI or via API.
Key Features
- 📋 Covers Vendor Bills, Customer Invoices, Purchase Orders, and Expenses
- ⚙️ Per-document toggle from Accounting → Configuration → Settings
- 🔢 Configurable minimum attachment count per document type
- 📄 File type validation: PDF Only, PDF or Image, or Any File Type
- 🔔 Proactive draft warning banner — visible before confirmation attempt
- 🛡 Bypass security group for senior users with exceptional access
- 📜 Every bypass automatically logged in document chatter with user and timestamp
- 🔒 ORM-level enforcement — cannot be bypassed via API or external scripts
- 🧹 Abstract mixin architecture — clean, DRY, easy to extend
Installation
- Copy the odnt_attachment_enforcer folder into your Odoo custom addons directory.
- Restart the Odoo server.
- Activate Developer Mode (Settings → Activate Developer Mode).
- Go to Apps → Update App List.
- Search for Invoice Attachment Enforcer Pro and click Install.
Configuration
- Go to Accounting → Configuration → Settings.
- Find the Attachment Enforcer section (By Odonity).
- Toggle on each document type you want to enforce.
- For each enabled document type, set:
- Min. Attachments — minimum number of valid attachments required
- Accepted File Types — PDF Only / PDF or Image / Any File Type
- Save settings.
- To assign the Bypass group, go to Settings → Users & Companies → Users, open a user, and tick Attachment Bypass under the Attachment Enforcer section.
Document Types & Trigger Points
Bypass Logging
When a user in the Attachment Bypass group confirms a document without attachments, the following is automatically logged in the document chatter:
⚠️ Attachment Requirement Bypassed Vendor Bill confirmed without required attachment(s). Bypassed by: John Smith on 28 Mar 2026 14:32
Compatibility
- Odoo Version: 19.0
- Edition: Community & Enterprise
- Depends: account, purchase, hr_expense, mail
- License: OPL-1 (Odoo Proprietary License)
Support & Contact
Website: https://www.odonity.com Email: odonity.services@gmail.com
About Odonity
Odonity builds business-ready Odoo applications focused on automation, security, productivity, and professional workflows. Trusted by businesses worldwide for reliable, clean, and scalable Odoo solutions.
Odoo Proprietary License v1.1 - Strict Commercial Use © 2026-Present Odonity. All Rights Reserved. Module Name: Invoice Attachment Enforcer Pro | Require Document Before Confirm | Audit Compliance (By Odonity) License Owner: Odonity (https://www.odonity.com) Support Email: odonity.services@gmail.com This software is protected by copyright laws and international treaties. It is licensed, not sold. You are granted a **non-transferable, non-sublicensable, and non-exclusive license** to use this software ONLY under the terms below: -------------------------------------------- STRICT TERMS OF USE -------------------------------------------- PERMITTED: - Use the module in one Odoo production instance only (with staging/test allowed only for that instance). - Use for internal company operations. - Request support, upgrades, or customization services from Odonity. PROHIBITED WITHOUT WRITTEN PERMISSION FROM ODONITY: - Modifying, altering, or extending the source code in any way. - Reselling, sublicensing, or redistributing any part of the module. - Sharing the code with third parties, including freelancers or other vendors. - Uploading this module to public or private repositories, websites, or forums. - Creating derivative works or using snippets in other modules. - Using the module as a base to develop similar competing products. WARNING: This software contains **branding, code-level markers, and security tracking** for anti-piracy purposes. Tampering with these or violating this license may result in: - Permanent termination of your usage rights - Legal action under local and international intellectual property laws - Immediate take-down notices for marketplaces and hosting providers -------------------------------------------- LICENSE VERIFICATION & SUPPORT -------------------------------------------- License Keys / Validation (optional): Odonity reserves the right to implement license key checks in future versions. Support is only available to verified license holders. Invoice or proof of purchase must be retained for all license claims. For official support, licensing clarifications, or enterprise usage, please contact: odonity.services@gmail.com | https://www.odonity.com -------------------------------------------- BY INSTALLING THIS MODULE, YOU AGREE TO BE BOUND BY ALL TERMS ABOVE. Unauthorized use, reproduction, or redistribution is strictly prohibited.
Please log in to comment on this module