diff --git a/mrp_operations_extension/i18n/es.po b/mrp_operations_extension/i18n/es.po
new file mode 100644
index 000000000..b1be3bdaa
--- /dev/null
+++ b/mrp_operations_extension/i18n/es.po
@@ -0,0 +1,450 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * mrp_operations_extension
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-01-05 08:28+0000\n"
+"PO-Revision-Date: 2015-01-05 08:28+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,op_number:0
+#: field:mrp.routing.operation,op_number:0
+msgid "# Operators"
+msgstr "# Operators"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Actual Production Date"
+msgstr "Fecha real de fabricación"
+
+#. module: mrp_operations_extension
+#: code:addons/mrp_operations_extension/models/mrp_production.py:78
+#, python-format
+msgid "At least one operation must have checked \"Move produced quantity to stock\"field"
+msgstr "At least one operation must have checked \"Move produced quantity to stock\"field"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_bom
+msgid "Bill of Material"
+msgstr "Lista de material"
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "Cancel"
+msgstr "Cancel"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_operation_buttons_form_view
+msgid "Cancel Order"
+msgstr "Cancelar orden"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,capacity_per_cycle:0
+msgid "Capacity per Cycle"
+msgstr "Capacity per Cycle"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,code:0
+msgid "Code"
+msgstr "Code"
+
+#. module: mrp_operations_extension
+#: model:ir.actions.act_window,name:mrp_operations_extension.act_mrp_work_order_consume
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+msgid "Consume"
+msgstr "Consume"
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+#: selection:mrp.work.order.produce,mode:0
+msgid "Consume & Produce"
+msgstr "Consume & Produce"
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "Consume Lines"
+msgstr "Consume Lines"
+
+#. module: mrp_operations_extension
+#: selection:mrp.work.order.produce,mode:0
+msgid "Consume Only"
+msgstr "Consume Only"
+
+#. module: mrp_operations_extension
+#: field:mrp.bom.line,operation:0
+msgid "Consumed"
+msgstr "Consumed"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,create_uid:0
+#: field:mrp.routing.operation,create_uid:0
+#: field:mrp.work.order.produce,create_uid:0
+msgid "Created by"
+msgstr "Created by"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,create_date:0
+#: field:mrp.routing.operation,create_date:0
+#: field:mrp.work.order.produce,create_date:0
+msgid "Created on"
+msgstr "Created on"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,default:0
+msgid "Default"
+msgstr "Default"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,description:0
+msgid "Description"
+msgstr "Description"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Duration"
+msgstr "Duración"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_efficiency:0
+msgid "Efficiency Factor"
+msgstr "Efficiency Factor"
+
+#. module: mrp_operations_extension
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Extra Information"
+msgstr "Extra Information"
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,final_product:0
+msgid "Final Product to Stock"
+msgstr "Final Product to Stock"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,id:0
+#: field:mrp.routing.operation,id:0
+#: field:mrp.work.order.produce,id:0
+msgid "ID"
+msgstr "ID"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Information"
+msgstr "Información"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,write_uid:0
+#: field:mrp.routing.operation,write_uid:0
+#: field:mrp.work.order.produce,write_uid:0
+msgid "Last Updated by"
+msgstr "Last Updated by"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,write_date:0
+#: field:mrp.routing.operation,write_date:0
+#: field:mrp.work.order.produce,write_date:0
+msgid "Last Updated on"
+msgstr "Last Updated on"
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,lot_id:0
+msgid "Lot"
+msgstr "Lot"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_operation_workcenter
+msgid "MRP Operation Workcenter"
+msgstr "MRP Operation Workcenter"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_routing_operation
+msgid "MRP Routing Operation"
+msgstr "MRP Routing Operation"
+
+#. module: mrp_operations_extension
+#: field:mrp.config.settings,group_mrp_workers:0
+msgid "Manage operators in work centers "
+msgstr "Manage operators in work centers "
+
+#. module: mrp_operations_extension
+#: model:res.groups,name:mrp_operations_extension.group_mrp_workers
+msgid "Manufacturing Operators"
+msgstr "Manufacturing Operators"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_production
+msgid "Manufacturing Order"
+msgstr "Órden de producción"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+msgid "Materials"
+msgstr "Materials"
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,mode:0
+msgid "Mode"
+msgstr "Mode"
+
+#. module: mrp_operations_extension
+#: field:mrp.production.workcenter.line,do_production:0
+#: field:mrp.routing.operation,do_production:0
+msgid "Move Final Product to Stock"
+msgstr "Move Final Product to Stock"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.workcenter,do_production:0
+msgid "Move produced quantity to stock"
+msgstr "Move produced quantity to stock"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,name:0
+msgid "Name"
+msgstr "Nombre"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.workcenter,operation:0
+msgid "Operation"
+msgstr "Operación"
+
+#. module: mrp_operations_extension
+#: model:ir.ui.menu,name:mrp_operations_extension.mrp_routing_menu
+msgid "Operations"
+msgstr "Operaciones"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,op_avg_cost:0
+msgid "Operator Average Cost"
+msgstr "Coste medio de operador"
+
+#. module: mrp_operations_extension
+#: field:mrp.workcenter,op_avg_cost:0
+msgid "Operator average cost"
+msgstr "Coste medio de operador"
+
+#. module: mrp_operations_extension
+#: view:mrp.workcenter:mrp_operations_extension.mrp_workcenter_form_view_inh
+#: field:mrp.workcenter,operators:0
+msgid "Operators"
+msgstr "Operadores"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,picking_type_id:0
+msgid "Picking Type"
+msgstr "Picking Type"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Planned Date"
+msgstr "Fecha planeada"
+
+#. module: mrp_operations_extension
+#: field:mrp.workcenter,post_op_product:0
+msgid "Post Operation Cost"
+msgstr "Coste de post-operación"
+
+#. module: mrp_operations_extension
+#: field:mrp.workcenter,pre_op_product:0
+msgid "Pre Operation Cost"
+msgstr "Coste de pre-operación"
+
+#. module: mrp_operations_extension
+#: model:ir.actions.act_window,name:mrp_operations_extension.act_mrp_work_order_produce
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "Produce"
+msgstr "Fabricar"
+
+#. module: mrp_operations_extension
+#: code:addons/mrp_operations_extension/models/mrp_production.py:78
+#, python-format
+msgid "Produce Operation"
+msgstr "Produce Operation"
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,product_id:0
+msgid "Product"
+msgstr "Product"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+#: field:mrp.production.workcenter.line,product_line:0
+msgid "Product Lines"
+msgstr "Líneas de Producto"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_product_produce_line
+msgid "Product Produce Consume lines"
+msgstr "Líneas de consumo de los producto producidos"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Product to Produce"
+msgstr "Producto a producir"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_production_product_line
+msgid "Production Scheduled Product"
+msgstr "Fabricación planificada producto"
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,consume_lines:0
+msgid "Products Consumed"
+msgstr "Products Consumed"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,steps:0
+msgid "Relevant Steps"
+msgstr "Relevant Steps"
+
+#. module: mrp_operations_extension
+#: model:ir.actions.act_window,name:mrp_operations_extension.mrp_routing_operation_action
+#: view:mrp.routing.operation:mrp_operations_extension.rountig_operation_form
+#: view:mrp.routing.operation:mrp_operations_extension.rountig_operation_tree
+msgid "Routing Operation"
+msgstr "Routing Operation"
+
+#. module: mrp_operations_extension
+#: view:mrp.workcenter:mrp_operations_extension.mrp_workcenter_form_view_inh
+#: field:mrp.workcenter,rt_operations:0
+msgid "Routing Operations"
+msgstr "Routing Operations"
+
+#. module: mrp_operations_extension
+#: field:mrp.production.workcenter.line,routing_wc_line:0
+msgid "Routing WC Line"
+msgstr "Routing WC Line"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,routing_workcenter:0
+msgid "Routing Workcenter"
+msgstr "Routing Workcenter"
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,product_qty:0
+msgid "Select Quantity"
+msgstr "Select Quantity"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_stock_move
+msgid "Stock Move"
+msgstr "Movimiento de existencias"
+
+#. module: mrp_operations_extension
+#: code:addons/mrp_operations_extension/models/mrp_routing_workcenter.py:65
+#: code:addons/mrp_operations_extension/models/mrp_routing_workcenter.py:79
+#, python-format
+msgid "There is another line set as default, disable it first."
+msgstr "There is another line set as default, disable it first."
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_stop:0
+msgid "Time after prod."
+msgstr "Time after prod."
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_start:0
+msgid "Time before prod."
+msgstr "Time before prod."
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_cycle:0
+msgid "Time for 1 cycle (hour)"
+msgstr "Time for 1 cycle (hour)"
+
+#. module: mrp_operations_extension
+#: help:mrp.operation.workcenter,time_cycle:0
+msgid "Time in hours for doing one cycle."
+msgstr "Time in hours for doing one cycle."
+
+#. module: mrp_operations_extension
+#: help:mrp.operation.workcenter,time_stop:0
+msgid "Time in hours for the cleaning."
+msgstr "Time in hours for the cleaning."
+
+#. module: mrp_operations_extension
+#: help:mrp.operation.workcenter,time_start:0
+msgid "Time in hours for the setup."
+msgstr "Time in hours for the setup."
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "To Consume"
+msgstr "To Consume"
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,track_production:0
+msgid "Track production"
+msgstr "Track production"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_workcenter
+#: field:mrp.operation.workcenter,workcenter:0
+msgid "Work Center"
+msgstr "Centro de producción"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_routing_workcenter
+msgid "Work Center Usage"
+msgstr "Utilización del centro de producción"
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_production_workcenter_line
+#: field:mrp.production.product.line,work_order:0
+#: field:stock.move,work_order:0
+msgid "Work Order"
+msgstr "Orden de trabajo"
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,workcenters:0
+msgid "Work centers"
+msgstr "Centros de producción"
+
+#. module: mrp_operations_extension
+#: field:mrp.product.produce.line,work_produce_id:0
+msgid "Work produce id"
+msgstr "Work produce id"
+
+#. module: mrp_operations_extension
+#: view:mrp.routing.workcenter:mrp_operations_extension.mrp_routing_workcenter_form_view_inh
+#: field:mrp.routing.workcenter,op_wc_lines:0
+msgid "Workcenter Info Lines"
+msgstr "Líneas de info. de centro de producción"
+
+#. module: mrp_operations_extension
+#: view:mrp.routing.operation:mrp_operations_extension.rountig_operation_form
+msgid "Workcenters"
+msgstr "Workcenters"
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_operation_buttons_form_view
+msgid "oe_highlight"
+msgstr "oe_highlight"
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "or"
+msgstr "o"
+
diff --git a/mrp_operations_extension/i18n/mrp_operations_extension.pot b/mrp_operations_extension/i18n/mrp_operations_extension.pot
new file mode 100644
index 000000000..366ad219d
--- /dev/null
+++ b/mrp_operations_extension/i18n/mrp_operations_extension.pot
@@ -0,0 +1,450 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * mrp_operations_extension
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-01-05 08:25+0000\n"
+"PO-Revision-Date: 2015-01-05 08:25+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,op_number:0
+#: field:mrp.routing.operation,op_number:0
+msgid "# Operators"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Actual Production Date"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: code:addons/mrp_operations_extension/models/mrp_production.py:78
+#, python-format
+msgid "At least one operation must have checked \"Move produced quantity to stock\"field"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_bom
+msgid "Bill of Material"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "Cancel"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_operation_buttons_form_view
+msgid "Cancel Order"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,capacity_per_cycle:0
+msgid "Capacity per Cycle"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,code:0
+msgid "Code"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.actions.act_window,name:mrp_operations_extension.act_mrp_work_order_consume
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+msgid "Consume"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+#: selection:mrp.work.order.produce,mode:0
+msgid "Consume & Produce"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "Consume Lines"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: selection:mrp.work.order.produce,mode:0
+msgid "Consume Only"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.bom.line,operation:0
+msgid "Consumed"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,create_uid:0
+#: field:mrp.routing.operation,create_uid:0
+#: field:mrp.work.order.produce,create_uid:0
+msgid "Created by"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,create_date:0
+#: field:mrp.routing.operation,create_date:0
+#: field:mrp.work.order.produce,create_date:0
+msgid "Created on"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,default:0
+msgid "Default"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,description:0
+msgid "Description"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Duration"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_efficiency:0
+msgid "Efficiency Factor"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Extra Information"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,final_product:0
+msgid "Final Product to Stock"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,id:0
+#: field:mrp.routing.operation,id:0
+#: field:mrp.work.order.produce,id:0
+msgid "ID"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Information"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,write_uid:0
+#: field:mrp.routing.operation,write_uid:0
+#: field:mrp.work.order.produce,write_uid:0
+msgid "Last Updated by"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,write_date:0
+#: field:mrp.routing.operation,write_date:0
+#: field:mrp.work.order.produce,write_date:0
+msgid "Last Updated on"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,lot_id:0
+msgid "Lot"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_operation_workcenter
+msgid "MRP Operation Workcenter"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_routing_operation
+msgid "MRP Routing Operation"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.config.settings,group_mrp_workers:0
+msgid "Manage operators in work centers "
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:res.groups,name:mrp_operations_extension.group_mrp_workers
+msgid "Manufacturing Operators"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_production
+msgid "Manufacturing Order"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+msgid "Materials"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,mode:0
+msgid "Mode"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.production.workcenter.line,do_production:0
+#: field:mrp.routing.operation,do_production:0
+msgid "Move Final Product to Stock"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.workcenter,do_production:0
+msgid "Move produced quantity to stock"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,name:0
+msgid "Name"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.workcenter,operation:0
+msgid "Operation"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.ui.menu,name:mrp_operations_extension.mrp_routing_menu
+msgid "Operations"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,op_avg_cost:0
+msgid "Operator Average Cost"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.workcenter,op_avg_cost:0
+msgid "Operator average cost"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.workcenter:mrp_operations_extension.mrp_workcenter_form_view_inh
+#: field:mrp.workcenter,operators:0
+msgid "Operators"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,picking_type_id:0
+msgid "Picking Type"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Planned Date"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.workcenter,post_op_product:0
+msgid "Post Operation Cost"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.workcenter,pre_op_product:0
+msgid "Pre Operation Cost"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.actions.act_window,name:mrp_operations_extension.act_mrp_work_order_produce
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "Produce"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: code:addons/mrp_operations_extension/models/mrp_production.py:78
+#, python-format
+msgid "Produce Operation"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,product_id:0
+msgid "Product"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+#: field:mrp.production.workcenter.line,product_line:0
+msgid "Product Lines"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_product_produce_line
+msgid "Product Produce Consume lines"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_form_view_inh
+#: view:mrp.production.workcenter.line:mrp_operations_extension.workcenter_line_inh_form_view
+msgid "Product to Produce"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_production_product_line
+msgid "Production Scheduled Product"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,consume_lines:0
+msgid "Products Consumed"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,steps:0
+msgid "Relevant Steps"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.actions.act_window,name:mrp_operations_extension.mrp_routing_operation_action
+#: view:mrp.routing.operation:mrp_operations_extension.rountig_operation_form
+#: view:mrp.routing.operation:mrp_operations_extension.rountig_operation_tree
+msgid "Routing Operation"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.workcenter:mrp_operations_extension.mrp_workcenter_form_view_inh
+#: field:mrp.workcenter,rt_operations:0
+msgid "Routing Operations"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.production.workcenter.line,routing_wc_line:0
+msgid "Routing WC Line"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,routing_workcenter:0
+msgid "Routing Workcenter"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,product_qty:0
+msgid "Select Quantity"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_stock_move
+msgid "Stock Move"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: code:addons/mrp_operations_extension/models/mrp_routing_workcenter.py:65
+#: code:addons/mrp_operations_extension/models/mrp_routing_workcenter.py:79
+#, python-format
+msgid "There is another line set as default, disable it first."
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_stop:0
+msgid "Time after prod."
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_start:0
+msgid "Time before prod."
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.operation.workcenter,time_cycle:0
+msgid "Time for 1 cycle (hour)"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: help:mrp.operation.workcenter,time_cycle:0
+msgid "Time in hours for doing one cycle."
+msgstr ""
+
+#. module: mrp_operations_extension
+#: help:mrp.operation.workcenter,time_stop:0
+msgid "Time in hours for the cleaning."
+msgstr ""
+
+#. module: mrp_operations_extension
+#: help:mrp.operation.workcenter,time_start:0
+msgid "Time in hours for the setup."
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "To Consume"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.work.order.produce,track_production:0
+msgid "Track production"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_workcenter
+#: field:mrp.operation.workcenter,workcenter:0
+msgid "Work Center"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_routing_workcenter
+msgid "Work Center Usage"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: model:ir.model,name:mrp_operations_extension.model_mrp_production_workcenter_line
+#: field:mrp.production.product.line,work_order:0
+#: field:stock.move,work_order:0
+msgid "Work Order"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.routing.operation,workcenters:0
+msgid "Work centers"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: field:mrp.product.produce.line,work_produce_id:0
+msgid "Work produce id"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.routing.workcenter:mrp_operations_extension.mrp_routing_workcenter_form_view_inh
+#: field:mrp.routing.workcenter,op_wc_lines:0
+msgid "Workcenter Info Lines"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.routing.operation:mrp_operations_extension.rountig_operation_form
+msgid "Workcenters"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.production:mrp_operations_extension.mrp_production_operation_buttons_form_view
+msgid "oe_highlight"
+msgstr ""
+
+#. module: mrp_operations_extension
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_consume_wizard
+#: view:mrp.work.order.produce:mrp_operations_extension.view_mrp_product_produce_wizard
+msgid "or"
+msgstr ""
+
diff --git a/mrp_operations_extension/models/mrp_bom.py b/mrp_operations_extension/models/mrp_bom.py
index e9d78a3e4..3a6b0a6d1 100644
--- a/mrp_operations_extension/models/mrp_bom.py
+++ b/mrp_operations_extension/models/mrp_bom.py
@@ -16,7 +16,7 @@
#
##############################################################################
-from openerp import models, fields, api
+from openerp import models, fields, api, _
class MrpBom(models.Model):
@@ -54,8 +54,25 @@ class MrpBom(models.Model):
work_order['routing_wc_line'] = routing_line_id
return result2
+ @api.multi
+ @api.onchange('routing_id')
+ def onchange_routing_id(self):
+ for line in self.bom_line_ids:
+ line.operation = (self.routing_id.workcenter_lines and
+ self.routing_id.workcenter_lines[0])
+ if self.routing_id:
+ return {'warning': {
+ 'title': _('Changing Routing'),
+ 'message': _("Changing routing will cause to change the"
+ " operation in which each component will be"
+ " consumed, by default it is set the first"
+ " one of the routing")
+ }}
+ return {}
+
class MrpBomLine(models.Model):
_inherit = 'mrp.bom.line'
- operation = fields.Many2one('mrp.routing.workcenter', 'Consumed')
+ operation = fields.Many2one(
+ comodel_name='mrp.routing.workcenter', string='Consumed in')
diff --git a/mrp_operations_extension/models/mrp_routing_operation.py b/mrp_operations_extension/models/mrp_routing_operation.py
index d44196eb8..fee7bc579 100644
--- a/mrp_operations_extension/models/mrp_routing_operation.py
+++ b/mrp_operations_extension/models/mrp_routing_operation.py
@@ -54,6 +54,29 @@ class MrpOperationWorkcenter(models.Model):
self.op_avg_cost = self.workcenter.op_avg_cost
self.default = False
+ @api.model
+ def create(self, vals):
+ res = super(MrpOperationWorkcenter, self).create(vals)
+ if vals.get('default', False):
+ routing_obj = self.env['mrp.routing.workcenter']
+ routing = routing_obj.browse(vals.get('routing_workcenter', False))
+ routing.workcenter_id = vals.get('workcenter', False)
+ for line in routing.op_wc_lines:
+ if line != res:
+ line.default = False
+ return res
+
+ @api.multi
+ def write(self, vals):
+ res = super(MrpOperationWorkcenter, self).write(vals)
+ for record in self:
+ if vals.get('default', False):
+ record.routing_workcenter.workcenter_id = record.workcenter
+ for line in record.routing_workcenter.op_wc_lines:
+ if line != record:
+ line.default = False
+ return res
+
class MrpRoutingOperation(models.Model):
_name = 'mrp.routing.operation'
diff --git a/mrp_operations_extension/models/mrp_routing_workcenter.py b/mrp_operations_extension/models/mrp_routing_workcenter.py
index bfbf08d7e..b8c4ac1ed 100644
--- a/mrp_operations_extension/models/mrp_routing_workcenter.py
+++ b/mrp_operations_extension/models/mrp_routing_workcenter.py
@@ -25,7 +25,7 @@ class MrpRoutingWorkcenter(models.Model):
operation = fields.Many2one('mrp.routing.operation', string='Operation')
op_wc_lines = fields.One2many('mrp.operation.workcenter',
'routing_workcenter',
- 'Workcenter Info Lines')
+ 'Possible work centers for this operation')
do_production = fields.Boolean(
string='Move produced quantity to stock')
@@ -38,43 +38,37 @@ class MrpRoutingWorkcenter(models.Model):
op_wc_lst = []
data = {}
for operation_wc in self.operation.workcenters:
- data = {'workcenter': operation_wc.id,
- 'capacity_per_cycle': operation_wc.capacity_per_cycle,
- 'time_efficiency': operation_wc.time_efficiency,
- 'time_cycle': operation_wc.time_cycle,
- 'time_start': operation_wc.time_start,
- 'time_stop': operation_wc.time_stop,
- 'default': False,
- 'op_number': self.operation.op_number
- }
+ data = {
+ 'workcenter': operation_wc.id,
+ 'capacity_per_cycle': operation_wc.capacity_per_cycle,
+ 'time_efficiency': operation_wc.time_efficiency,
+ 'time_cycle': operation_wc.time_cycle,
+ 'time_start': operation_wc.time_start,
+ 'time_stop': operation_wc.time_stop,
+ 'default': False,
+ 'op_number': self.operation.op_number,
+ }
op_wc_lst.append(data)
self.op_wc_lines = op_wc_lst
- @api.multi
- @api.onchange('op_wc_lines')
- def onchange_default(self):
- for record in self:
- kont = 0
- wkc = False
- for opwc_line in record.op_wc_lines:
- if opwc_line.default:
- kont += 1
- if not wkc:
- record.workcenter_id = opwc_line.workcenter.id
- if kont > 1:
- raise exceptions.Warning(_('There is another line set as '
- 'default, disable it first.'))
+ @api.one
+ @api.onchange('workcenter_id')
+ def onchange_workcenter(self):
+ if self.workcenter_id:
+ self.hour_nbr = self.workcenter_id.time_cycle
+ for line in self.op_wc_lines:
+ line.default = False
+ if line.workcenter == self.workcenter_id:
+ line.default = True
@api.one
- @api.constrains('op_wc_lines')
- def _check_default(self):
- kont = 0
- wkc = False
- for opwc_line in self.op_wc_lines:
- if opwc_line.default:
- kont += 1
- if not wkc:
- self.workcenter_id = opwc_line.workcenter.id
- if kont > 1:
- raise exceptions.Warning(_('There is another line set as '
- 'default, disable it first.'))
+ @api.onchange('op_wc_lines')
+ def onchange_lines_default(self):
+ default = 0
+ for line in self.op_wc_lines:
+ if line.default:
+ self.workcenter_id = line.workcenter
+ default += 1
+ if default > 1:
+ raise exceptions.Warning(_('There is another line set as'
+ ' default, disable it first.'))
diff --git a/mrp_operations_extension/models/res_config.py b/mrp_operations_extension/models/res_config.py
index b3dc8aa16..c2816a67e 100644
--- a/mrp_operations_extension/models/res_config.py
+++ b/mrp_operations_extension/models/res_config.py
@@ -23,5 +23,5 @@ class MrpConfigSettings(models.TransientModel):
_inherit = 'mrp.config.settings'
group_mrp_workers = fields.Boolean(
- string='Manage operators ', implied_group='mrp_operations_extension.group_mrp_workers',
- help='')
+ string='Manage operators in work centers ',
+ implied_group='mrp_operations_extension.group_mrp_workers')
diff --git a/mrp_operations_extension/views/mrp_production_view.xml b/mrp_operations_extension/views/mrp_production_view.xml
index 8ed299e94..7ea90b925 100644
--- a/mrp_operations_extension/views/mrp_production_view.xml
+++ b/mrp_operations_extension/views/mrp_production_view.xml
@@ -75,12 +75,6 @@
expr="//field[@name='workcenter_lines']/form//field[@name='hour']"
position="replace">
-
@@ -121,32 +115,6 @@
-
-
mrp.production.operation.buttons.form
@@ -155,6 +123,9 @@
+
+ draft,startworking
+
diff --git a/mrp_operations_extension/views/mrp_routing_workcenter_view.xml b/mrp_operations_extension/views/mrp_routing_workcenter_view.xml
index 84bae1ba5..e58049b95 100644
--- a/mrp_operations_extension/views/mrp_routing_workcenter_view.xml
+++ b/mrp_operations_extension/views/mrp_routing_workcenter_view.xml
@@ -10,6 +10,9 @@
+
+ float_time
+