Repository
OCA/purchase-reporting · module folder · Try on Runboat
Module version
1.0.0
Category
Purchase
Folder size
0.12 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-reporting
Last tracking update
2026-08-07 08:23:14
Authors
Odoo Community Association (OCA), Sygel
Maintainers
Odoo Community Association (OCA), Sygel
Committers
sygel, Weblate, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
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

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
purchase_order_form_hide_line purchase.order.form.hide.line purchase.order form Inherits purchase.purchase_order_form
report_purchaseorder_document_hide_lines report_purchaseorder_document_hide_lines ir.ui.view qweb Inherits purchase.report_purchaseorder_document
res_config_settings_view_form_purchase_report_hide_line res.config.settings.view.form.inherit.purchase.report.hide.line res.config.settings form Inherits purchase.res_config_settings_view_form_purchase
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • hide_in_report Boolean
    compute='_compute_hide_in_report' readonly=False store=True
Public methods (0)

No public methods.

New fields (1)
  • purchase_hide_in_report_default Selection
    default='none' required=True selection=[('none', 'None'), ('quantity', 'Quantity equal to 0'), ('price', 'Price equal to 0')]
Public methods (0)

No public methods.

New fields (1)
  • purchase_hide_in_report_default Selection
    readonly=False related='company_id.purchase_hide_in_report_default' required=True
Public methods (0)

No public methods.