mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
[stock_analysis_forecast] Add more filters
This commit is contained in:
@@ -27,6 +27,11 @@
|
||||
<search string="Stock Level forecast">
|
||||
<field name="product_id"/>
|
||||
<field name="date"/>
|
||||
<filter name="internal_location" string="Internal location" domain="[('location_id.usage', '=', 'internal')]"/>
|
||||
<separator/>
|
||||
<filter name="stockable" string="Stockable products" domain="[('product_id.type', '=', 'product')]"/>
|
||||
<filter name="consumable" string="Consumable products" domain="[('product_id.type', '=', 'consu')]"/>
|
||||
<separator/>
|
||||
<group expand="1" string="Group By">
|
||||
<filter string="Pivot" name="pivot_by"
|
||||
context="{'row_group_by': ['product_id'],
|
||||
@@ -43,7 +48,7 @@
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">graph</field>
|
||||
<field name="search_view_id" ref="view_stock_level_forecast_filter"/>
|
||||
<field name="context">{'search_default_pivot_by':1}</field>
|
||||
<field name="context">{'search_default_internal_location':1, 'search_default_pivot_by':1}</field>
|
||||
<field name="view_id" ref="view_stock_level_forecast_pivot"/>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user