[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:
parent
bc3666aed5
commit
1881a13699
|
@ -57,7 +57,7 @@
|
||||||
<field name="product_id"/>
|
<field name="product_id"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
<group expand="0" string="Extended Filters">
|
<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"/>
|
<field name="company_id" groups="base.group_multi_company"/>
|
||||||
</group>
|
</group>
|
||||||
<group expand="1" string="Group By">
|
<group expand="1" string="Group By">
|
||||||
|
|
Loading…
Reference in New Issue