[IMP] mrp modules: fix English
authorRaphael Collet <rco@openerp.com>
Wed, 9 May 2012 13:42:34 +0000 (15:42 +0200)
committerRaphael Collet <rco@openerp.com>
Wed, 9 May 2012 13:42:34 +0000 (15:42 +0200)
bzr revid: rco@openerp.com-20120509134234-qpjy7wgyoumzos4l

addons/mrp/mrp_view.xml
addons/mrp/res_config.py
addons/mrp/res_config_view.xml
addons/mrp_repair/mrp_repair.py

index b852384..980a8f1 100644 (file)
                                         states="draft,waiting,confirmed,assigned" />
                                     <button
                                            name="%(stock.track_line)d"
-                                           string="Split in Serial Number"
+                                           string="Split in Serial Numbers"
                                            type="action" icon="gtk-justify-fill"
                                            states="draft,waiting,confirmed,assigned" />
                                     <button name="%(stock.move_scrap)d"
                                        <field name="scrapped" invisible="1"/>
                                        <field name="state" invisible="1"/>
                                        <button name="%(stock.track_line)d"
-                                            string="Split in Serial Number" type="action" icon="gtk-justify-fill" states="done,cancel"/>
+                                            string="Split in Serial Numbers" type="action" icon="gtk-justify-fill" states="done,cancel"/>
                                        <button name="%(stock.move_scrap)d"
                                            string="Scrap Products" type="action" icon="gtk-convert"
                                            states="done,cancel" />
index 4e5c0da..1b2aa1c 100644 (file)
@@ -44,7 +44,7 @@ class mrp_config_settings(osv.osv_memory):
         'module_mrp_operations': fields.boolean("Detailed Planning of Work Orders",
             help="""This allows to add state, date_start,date_stop in production order operation lines (in the "Work Centers" tab).
                 This installs the module mrp_operations."""),
-        'module_mrp_subproduct': fields.boolean("Produce Several  Product from One Manufacturing Order",
+        'module_mrp_subproduct': fields.boolean("Produce Several Products from One Manufacturing Order",
             help="""You can configure sub-products in the bill of material.
                 Without this module: A + B + C -> D.
                 With this module: A + B + C -> D + E.
index 0e6da45..8e5934b 100644 (file)
@@ -17,6 +17,7 @@
                         <field name="module_stock_planning"/>
                         <field name="module_mrp_subproduct"/>
                         <field name="module_mrp_repair"/>
+
                         <separator string="Logistics" colspan="4"/>
                         <field name="module_mrp_jit"/>
                         <field name="module_stock_no_autopicking"/>
index 6f30b60..4de816f 100644 (file)
@@ -334,7 +334,7 @@ class mrp_repair(osv.osv):
                     raise osv.except_osv(_('Error !'),_('You cannot confirm a repair order which has no line.'))
                 for line in o.operations:
                     if line.product_id.track_production and not line.prodlot_id:
-                        raise osv.except_osv(_('Warning'), _("Serial Number is required for opration line with product '%s'") % (line.product_id.name))
+                        raise osv.except_osv(_('Warning'), _("Serial number is required for operation line with product '%s'") % (line.product_id.name))
                 mrp_line_obj.write(cr, uid, [l.id for l in o.operations], {'state': 'confirmed'})
         return True