summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorSebastien LANGE <sebastien.lange@syleam.fr>2016-06-17 16:19:22 +0200
committerGoffin Simon <sig@odoo.com>2016-06-21 15:07:09 +0200
commit58e3ac5cd8d892205c57b04f5412b844b34675ae (patch)
tree2a7c0e19370e30a2a80e4603336dd8fb7aa5b4f0 /addons
parente049506b7042c0d0c319328cab6755e95629f3b3 (diff)
[FIX]mrp: order view in mrp bom tree view
The order of BOMs is based on the sequence which is not present in the view. When you open all BOMs, any order is defined. This patch will display the list of BOM by product. opw:681189
Diffstat (limited to 'addons')
-rw-r--r--addons/mrp/mrp_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index 55b3260c170..f11f1c23510 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -452,7 +452,7 @@
<field name="name">mrp.bom.tree</field>
<field name="model">mrp.bom</field>
<field name="arch" type="xml">
- <tree string="Bill of Materials">
+ <tree string="Bill of Materials" default_order="product_tmpl_id">
<field name="product_tmpl_id"/>
<field name="code"/>
<field name="product_id" groups="product.group_product_variant"/>