Skip to content
Snippets Groups Projects
Commit bde92f01 authored by Nicolas Martinelli's avatar Nicolas Martinelli
Browse files

[FIX] stock_account: hide SVL of consumable

- Create a consumable product
- Assign a FIFO product category, automated valuation
- Purchase some units
- Go to the Inventory Valuation report

The product appears in the list, while consumable should not.

We only show products linked to stockable products.

opw-2153840

X-original-commit: 8fa2440e8c055ca80bce27e33d5678745712fe53
parent 8d2fd053
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@
<field name="res_model">stock.valuation.layer</field>
<field name="view_mode">tree,form</field>
<field name="view_id" ref="stock_valuation_layer_tree"/>
<field name="domain"></field>
<field name="domain">[('product_id.type', '=', 'product')]</field>
<field name="context">{'search_default_group_by_product_id': 1}</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment