[IMP] mrp modules: fix English

bzr revid: rco@openerp.com-20120509134234-qpjy7wgyoumzos4l
This commit is contained in:
Raphael Collet 2012-05-09 15:42:34 +02:00
parent 4742d009ac
commit ece6843491
4 changed files with 5 additions and 4 deletions

View File

@ -673,7 +673,7 @@
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"
@ -741,7 +741,7 @@
<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" />

View 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.

View 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"/>

View 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