[FIX] stock_account: missing default filter for valuation menu
The menu entry in Warehouse > Current Inventory Valuation is a shortcut to the same results as the wizard in Reports > Warehouse > Valuation. However when using the "current valuation" menu entry, the list is given without grouping by product and location, so it's basically just a glorified list of stock moves that no Warehouse manager is going to understand. Let's just add the same default grouping to let the results make sense. Closes #7531
This commit is contained in:
parent
45748bab59
commit
5fcad55000
|
@ -92,6 +92,7 @@
|
|||
<field name="domain">[('date','<=',time.strftime('%Y-%m-%d %H:%M:%S'))]</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,graph</field>
|
||||
<field name="context">{'search_default_group_by_product': True, 'search_default_group_by_location': True}</field>
|
||||
</record>
|
||||
<menuitem action="action_history_tree"
|
||||
id="menu_action_history_tree"
|
||||
|
|
Loading…
Reference in New Issue