This module allows you to hide purchase order lines from the Purchase Report.
You will be able to configure which lines will be hidden by default, having 3 different options to choose:
- Don't hide any line by default
- Hide lines with quantity equal to 0
- Hide lines with price subtotal equal to 0
You will also be able to manually edit whose lines will be hidden in the purcase order form
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Lets you hide selected purchase order lines from the printed Purchase Order report, either manually per line or automatically based on a company-wide default rule.
This module adds a way to keep certain purchase order lines out of the printed Purchase Order document, without deleting them from the order.
On each purchase order line there is a new "Hide in report" checkbox, shown in the order lines list on the purchase order form. You can tick or untick it line by line.
A company-wide default decides how that checkbox is filled in automatically: - None: no line is hidden by default. - Quantity equal to 0: lines with zero quantity are hidden. - Price equal to 0: lines with a zero subtotal are hidden.
This default is set in the Purchase settings screen, under the purchase settings block, and is stored on the company. When a line's quantity or unit price changes, the checkbox is recalculated according to the chosen rule, but you can still override it manually.
When you print the Purchase Order report, lines marked as hidden are skipped, so they do not appear on the document. The module touches purchase.order.line, res.company and res.config.settings, and modifies the purchase order form, the purchase settings screen and the purchase order report template.
Depends on
Models and fields (3)
- res.company · extends an existing modelpurchase_hide_in_report_default
- purchase.order.line · extends an existing modelhide_in_report
- res.config.settings · extends an existing modelpurchase_hide_in_report_default
Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/purchase-reporting.
terminal Installation and usage
OCA documentation · Odoo 17.0Configuration
Source · Odoo 17.0To configure this module, you need to:
- Go to Purchase / Configuration / Settings
- In the "Orders" section, search the "Purchase Hide In Report Default" and set your desired default option
Usage
Source · Odoo 17.0To use this module, you need to:
- Go to Purchase / Orders / Requests for Quotation
- Create a new purchase
- Add a product, you will see a new column "Hide In Report" in the purchase order line.
- Set the value to True if it is not set by default
- Print the "Purchase Order" report, you will see that the selected line does not appear in the report.
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.