[IMP] stock, mrp: empty views on stock_move_line

This commit is contained in:
Arnaud Baes
2019-08-14 12:27:04 +00:00
parent 0690b7829a
commit 0ac4f8f20a
2 changed files with 12 additions and 6 deletions
+6 -3
View File
@@ -47,9 +47,12 @@
<field name="view_mode">tree,form</field>
<field name="domain">['|', ('move_id.unbuild_id', '=', active_id), ('move_id.consume_unbuild_id', '=', active_id)]</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
There's no product move yet
</p>
<p class="o_view_nocontent_empty_folder">
There's no product move yet
</p><p>
This menu gives you the full traceability of inventory operations on a specific product.
You can filter on the product to see all the past movements for the product.
</p>
</field>
</record>
+6 -3
View File
@@ -124,9 +124,12 @@
<field name="view_id" ref="view_move_line_tree"/>
<field name="context">{'search_default_done': 1, 'search_default_groupby_product_id': 1}</field>
<field name="help" type="html">
<p class="o_view_nocontent_empty_folder">
There's no product move yet
</p>
<p class="o_view_nocontent_empty_folder">
There's no product move yet
</p><p>
This menu gives you the full traceability of inventory operations on a specific product.
You can filter on the product to see all the past movements for the product.
</p>
</field>
</record>