diff --git a/addons/mrp/mrp.py b/addons/mrp/mrp.py
index 109d11ede8b..a7066e2c1a3 100644
--- a/addons/mrp/mrp.py
+++ b/addons/mrp/mrp.py
@@ -176,8 +176,8 @@ class mrp_bom(osv.osv):
'code': fields.char('Reference', size=16),
'active': fields.boolean('Active', help="If the active field is set to true, it will allow you to hide the bills of material without removing it."),
'type': fields.selection([('normal','Normal BoM'),('phantom','Sets / Phantom')], 'BoM Type', required=True,
- help= "If a sub-product is used in several products, it can be useful to create its own BoM."\
- "Though if you don't want separated production orders for this sub-product, select Set/Phantom as BoM type."\
+ help= "If a sub-product is used in several products, it can be useful to create its own BoM. "\
+ "Though if you don't want separated production orders for this sub-product, select Set/Phantom as BoM type. "\
"If a Phantom BoM is used for a root product, it will be sold and shipped as a set of components, instead of being produced."),
'method': fields.function(_compute_type, string='Method', method=True, type='selection', selection=[('',''),('stock','On Stock'),('order','On Order'),('set','Set / Pack')]),
'date_start': fields.date('Valid From', help="Validity of this BoM or component. Keep empty if it's always valid."),
@@ -476,7 +476,7 @@ class mrp_production(osv.osv):
'name': lambda x, y, z, c: x.pool.get('ir.sequence').get(y, z, 'mrp.production') or '/',
'company_id': lambda self, cr, uid, c: self.pool.get('res.company')._company_default_get(cr, uid, 'mrp.production', context=c),
}
- _order = 'date_planned asc, priority desc';
+ _order = 'priority desc, date_planned asc';
def _check_qty(self, cr, uid, ids):
orders = self.browse(cr, uid, ids)
diff --git a/addons/mrp/mrp_installer.xml b/addons/mrp/mrp_installer.xml
index bcec9af75f6..2ca500afd93 100644
--- a/addons/mrp/mrp_installer.xml
+++ b/addons/mrp/mrp_installer.xml
@@ -8,7 +8,7 @@
@@ -22,7 +22,7 @@
- Configure
+ _Configure
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index 5ff69217312..e7783757534 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -64,7 +64,6 @@
form
@@ -510,10 +511,10 @@
+
-
@@ -638,16 +639,16 @@
states="done,cancel"/>
-
+
-
+
-
+
-
-
+
+
diff --git a/addons/mrp_operations/mrp_operations_view.xml b/addons/mrp_operations/mrp_operations_view.xml
index 4af63c52b77..43ff257c819 100644
--- a/addons/mrp_operations/mrp_operations_view.xml
+++ b/addons/mrp_operations/mrp_operations_view.xml
@@ -14,12 +14,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -32,12 +32,12 @@
-
-
-
-
-
+
+
+
+
+
@@ -49,7 +49,7 @@
tree
-
+
@@ -61,11 +61,11 @@
-
+
-
+
-
+
@@ -111,15 +111,15 @@
-
+
-
+
-
+
-
+
diff --git a/addons/mrp_repair/mrp_repair.py b/addons/mrp_repair/mrp_repair.py
index edc14955ce9..ddcd2ccb501 100644
--- a/addons/mrp_repair/mrp_repair.py
+++ b/addons/mrp_repair/mrp_repair.py
@@ -109,7 +109,7 @@ class mrp_repair(osv.osv):
('invoice_except','Invoice Exception'),
('done','Done'),
('cancel','Cancel')
- ], 'Repair State', readonly=True,
+ ], 'State', readonly=True,
help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed repair order. \
\n* The \'Confirmed\' state is used when a user confirms the repair order. \
\n* The \'Ready to Repair\' state is used to start to repairing, user can start repairing only after repair order is confirmed. \
diff --git a/addons/mrp_repair/mrp_repair_view.xml b/addons/mrp_repair/mrp_repair_view.xml
index bc776ea0723..7ae6870f201 100644
--- a/addons/mrp_repair/mrp_repair_view.xml
+++ b/addons/mrp_repair/mrp_repair_view.xml
@@ -7,14 +7,13 @@
mrp.repairtree
-
-
+
+
-
+
-
@@ -94,22 +93,22 @@
-
+
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
+
+
@@ -153,18 +152,18 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml b/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml
index 25edbd454ec..407a5659471 100644
--- a/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml
+++ b/addons/mrp_repair/wizard/mrp_repair_make_invoice_view.xml
@@ -14,10 +14,10 @@
-
-
+
+
diff --git a/addons/resource/resource_view.xml b/addons/resource/resource_view.xml
index b0246443334..ba2a2e2d622 100644
--- a/addons/resource/resource_view.xml
+++ b/addons/resource/resource_view.xml
@@ -78,7 +78,8 @@
-
+
+