Odoo Community Association

Sale Certification

Beta License: AGPL-3 OCA/vertical-construction Translate me on Weblate Try me on Runboat

This module introduces a certification workflow between sales orders and invoicing, commonly used in construction and large-scale contracting industries.

Instead of invoicing directly from sales orders, this module allows the creation of certifications that represent approved progress or partial completion. These certifications can then generate invoices, optionally applying retention amounts (withholding a percentage of the payment until final project acceptance).

Key Features:

Table of contents

Use Cases / Context

In construction and large-scale contracting, the client pays against certified progress, not against the whole sale order. This module lets a sale order be certified in parts and invoiced from each certification, withholding a retention until final acceptance.

Configuration

Access to certifications follows the Sales access groups. Go to Settings > Users & Companies > Users and, in the Sales field of each user:

  • User: Own Documents Only: the user sees the Certifications menu and can create, confirm, cancel and invoice the certifications of the sale orders whose salesperson is the user or that have no salesperson. The certifications of other salespeople are not visible. No invoicing access group is needed for that.
  • User: All Documents: the same, over the certifications of every sale order, whoever its salesperson is.
  • Administrator: the user can also delete certifications.

Users without any Sales access group do not see the Certifications menu. Users with the Billing access group, or with the read-only accounting group (Show Accounting Features - Readonly), and no Sales access group can read the certifications and their lines, whoever the salesperson of the order is, and open them from the Certifications button of an invoice. They cannot create, change or delete them.

Usage

  1. Create a Sales Order as usual with your products or services.

  2. Enable the Certifiable? checkbox on the Sales Order.

  3. Confirm the Sales Order.

  4. Once confirmed:

    • A Certified Percentage will be displayed at the Sales Order level.
    • A Quantity Certified field will appear at the line level.
  5. Based on the invoice policy of your products, the same logic will apply to the certification process. A new Certification button will appear in the header.

  6. Certifiable orders are not invoiced with the standard Create Invoice button of the Sales Order, neither as a regular invoice nor as a down payment (percentage or fixed amount). The error “Certifiable orders are invoiced from their certifications” lists the orders. When a regular invoice is requested for a selection of orders, the certifiable ones are skipped and the others are invoiced.

  7. Creating a new Certification offers three options:

    • Regular – Automatically includes all available lines based on the invoice policy.
    • Percentage – Applies a percentage to the amounts from the regular option (not the total sale).
    • Chapter – Allows selection of specific sections (sale order lines within sections) to include in the certification.

    The Create certifications action of the Sales Orders list only accepts orders with Certifiable? enabled. If the selection includes others, an error lists them by name and no certification is created.

    Create certifications wizard

  8. After creating a certification, you can freely adjust quantities or remove lines. These changes will be reflected in the Sales Order, following the same logic as invoices.

  9. When you confirm the certification, the confirmation date will be set.

  10. Click Create Invoice. If you select Apply Retention Monies, you will have two retention options:

    • Percentage of the certified base amount.
    • Fixed Value over the certified base amount.

    Create Invoices wizard with retention

    This will:

    • Create a negative line in the invoice subtracting the retention amount.
    • Generate a separate invoice to hold the retention amount (if no draft retention invoice already exists), accessible from the Sales Order view.
  11. You can set a payment method or reminders on the retention invoice to charge the client later or cancel the invoice if necessary.

  12. When you cancel or delete an invoice created from a certification with retention, or reverse it with a credit note, its line is removed from the retention invoice, and the retention invoice is cancelled if it is left without lines.

    • If the retention invoice is posted, the cancellation, deletion or credit note is refused until you reset the retention invoice to draft.
    • The retention line of an invoice created from a certification cannot be removed on its own. To invoice a certification without retention, cancel the invoice and create it again without Apply Retention Monies.
    • Reverse and Create Invoice is refused on invoices with retention. Use Reverse and invoice the certification again.
  13. A credit note of an invoice created from a certification keeps the link with the certification lines, so its quantities are subtracted from the Invoiced Quantity. After a full credit note the certification is back to To Invoice and you can click Create Invoice again.

Known issues / Roadmap

  • Grouped certifications: each certification belongs to a single sales order and is invoiced on its own. A certification covering several orders, or one consolidated invoice for several certifications, is not supported yet.

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

  • Binhex

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:

edescalona

This module is part of the OCA/vertical-construction project on GitHub.

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