Remove heavy and useless pivot

This commit is contained in:
eLBati
2016-09-30 15:25:28 +02:00
committed by Alex Comba
parent e5a77f1887
commit d84200e959

View File

@@ -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>