Skip to content
Snippets Groups Projects
Commit 8a9aa4c6 authored by Matheus Leal Viana (malv)'s avatar Matheus Leal Viana (malv)
Browse files

[FIX] purchase: Do not display notes/sections in purchase reporting


The issue is when we create a new PO with notes/sections and these notes/sections are showed on purchase reporting and only the products were supposed to appear there.

This issue happens because the SQL query wasn't applying any filter to the lines. The solution is apply a filter by display_type.

Steps to reproduce:
1) Go to Purchase App -> Purchase Orders -> Create a new PO with notes/sections
2) Go to Reporting -> View as pivot
3) You'll be able to see the section/notes you just created

closes odoo/odoo#118823

Opw: 3245933
X-original-commit: 8eab549c
Signed-off-by: default avatarAdrien Widart <awt@odoo.com>
Signed-off-by: default avatarmalv-odoo <malv@odoo.com>
parent cd01de05
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment