[FIX] sale: report: find sales of subcategories

When searching for sales of a specific category,
display the products of the whole category subtree.
Consistent with:
* 633df8dc92
* https://github.com/odoo/odoo/blob/8.0/addons/account/report/account_invoice_report_view.xml#L72

Closes #4631
This commit is contained in:
Commandant Custo 2015-01-11 14:10:26 +01:00 committed by Denis Ledoux
parent bc3666aed5
commit 1881a13699
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
<field name="product_id"/>
<field name="user_id"/>
<group expand="0" string="Extended Filters">
<field name="categ_id"/>
<field name="categ_id" filter_domain="[('categ_id', 'child_of', self)]"/>
<field name="company_id" groups="base.group_multi_company"/>
</group>
<group expand="1" string="Group By">