mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
Remove heavy and useless pivot
This commit is contained in:
@@ -31,13 +31,6 @@
|
||||
<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'],
|
||||
'col_group_by': ['date:week', 'location_id'],
|
||||
'measures': ['quantity', 'incoming_quantity', 'outgoing_quantity']}"/>
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
@@ -48,7 +41,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_internal_location':1, 'search_default_pivot_by':1}</field>
|
||||
<field name="context">{'search_default_internal_location':1}</field>
|
||||
<field name="view_id" ref="view_stock_level_forecast_pivot"/>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user