[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:
Lionel Sausin 2015-07-08 18:03:57 +02:00 committed by Nicolas Martinelli
parent 45748bab59
commit 5fcad55000
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@
<field name="domain">[('date','&lt;=',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"