mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Merge pull request #64 from pedrobaeza/8.0-mrp_production_estimated_cost
[8.0] mrp_production_estimated_cost
This commit is contained in:
98
mrp_production_estimated_cost/README.rst
Normal file
98
mrp_production_estimated_cost/README.rst
Normal file
@@ -0,0 +1,98 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
=======================================
|
||||
Estimated costs in manufacturing orders
|
||||
=======================================
|
||||
|
||||
This module extends the functionality of MRP adding estimates for Manufacturing
|
||||
Orders costs, as followed:
|
||||
|
||||
* Raw Material cost: for each material to be consumed in the MO, an analytic
|
||||
line is generated at product cos
|
||||
* Operators time: for the time recorded by the operators during each operation,
|
||||
one analytic line will be generated (number of lines to be equal to the
|
||||
number of operators).
|
||||
* Machine time: for each operation, one analytic line will be created in the
|
||||
associated routing, taking whether the hourly cost or, if missing, the cost
|
||||
per cycle.
|
||||
|
||||
This module also allows to create some manufacturing orders called "virtual",
|
||||
that don't permit to be confirmed, but include the buttons for estimating the
|
||||
costs of the selected manufactured product.
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
This module depends on the module *product_variant_cost_price*, that is
|
||||
available in:
|
||||
|
||||
https://github.com/OCA/product-variant
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
When the manufacturing order is confirmed, analytic lines
|
||||
are automatically generated in order to estimate the costs of the production
|
||||
|
||||
A new menu is available "Virtual Manufacturing Orders for cost estimation"
|
||||
where the user can managed virtual MO:
|
||||
|
||||
* When a new MO is created and the new field "active" is false, the MO will be
|
||||
considered virtual. It is only used for cost estimation and can not be
|
||||
confirmed.
|
||||
* To estimate the cost of the MO, the user has to press the button "Compute
|
||||
data" in the tab "Work Orders".
|
||||
* These virtual MO have a separate sequence number.
|
||||
* The user can create a virtual MO directly from the product form.
|
||||
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/129/8.0
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues
|
||||
<https://github.com/OCA/manufacture/issues>`_. In case of trouble, please
|
||||
check there if your issue has already been reported. If you spotted it first,
|
||||
help us smashing it by providing a detailed and welcomed `feedback
|
||||
<https://github.com/OCA/
|
||||
manufacture/issues/new?body=module:%20
|
||||
mrp_production_estimated_cost%0Aversion:%20
|
||||
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Alfredo de la Fuente <alfredodelafuente@avanzosc.es>
|
||||
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
* Ana Juaristi <ajuaristio@gmail.com>
|
||||
* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
|
||||
* Ainara Galdona <agaldona@avanzosc.es>
|
||||
|
||||
Images
|
||||
------
|
||||
|
||||
* Original Odoo MRP icon
|
||||
* Thanks to https://openclipart.org/detail/120511/budget
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
.. image:: https://odoo-community.org/logo.png
|
||||
:alt: Odoo Community Association
|
||||
:target: https://odoo-community.org
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
||||
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.
|
||||
|
||||
To contribute to this module, please visit https://odoo-community.org.
|
||||
7
mrp_production_estimated_cost/__init__.py
Normal file
7
mrp_production_estimated_cost/__init__.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import models
|
||||
from . import wizard
|
||||
37
mrp_production_estimated_cost/__openerp__.py
Normal file
37
mrp_production_estimated_cost/__openerp__.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# (c) 2015 Antiun Ingeniería
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
{
|
||||
"name": "Estimated costs in manufacturing orders",
|
||||
"version": "8.0.1.0.0",
|
||||
"category": "Manufacturing",
|
||||
"author": "OdooMRP team, "
|
||||
"AvanzOSC, "
|
||||
"Serv. Tecnol. Avanzados - Pedro M. Baeza, "
|
||||
"Antiun Ingenería S.L.,"
|
||||
"Odoo Community Association (OCA)",
|
||||
"website": "http://www.odoomrp.com",
|
||||
"contributors": [
|
||||
"Alfredo de la Fuente <alfredodelafuente@avanzosc.es>",
|
||||
"Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>",
|
||||
"Ana Juaristi <ajuaristio@gmail.com>",
|
||||
"Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>",
|
||||
],
|
||||
"depends": [
|
||||
"mrp_operations_project",
|
||||
"product_variant_cost_price",
|
||||
],
|
||||
"data": [
|
||||
"data/analytic_journal_data.xml",
|
||||
"data/virtual_mrp_production_sequence.xml",
|
||||
"wizard/wiz_create_virtual_mo_view.xml",
|
||||
"views/account_analytic_line_view.xml",
|
||||
"views/mrp_production_view.xml",
|
||||
"views/product_view.xml",
|
||||
],
|
||||
"installable": True,
|
||||
"license": "AGPL-3",
|
||||
}
|
||||
26
mrp_production_estimated_cost/data/analytic_journal_data.xml
Normal file
26
mrp_production_estimated_cost/data/analytic_journal_data.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" ?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
<!--Estimated materials analytic journal -->
|
||||
<record id="mrp.analytic_journal_materials" model="account.analytic.journal">
|
||||
<field name="name">Materials</field>
|
||||
<field name="code">MAT</field>
|
||||
<field name="type">general</field>
|
||||
<field name="active">True</field>
|
||||
</record>
|
||||
<!--Estimated operators analytic journal -->
|
||||
<record id="mrp.analytic_journal_operators" model="account.analytic.journal">
|
||||
<field name="name">Operators</field>
|
||||
<field name="code">OPE</field>
|
||||
<field name="type">general</field>
|
||||
<field name="active">True</field>
|
||||
</record>
|
||||
<!--Estimated machines analytic journal -->
|
||||
<record id="mrp.analytic_journal_machines" model="account.analytic.journal">
|
||||
<field name="name">Machines</field>
|
||||
<field name="code">MACH</field>
|
||||
<field name="type">general</field>
|
||||
<field name="active">True</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
<record id="virtual_mrp_production_code" model="ir.sequence.type">
|
||||
<field name="name">Virtual MRP Production</field>
|
||||
<field name="code">virtual.mrp.production</field>
|
||||
</record>
|
||||
<record id="virtual_mrp_production" model="ir.sequence">
|
||||
<field name="name">Virtual MRP Production</field>
|
||||
<field name="code">virtual.mrp.production</field>
|
||||
<field eval="6" name="padding"/>
|
||||
<field name="prefix">VMO</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
274
mrp_production_estimated_cost/i18n/es.po
Normal file
274
mrp_production_estimated_cost/i18n/es.po
Normal file
@@ -0,0 +1,274 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mrp_production_estimated_cost
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: odoomrp-wip (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-20 18:10+0000\n"
|
||||
"PO-Revision-Date: 2015-11-20 18:13+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/oca/odoomrp-wip-8-0/language/es/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:240
|
||||
#, python-format
|
||||
msgid "%s-%s Post-operation"
|
||||
msgstr "%s-%s Post-operación"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:224
|
||||
#, python-format
|
||||
msgid "%s-%s Pre-operation"
|
||||
msgstr "%s-%s Pre-operación"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:256
|
||||
#, python-format
|
||||
msgid "%s-%s-C-%s"
|
||||
msgstr "%s-%s-C-%s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:274
|
||||
#, python-format
|
||||
msgid "%s-%s-H-%s"
|
||||
msgstr "%s-%s-H-%s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,active:0
|
||||
msgid "Active"
|
||||
msgstr "Activa"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_account_analytic_line
|
||||
msgid "Analytic Line"
|
||||
msgstr "Línea analítica"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:project.project,automatic_creation:0
|
||||
msgid "Automatic Creation"
|
||||
msgstr "Creación automática"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_bom
|
||||
msgid "Bill of Material"
|
||||
msgstr "Lista de material"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,analytic_line_ids:0
|
||||
msgid "Cost Lines"
|
||||
msgstr "Líneas de costes"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Costs analysis"
|
||||
msgstr "Análisis de costes"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Create Estimated Costs"
|
||||
msgstr "Crear costes estimados"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:product.product:mrp_production_estimated_cost.product_product_form_view_bom_button_inh_estimatedcost
|
||||
#: view:product.template:mrp_production_estimated_cost.product_template_form_view_bom_button_inh_estimatedcost
|
||||
msgid "Create Fictitious MO"
|
||||
msgstr "Crea OF ficticia"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.act_product_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_template_create_fictitious_of
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitious MO"
|
||||
msgstr "Crear OF ficticia"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_uid:0
|
||||
msgid "Created by"
|
||||
msgstr "Creado por"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_date:0
|
||||
msgid "Created on"
|
||||
msgstr "Creado el"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. AVG"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. STD"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_avg_cost:0
|
||||
#: field:mrp.production,avg_cost:0
|
||||
msgid "Estimated Average Cost"
|
||||
msgstr "Coste medio estimado"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_avg_cost:0
|
||||
msgid "Estimated Average Unit Cost"
|
||||
msgstr "Coste medio estimado por unidad"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
msgid "Estimated Costs"
|
||||
msgstr "Costes estimados"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_std_cost:0
|
||||
#: field:mrp.production,std_cost:0
|
||||
msgid "Estimated Standard Cost"
|
||||
msgstr "Coste estándar estimado"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_std_cost:0
|
||||
msgid "Estimated Standard Unit Cost"
|
||||
msgstr "Coste estándar estimado por unidad"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_estimated_costs_per_production
|
||||
msgid "Estimated costs from production order"
|
||||
msgstr "Costes estimados desde orden de producción"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.mrp_fictitious_production_action
|
||||
#: model:ir.ui.menu,name:mrp_production_estimated_cost.menu_mrp_fictitious_production_action
|
||||
msgid "Fictitious Manufacturing Orders to estimate costs"
|
||||
msgstr "Órdenes de producción ficiticias para estimar costes"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "General Accounting"
|
||||
msgstr "Contabilidad general"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,id:0
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_uid:0
|
||||
msgid "Last Updated by"
|
||||
msgstr "Última actualización por"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_date:0
|
||||
msgid "Last Updated on"
|
||||
msgstr "Última actualización el"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Load Estimated Cost on Product"
|
||||
msgstr "Cargar coste estimado en el producto"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,load_on_product:0
|
||||
msgid "Load cost on product"
|
||||
msgstr "Cargar coste en el producto"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:product.template,manual_standard_cost:0
|
||||
msgid "Manual Standard Cost"
|
||||
msgstr "Coste estándar manual"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_production
|
||||
msgid "Manufacturing Order"
|
||||
msgstr "Órden de producción"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Manufacturing costs"
|
||||
msgstr "Costes de fabricación"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:205
|
||||
#, python-format
|
||||
msgid "One consume line has no product assigned."
|
||||
msgstr "Una de las líneas de consumo no tiene producto asignado."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr "Plantilla de producto"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_show_production_anaytic_lines
|
||||
msgid "Production Analytic Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Production Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "Production Information"
|
||||
msgstr "Información de la fabricación"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_project_project
|
||||
#: field:wiz.create.fictitious.of,project_id:0
|
||||
msgid "Project"
|
||||
msgstr "Proyecto"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,date_planned:0
|
||||
msgid "Scheduled Date"
|
||||
msgstr "Fecha programada"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:254
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:271
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:289
|
||||
#, python-format
|
||||
msgid "There is at least this workcenter without product: %s"
|
||||
msgstr "Esta máquina no tiene un producto asignado: %s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:237
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have post-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:221
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:181
|
||||
#, python-format
|
||||
msgid "You must define one Analytic Account for this MO: %s"
|
||||
msgstr "Debe definir una cuenta analítica para esta MO: %s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "or"
|
||||
msgstr "o"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
msgstr "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
279
mrp_production_estimated_cost/i18n/fr.po
Normal file
279
mrp_production_estimated_cost/i18n/fr.po
Normal file
@@ -0,0 +1,279 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mrp_production_estimated_cost
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: odoomrp-wip (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-10-07 10:44+0000\n"
|
||||
"PO-Revision-Date: 2015-10-04 00:01+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: French (http://www.transifex.com/oca/odoomrp-wip-8-0/language/fr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:207
|
||||
#, python-format
|
||||
msgid "%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:240
|
||||
#, python-format
|
||||
msgid "%s-%s Post-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:224
|
||||
#, python-format
|
||||
msgid "%s-%s Pre-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:292
|
||||
#, python-format
|
||||
msgid "%s-%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:256
|
||||
#, python-format
|
||||
msgid "%s-%s-C-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:274
|
||||
#, python-format
|
||||
msgid "%s-%s-H-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,active:0
|
||||
msgid "Active"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_account_analytic_line
|
||||
msgid "Analytic Line"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:project.project,automatic_creation:0
|
||||
msgid "Automatic Creation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_bom
|
||||
msgid "Bill of Material"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,analytic_line_ids:0
|
||||
msgid "Cost Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Costs analysis"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Create Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:product.product:mrp_production_estimated_cost.product_product_form_view_bom_button_inh_estimatedcost
|
||||
#: view:product.template:mrp_production_estimated_cost.product_template_form_view_bom_button_inh_estimatedcost
|
||||
msgid "Create Fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.act_product_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_template_create_fictitious_of
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitius MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_uid:0
|
||||
msgid "Created by"
|
||||
msgstr "Créé par"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_date:0
|
||||
msgid "Created on"
|
||||
msgstr "Créé le"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_avg_cost:0
|
||||
#: field:mrp.production,avg_cost:0
|
||||
msgid "Estimated Average Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_avg_cost:0
|
||||
msgid "Estimated Average Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
msgid "Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_std_cost:0
|
||||
#: field:mrp.production,std_cost:0
|
||||
msgid "Estimated Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_std_cost:0
|
||||
msgid "Estimated Standard Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_estimated_costs_per_production
|
||||
msgid "Estimated costs from production order"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.mrp_fictitious_production_action
|
||||
#: model:ir.ui.menu,name:mrp_production_estimated_cost.menu_mrp_fictitious_production_action
|
||||
msgid "Fictitious Manufacturing Orders to estimate costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "General Accounting"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,id:0
|
||||
msgid "ID"
|
||||
msgstr "Id."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_uid:0
|
||||
msgid "Last Updated by"
|
||||
msgstr "Mis à jour par"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_date:0
|
||||
msgid "Last Updated on"
|
||||
msgstr "Mis à jour le"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Load Cost on Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,load_on_product:0
|
||||
msgid "Load cost on product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:product.template,manual_standard_cost:0
|
||||
msgid "Manual Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_production
|
||||
msgid "Manufacturing Order"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Manufacturing costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:205
|
||||
#, python-format
|
||||
msgid "One consume line has no product assigned."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_show_production_anaytic_lines
|
||||
msgid "Production Analytic Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Production Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "Production Information"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_project_project
|
||||
#: field:wiz.create.fictitious.of,project_id:0
|
||||
msgid "Project"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,date_planned:0
|
||||
msgid "Scheduled Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:254
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:271
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:289
|
||||
#, python-format
|
||||
msgid "There is at least this workcenter without product: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:237
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have post-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:221
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:181
|
||||
#, python-format
|
||||
msgid "You must define one Analytic Account for this MO: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "or"
|
||||
msgstr "ou"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
msgstr ""
|
||||
291
mrp_production_estimated_cost/i18n/it.po
Normal file
291
mrp_production_estimated_cost/i18n/it.po
Normal file
@@ -0,0 +1,291 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mrp_production_estimated_cost
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: odoomrp-wip (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-20 18:10+0000\n"
|
||||
"PO-Revision-Date: 2015-11-19 16:26+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Italian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/it/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: it\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:207
|
||||
#, python-format
|
||||
msgid "%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:240
|
||||
#, python-format
|
||||
msgid "%s-%s Post-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:224
|
||||
#, python-format
|
||||
msgid "%s-%s Pre-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:292
|
||||
#, python-format
|
||||
msgid "%s-%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:256
|
||||
#, python-format
|
||||
msgid "%s-%s-C-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:274
|
||||
#, python-format
|
||||
msgid "%s-%s-H-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,active:0
|
||||
msgid "Active"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_account_analytic_line
|
||||
msgid "Analytic Line"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:project.project,automatic_creation:0
|
||||
msgid "Automatic Creation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_bom
|
||||
msgid "Bill of Material"
|
||||
msgstr "Distinta base"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,analytic_line_ids:0
|
||||
msgid "Cost Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Costs analysis"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Create Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:product.product:mrp_production_estimated_cost.product_product_form_view_bom_button_inh_estimatedcost
|
||||
#: view:product.template:mrp_production_estimated_cost.product_template_form_view_bom_button_inh_estimatedcost
|
||||
msgid "Create Fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.act_product_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_template_create_fictitious_of
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitius MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_uid:0
|
||||
msgid "Created by"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_date:0
|
||||
msgid "Created on"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. AVG"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. STD"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_avg_cost:0
|
||||
#: field:mrp.production,avg_cost:0
|
||||
msgid "Estimated Average Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_avg_cost:0
|
||||
msgid "Estimated Average Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
msgid "Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_std_cost:0
|
||||
#: field:mrp.production,std_cost:0
|
||||
msgid "Estimated Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_std_cost:0
|
||||
msgid "Estimated Standard Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_estimated_costs_per_production
|
||||
msgid "Estimated costs from production order"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.mrp_fictitious_production_action
|
||||
#: model:ir.ui.menu,name:mrp_production_estimated_cost.menu_mrp_fictitious_production_action
|
||||
msgid "Fictitious Manufacturing Orders to estimate costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "General Accounting"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,id:0
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_uid:0
|
||||
msgid "Last Updated by"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_date:0
|
||||
msgid "Last Updated on"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Load Estimated Cost on Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,load_on_product:0
|
||||
msgid "Load cost on product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:product.template,manual_standard_cost:0
|
||||
msgid "Manual Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_production
|
||||
msgid "Manufacturing Order"
|
||||
msgstr "Ordine di produzione"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Manufacturing costs"
|
||||
msgstr "Costi di produzione"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:205
|
||||
#, python-format
|
||||
msgid "One consume line has no product assigned."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr "Template prodotto"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_show_production_anaytic_lines
|
||||
msgid "Production Analytic Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Production Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "Production Information"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_project_project
|
||||
#: field:wiz.create.fictitious.of,project_id:0
|
||||
msgid "Project"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,date_planned:0
|
||||
msgid "Scheduled Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:254
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:271
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:289
|
||||
#, python-format
|
||||
msgid "There is at least this workcenter without product: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:237
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have post-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:221
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:181
|
||||
#, python-format
|
||||
msgid "You must define one Analytic Account for this MO: %s"
|
||||
msgstr "Bisogna definire un conto analitico per questo MO: %s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "or"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
msgstr ""
|
||||
291
mrp_production_estimated_cost/i18n/pt_BR.po
Normal file
291
mrp_production_estimated_cost/i18n/pt_BR.po
Normal file
@@ -0,0 +1,291 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mrp_production_estimated_cost
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: odoomrp-wip (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-20 18:10+0000\n"
|
||||
"PO-Revision-Date: 2015-11-19 16:26+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/odoomrp-wip-8-0/language/pt_BR/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: pt_BR\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:207
|
||||
#, python-format
|
||||
msgid "%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:240
|
||||
#, python-format
|
||||
msgid "%s-%s Post-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:224
|
||||
#, python-format
|
||||
msgid "%s-%s Pre-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:292
|
||||
#, python-format
|
||||
msgid "%s-%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:256
|
||||
#, python-format
|
||||
msgid "%s-%s-C-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:274
|
||||
#, python-format
|
||||
msgid "%s-%s-H-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,active:0
|
||||
msgid "Active"
|
||||
msgstr "Ativo"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_account_analytic_line
|
||||
msgid "Analytic Line"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:project.project,automatic_creation:0
|
||||
msgid "Automatic Creation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_bom
|
||||
msgid "Bill of Material"
|
||||
msgstr "Lista de materiais"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,analytic_line_ids:0
|
||||
msgid "Cost Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Costs analysis"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Create Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:product.product:mrp_production_estimated_cost.product_product_form_view_bom_button_inh_estimatedcost
|
||||
#: view:product.template:mrp_production_estimated_cost.product_template_form_view_bom_button_inh_estimatedcost
|
||||
msgid "Create Fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.act_product_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_template_create_fictitious_of
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitius MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_uid:0
|
||||
msgid "Created by"
|
||||
msgstr "Criado por"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_date:0
|
||||
msgid "Created on"
|
||||
msgstr "Criado em"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. AVG"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. STD"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_avg_cost:0
|
||||
#: field:mrp.production,avg_cost:0
|
||||
msgid "Estimated Average Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_avg_cost:0
|
||||
msgid "Estimated Average Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
msgid "Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_std_cost:0
|
||||
#: field:mrp.production,std_cost:0
|
||||
msgid "Estimated Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_std_cost:0
|
||||
msgid "Estimated Standard Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_estimated_costs_per_production
|
||||
msgid "Estimated costs from production order"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.mrp_fictitious_production_action
|
||||
#: model:ir.ui.menu,name:mrp_production_estimated_cost.menu_mrp_fictitious_production_action
|
||||
msgid "Fictitious Manufacturing Orders to estimate costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "General Accounting"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,id:0
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_uid:0
|
||||
msgid "Last Updated by"
|
||||
msgstr "Última atualização por"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_date:0
|
||||
msgid "Last Updated on"
|
||||
msgstr "Última atualização em"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Load Estimated Cost on Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,load_on_product:0
|
||||
msgid "Load cost on product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:product.template,manual_standard_cost:0
|
||||
msgid "Manual Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_production
|
||||
msgid "Manufacturing Order"
|
||||
msgstr "Ordem de Produção"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Manufacturing costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:205
|
||||
#, python-format
|
||||
msgid "One consume line has no product assigned."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr "Produto Modelo"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_show_production_anaytic_lines
|
||||
msgid "Production Analytic Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Production Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "Production Information"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_project_project
|
||||
#: field:wiz.create.fictitious.of,project_id:0
|
||||
msgid "Project"
|
||||
msgstr "Projeto"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,date_planned:0
|
||||
msgid "Scheduled Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:254
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:271
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:289
|
||||
#, python-format
|
||||
msgid "There is at least this workcenter without product: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:237
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have post-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:221
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:181
|
||||
#, python-format
|
||||
msgid "You must define one Analytic Account for this MO: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "or"
|
||||
msgstr "ou"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
msgstr ""
|
||||
291
mrp_production_estimated_cost/i18n/ro.po
Normal file
291
mrp_production_estimated_cost/i18n/ro.po
Normal file
@@ -0,0 +1,291 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mrp_production_estimated_cost
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: odoomrp-wip (8s.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-20 18:10+0000\n"
|
||||
"PO-Revision-Date: 2015-11-19 16:26+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Romanian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/ro/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: ro\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:207
|
||||
#, python-format
|
||||
msgid "%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:240
|
||||
#, python-format
|
||||
msgid "%s-%s Post-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:224
|
||||
#, python-format
|
||||
msgid "%s-%s Pre-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:292
|
||||
#, python-format
|
||||
msgid "%s-%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:256
|
||||
#, python-format
|
||||
msgid "%s-%s-C-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:274
|
||||
#, python-format
|
||||
msgid "%s-%s-H-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,active:0
|
||||
msgid "Active"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_account_analytic_line
|
||||
msgid "Analytic Line"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:project.project,automatic_creation:0
|
||||
msgid "Automatic Creation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_bom
|
||||
msgid "Bill of Material"
|
||||
msgstr "Listă de materiale"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Cancel"
|
||||
msgstr "Anulare"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,analytic_line_ids:0
|
||||
msgid "Cost Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Costs analysis"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Create Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:product.product:mrp_production_estimated_cost.product_product_form_view_bom_button_inh_estimatedcost
|
||||
#: view:product.template:mrp_production_estimated_cost.product_template_form_view_bom_button_inh_estimatedcost
|
||||
msgid "Create Fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.act_product_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_template_create_fictitious_of
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitious MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitius MO"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_uid:0
|
||||
msgid "Created by"
|
||||
msgstr "Creat de"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_date:0
|
||||
msgid "Created on"
|
||||
msgstr "Creat în"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. AVG"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. STD"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_avg_cost:0
|
||||
#: field:mrp.production,avg_cost:0
|
||||
msgid "Estimated Average Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_avg_cost:0
|
||||
msgid "Estimated Average Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
msgid "Estimated Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_std_cost:0
|
||||
#: field:mrp.production,std_cost:0
|
||||
msgid "Estimated Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_std_cost:0
|
||||
msgid "Estimated Standard Unit Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_estimated_costs_per_production
|
||||
msgid "Estimated costs from production order"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.mrp_fictitious_production_action
|
||||
#: model:ir.ui.menu,name:mrp_production_estimated_cost.menu_mrp_fictitious_production_action
|
||||
msgid "Fictitious Manufacturing Orders to estimate costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "General Accounting"
|
||||
msgstr "Contabilitate generală"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,id:0
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_uid:0
|
||||
msgid "Last Updated by"
|
||||
msgstr "Ultima actualizare de"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_date:0
|
||||
msgid "Last Updated on"
|
||||
msgstr "Ultima actualizare în"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Load Estimated Cost on Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,load_on_product:0
|
||||
msgid "Load cost on product"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:product.template,manual_standard_cost:0
|
||||
msgid "Manual Standard Cost"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_production
|
||||
msgid "Manufacturing Order"
|
||||
msgstr "Comandă fabricație"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Manufacturing costs"
|
||||
msgstr "Costuri fabricație"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:205
|
||||
#, python-format
|
||||
msgid "One consume line has no product assigned."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr "Produs șablon"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_show_production_anaytic_lines
|
||||
msgid "Production Analytic Lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Production Costs"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "Production Information"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_project_project
|
||||
#: field:wiz.create.fictitious.of,project_id:0
|
||||
msgid "Project"
|
||||
msgstr "Proiect"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,date_planned:0
|
||||
msgid "Scheduled Date"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:254
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:271
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:289
|
||||
#, python-format
|
||||
msgid "There is at least this workcenter without product: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:237
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have post-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:221
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:181
|
||||
#, python-format
|
||||
msgid "You must define one Analytic Account for this MO: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "or"
|
||||
msgstr "sau"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
msgstr ""
|
||||
292
mrp_production_estimated_cost/i18n/sl.po
Normal file
292
mrp_production_estimated_cost/i18n/sl.po
Normal file
@@ -0,0 +1,292 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mrp_production_estimated_cost
|
||||
#
|
||||
# Translators:
|
||||
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: odoomrp-wip (8.0)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-20 18:10+0000\n"
|
||||
"PO-Revision-Date: 2015-11-19 16:26+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>\n"
|
||||
"Language-Team: Slovenian (http://www.transifex.com/oca/odoomrp-wip-8-0/language/sl/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Language: sl\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:207
|
||||
#, python-format
|
||||
msgid "%s-%s"
|
||||
msgstr "%s-%s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:240
|
||||
#, python-format
|
||||
msgid "%s-%s Post-operation"
|
||||
msgstr "%s-%s po operaciji"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:224
|
||||
#, python-format
|
||||
msgid "%s-%s Pre-operation"
|
||||
msgstr "%s-%s pred operacijo"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:292
|
||||
#, python-format
|
||||
msgid "%s-%s-%s"
|
||||
msgstr "%s-%s-%s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:256
|
||||
#, python-format
|
||||
msgid "%s-%s-C-%s"
|
||||
msgstr "%s-%s-C-%s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:274
|
||||
#, python-format
|
||||
msgid "%s-%s-H-%s"
|
||||
msgstr "%s-%s-H-%s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,active:0
|
||||
msgid "Active"
|
||||
msgstr "Aktivno"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_account_analytic_line
|
||||
msgid "Analytic Line"
|
||||
msgstr "Analitična postavka"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:project.project,automatic_creation:0
|
||||
msgid "Automatic Creation"
|
||||
msgstr "Samodejno ustvarjanje"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_bom
|
||||
msgid "Bill of Material"
|
||||
msgstr "Kosovnica"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Cancel"
|
||||
msgstr "Preklic"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,analytic_line_ids:0
|
||||
msgid "Cost Lines"
|
||||
msgstr "Stroškovne postavke"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Costs analysis"
|
||||
msgstr "Analiza stroškov"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Create Estimated Costs"
|
||||
msgstr "Ustvari oceno stroškov"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:product.product:mrp_production_estimated_cost.product_product_form_view_bom_button_inh_estimatedcost
|
||||
#: view:product.template:mrp_production_estimated_cost.product_template_form_view_bom_button_inh_estimatedcost
|
||||
msgid "Create Fictitious MO"
|
||||
msgstr "Ustvari navidezni proizvodni nalog"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.act_product_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_template_create_fictitious_of
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitious MO"
|
||||
msgstr "Ustvari navidezni proizvodni nalog"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitius MO"
|
||||
msgstr "Ustvari fiktiven proizvodni nalog"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_uid:0
|
||||
msgid "Created by"
|
||||
msgstr "Ustvaril"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_date:0
|
||||
msgid "Created on"
|
||||
msgstr "Ustvarjeno"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. AVG"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_tree_inh_estimatedcost
|
||||
msgid "Estim. STD"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_avg_cost:0
|
||||
#: field:mrp.production,avg_cost:0
|
||||
msgid "Estimated Average Cost"
|
||||
msgstr "Ocena povprečnih stroškov"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_avg_cost:0
|
||||
msgid "Estimated Average Unit Cost"
|
||||
msgstr "Ocena povprečnega stroška enote"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
msgid "Estimated Costs"
|
||||
msgstr "Ocena stroškov"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_std_cost:0
|
||||
#: field:mrp.production,std_cost:0
|
||||
msgid "Estimated Standard Cost"
|
||||
msgstr "Ocena standardnih stroškov"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_std_cost:0
|
||||
msgid "Estimated Standard Unit Cost"
|
||||
msgstr "Ocena stroška standardne enote"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_estimated_costs_per_production
|
||||
msgid "Estimated costs from production order"
|
||||
msgstr "Ocena stroškov iz proizvodnega naloga"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.mrp_fictitious_production_action
|
||||
#: model:ir.ui.menu,name:mrp_production_estimated_cost.menu_mrp_fictitious_production_action
|
||||
msgid "Fictitious Manufacturing Orders to estimate costs"
|
||||
msgstr "Navidezni proizvodni nalogi za oceno stroškov"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "General Accounting"
|
||||
msgstr "Glavna knjiga"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,id:0
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_uid:0
|
||||
msgid "Last Updated by"
|
||||
msgstr "Zadnjič posodobil"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_date:0
|
||||
msgid "Last Updated on"
|
||||
msgstr "Zadnjič posodobljeno"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Load Estimated Cost on Product"
|
||||
msgstr "Zadnja ocena stroška proizvoda"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,load_on_product:0
|
||||
msgid "Load cost on product"
|
||||
msgstr "Naloži strošek na proizvod"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:product.template,manual_standard_cost:0
|
||||
msgid "Manual Standard Cost"
|
||||
msgstr "Standardni strošek ročno"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_production
|
||||
msgid "Manufacturing Order"
|
||||
msgstr "Proizvodni nalog"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Manufacturing costs"
|
||||
msgstr "Proizvodni stroški"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:205
|
||||
#, python-format
|
||||
msgid "One consume line has no product assigned."
|
||||
msgstr "Ena postavka porabe nima dodeljenega proizvoda."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr "Predloga proizvoda"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_show_production_anaytic_lines
|
||||
msgid "Production Analytic Lines"
|
||||
msgstr "Proizvodne analitične postavke"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Production Costs"
|
||||
msgstr "Proizvodni stroški"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "Production Information"
|
||||
msgstr "Informacije o proizvodnji"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_project_project
|
||||
#: field:wiz.create.fictitious.of,project_id:0
|
||||
msgid "Project"
|
||||
msgstr "Projekt"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,date_planned:0
|
||||
msgid "Scheduled Date"
|
||||
msgstr "Načrtovani datum"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:254
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:271
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:289
|
||||
#, python-format
|
||||
msgid "There is at least this workcenter without product: %s"
|
||||
msgstr "Vsaj ta delovni center nima proizvoda: %s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:237
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have post-operation costing product."
|
||||
msgstr "Delovni center '%s' nima po-operativnega stroškovnega proizvoda."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:221
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
msgstr "Delovni center '%s' nima pred operativnega stroškovnega proizvoda."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:181
|
||||
#, python-format
|
||||
msgid "You must define one Analytic Account for this MO: %s"
|
||||
msgstr "Potrebno je določiti analitični konto za proizvodni nalog: %s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "or"
|
||||
msgstr "ali"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
msgstr "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
278
mrp_production_estimated_cost/i18n/vi_VN.po
Normal file
278
mrp_production_estimated_cost/i18n/vi_VN.po
Normal file
@@ -0,0 +1,278 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * mrp_production_estimated_cost
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-11-28 09:13+0000\n"
|
||||
"PO-Revision-Date: 2015-11-28 09:13+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_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:207
|
||||
#, python-format
|
||||
msgid "%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:240
|
||||
#, python-format
|
||||
msgid "%s-%s Post-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:224
|
||||
#, python-format
|
||||
msgid "%s-%s Pre-operation"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:292
|
||||
#, python-format
|
||||
msgid "%s-%s-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:256
|
||||
#, python-format
|
||||
msgid "%s-%s-C-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:274
|
||||
#, python-format
|
||||
msgid "%s-%s-H-%s"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,active:0
|
||||
msgid "Active"
|
||||
msgstr "Có hiệu lực"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_account_analytic_line
|
||||
msgid "Analytic Line"
|
||||
msgstr "Analytic Line"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:project.project,automatic_creation:0
|
||||
msgid "Automatic Creation"
|
||||
msgstr "Tạo dự động"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_bom
|
||||
msgid "Bill of Material"
|
||||
msgstr "Định mức Nguyên liệu"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Cancel"
|
||||
msgstr "Hủy"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,analytic_line_ids:0
|
||||
msgid "Cost Lines"
|
||||
msgstr "Chi tiết chi phí"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Costs analysis"
|
||||
msgstr "Phân tích chi phí"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Create Estimated Costs"
|
||||
msgstr "Tạo chi phí dự kiến"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:product.product:mrp_production_estimated_cost.product_product_form_view_bom_button_inh_estimatedcost
|
||||
#: view:product.template:mrp_production_estimated_cost.product_template_form_view_bom_button_inh_estimatedcost
|
||||
msgid "Create Fictitious MO"
|
||||
msgstr "Tạo Lệnh sản xuất giả lập"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.act_product_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_create_fictitious_of
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_run_template_create_fictitious_of
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitious MO"
|
||||
msgstr "Tạo Lệnh sản xuất giả lập"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "Create fictitius MO"
|
||||
msgstr "Tạo Lệnh sản xuất giả lập"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_uid:0
|
||||
msgid "Created by"
|
||||
msgstr "Tạo bởi"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,create_date:0
|
||||
msgid "Created on"
|
||||
msgstr "Tạo vào"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_avg_cost:0
|
||||
#: field:mrp.production,avg_cost:0
|
||||
msgid "Estimated Average Cost"
|
||||
msgstr "Chi phí trung bình dự kiến"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_avg_cost:0
|
||||
msgid "Estimated Average Unit Cost"
|
||||
msgstr "Chi phí đơn vị trung bình dự kiến"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.estimated_cost_list_view
|
||||
msgid "Estimated Costs"
|
||||
msgstr "Chi phí dự kiến"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:account.analytic.line,estim_std_cost:0
|
||||
#: field:mrp.production,std_cost:0
|
||||
msgid "Estimated Standard Cost"
|
||||
msgstr "Chi phí tiêu chuẩn dự kiến"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:mrp.production,unit_std_cost:0
|
||||
msgid "Estimated Standard Unit Cost"
|
||||
msgstr "Chi phí đơn vị tiêu chuẩn dự kiến"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_estimated_costs_per_production
|
||||
msgid "Estimated costs from production order"
|
||||
msgstr "Chi phí dự kiến từ các lệnh sản xuất"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.mrp_fictitious_production_action
|
||||
#: model:ir.ui.menu,name:mrp_production_estimated_cost.menu_mrp_fictitious_production_action
|
||||
msgid "Fictitious Manufacturing Orders to estimate costs"
|
||||
msgstr "Lệnh sản xuất giả lập để dự toán chi phí"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "General Accounting"
|
||||
msgstr "Kế toán Tổng hợp"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,id:0
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_uid:0
|
||||
msgid "Last Updated by"
|
||||
msgstr "Cập nhật lần cuối bởi"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,write_date:0
|
||||
msgid "Last Updated on"
|
||||
msgstr "Cập nhật lần cuối vào"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Load Estimated Cost on Product"
|
||||
msgstr "Load Estimated Cost on Product"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,load_on_product:0
|
||||
msgid "Load cost on product"
|
||||
msgstr "Lấy giá vốn từ sản phẩm"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:product.template,manual_standard_cost:0
|
||||
msgid "Manual Standard Cost"
|
||||
msgstr "Giá tiêu chuẩn (tính thủ công)"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_mrp_production
|
||||
msgid "Manufacturing Order"
|
||||
msgstr "Lệnh sản xuất"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "Manufacturing costs"
|
||||
msgstr "Chi phí sản xuất"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:205
|
||||
#, python-format
|
||||
msgid "One consume line has no product assigned."
|
||||
msgstr "Một dòng tiêu thụ không có sản phẩm nào được gán."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr "Mẫu sản phẩm"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.actions.act_window,name:mrp_production_estimated_cost.action_show_production_anaytic_lines
|
||||
msgid "Production Analytic Lines"
|
||||
msgstr "Production Analytic Lines"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_buttons_inh_estimatedcost
|
||||
msgid "Production Costs"
|
||||
msgstr "Chi phí sản xuất"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:account.analytic.line:mrp_production_estimated_cost.view_account_analytic_line_form_inh_estimatedcost
|
||||
msgid "Production Information"
|
||||
msgstr "Thông tin sản xuất"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: model:ir.model,name:mrp_production_estimated_cost.model_project_project
|
||||
#: field:wiz.create.fictitious.of,project_id:0
|
||||
msgid "Project"
|
||||
msgstr "Dự án"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: field:wiz.create.fictitious.of,date_planned:0
|
||||
msgid "Scheduled Date"
|
||||
msgstr "Ngày theo kế hoạch"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:254
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:271
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:289
|
||||
#, python-format
|
||||
msgid "There is at least this workcenter without product: %s"
|
||||
msgstr "There is at least this workcenter without product: %s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:237
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have post-operation costing product."
|
||||
msgstr "Workcenter '%s' doesn't have post-operation costing product."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:221
|
||||
#, python-format
|
||||
msgid "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
msgstr "Workcenter '%s' doesn't have pre-operation costing product."
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: code:addons/mrp_production_estimated_cost/models/mrp_production.py:181
|
||||
#, python-format
|
||||
msgid "You must define one Analytic Account for this MO: %s"
|
||||
msgstr "Bạn phải định nghĩa một Tài khoản quản trị cho MO này: %s"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:wiz.create.fictitious.of:mrp_production_estimated_cost.wiz_create_fictitious_of_view
|
||||
msgid "or"
|
||||
msgstr "hoặc"
|
||||
|
||||
#. module: mrp_production_estimated_cost
|
||||
#: view:mrp.production:mrp_production_estimated_cost.mrp_production_form_view_inh_estimatedcost
|
||||
msgid "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
msgstr "{'invisible':['|',('active','=',False),('state','!=','draft')]}"
|
||||
|
||||
8
mrp_production_estimated_cost/models/__init__.py
Normal file
8
mrp_production_estimated_cost/models/__init__.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import account_analytic_line
|
||||
from . import mrp_production
|
||||
from . import product
|
||||
@@ -0,0 +1,16 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from openerp import models, fields
|
||||
import openerp.addons.decimal_precision as dp
|
||||
|
||||
|
||||
class AccountAnalyticLine(models.Model):
|
||||
_inherit = 'account.analytic.line'
|
||||
|
||||
estim_std_cost = fields.Float(string='Estimated Standard Cost',
|
||||
digits=dp.get_precision('Product Price'))
|
||||
estim_avg_cost = fields.Float(string='Estimated Average Cost',
|
||||
digits=dp.get_precision('Product Price'))
|
||||
271
mrp_production_estimated_cost/models/mrp_production.py
Normal file
271
mrp_production_estimated_cost/models/mrp_production.py
Normal file
@@ -0,0 +1,271 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from openerp import api, exceptions, fields, models, _
|
||||
|
||||
|
||||
class MrpProduction(models.Model):
|
||||
_inherit = 'mrp.production'
|
||||
|
||||
@api.one
|
||||
@api.depends('analytic_line_ids', 'analytic_line_ids.estim_std_cost',
|
||||
'product_qty')
|
||||
def _compute_unit_std_cost(self):
|
||||
self.std_cost = -sum(self.analytic_line_ids.mapped('estim_std_cost'))
|
||||
self.unit_std_cost = self.std_cost / self.product_qty
|
||||
|
||||
@api.one
|
||||
@api.depends('analytic_line_ids', 'analytic_line_ids.estim_avg_cost',
|
||||
'product_qty')
|
||||
def _compute_unit_avg_cost(self):
|
||||
self.avg_cost = -sum(self.analytic_line_ids.mapped('estim_avg_cost'))
|
||||
self.unit_avg_cost = self.avg_cost / self.product_qty
|
||||
|
||||
@api.one
|
||||
def _count_created_estimated_cost(self):
|
||||
analytic_line_obj = self.env['account.analytic.line']
|
||||
cond = [('mrp_production_id', '=', self.id),
|
||||
('task_id', '=', False)]
|
||||
self.created_estimated_cost = len(analytic_line_obj.search(cond))
|
||||
|
||||
active = fields.Boolean(string='Active', default=True)
|
||||
name = fields.Char(default="/")
|
||||
created_estimated_cost = fields.Integer(
|
||||
compute="_count_created_estimated_cost", string="Estimated Costs")
|
||||
std_cost = fields.Float(
|
||||
string="Estimated Standard Cost", compute="_compute_unit_std_cost",
|
||||
store=True)
|
||||
avg_cost = fields.Float(
|
||||
string="Estimated Average Cost", compute="_compute_unit_avg_cost",
|
||||
store=True)
|
||||
unit_std_cost = fields.Float(
|
||||
string="Estimated Standard Unit Cost",
|
||||
compute="_compute_unit_std_cost", store=True)
|
||||
unit_avg_cost = fields.Float(string="Estimated Average Unit Cost",
|
||||
compute="_compute_unit_avg_cost", store=True)
|
||||
product_manual_cost = fields.Float(
|
||||
string="Product Manual Cost",
|
||||
related="product_id.manual_standard_cost")
|
||||
product_cost = fields.Float(
|
||||
string="Product Cost", related="product_id.standard_price")
|
||||
analytic_line_ids = fields.One2many(
|
||||
comodel_name="account.analytic.line", inverse_name="mrp_production_id",
|
||||
string="Cost Lines")
|
||||
|
||||
@api.model
|
||||
def create(self, values):
|
||||
sequence_obj = self.env['ir.sequence']
|
||||
if values.get('active', True):
|
||||
values['active'] = True
|
||||
if values.get('name', '/') == '/':
|
||||
values['name'] = sequence_obj.get('mrp.production')
|
||||
else:
|
||||
values['name'] = sequence_obj.get('virtual.mrp.production')
|
||||
return super(MrpProduction, self).create(values)
|
||||
|
||||
@api.multi
|
||||
def action_confirm(self):
|
||||
res = super(MrpProduction, self).action_confirm()
|
||||
self.calculate_production_estimated_cost()
|
||||
return res
|
||||
|
||||
@api.multi
|
||||
def action_show_estimated_costs(self):
|
||||
self.ensure_one()
|
||||
analytic_line_obj = self.env['account.analytic.line']
|
||||
id2 = self.env.ref(
|
||||
'mrp_production_estimated_cost.estimated_cost_list_view')
|
||||
search_view = self.env.ref(
|
||||
'mrp_project.account_analytic_line_mrp_search_view')
|
||||
analytic_line_list = analytic_line_obj.search(
|
||||
[('mrp_production_id', '=', self.id),
|
||||
('task_id', '=', False), ('amount', '=', 0)])
|
||||
self = self.with_context(search_default_group_production=1,
|
||||
search_default_group_workorder=1,
|
||||
search_default_group_journal=1)
|
||||
return {
|
||||
'view_type': 'form',
|
||||
'view_mode': 'tree',
|
||||
'res_model': 'account.analytic.line',
|
||||
'views': [(id2.id, 'tree')],
|
||||
'search_view_id': search_view.id,
|
||||
'view_id': False,
|
||||
'type': 'ir.actions.act_window',
|
||||
'target': 'new',
|
||||
'domain': [('id', 'in', analytic_line_list.ids)],
|
||||
'context': self.env.context
|
||||
}
|
||||
|
||||
@api.model
|
||||
def _prepare_estimated_cost_analytic_line(
|
||||
self, journal, name, production, product, general_account=None,
|
||||
workorder=None, qty=1, std_cost=0, avg_cost=0):
|
||||
"""
|
||||
Prepare the vals for creating an analytic entry for stimated cost
|
||||
:param journal: Journal of the entry
|
||||
:param name: Name of the entry
|
||||
:param production: Origin product
|
||||
:param product: Product for the entry
|
||||
:param general_account: General account for the entry
|
||||
:param workorder: Origin workorder
|
||||
:param qty: Quantity for the entry. This quantity will multiply both
|
||||
standard and average costs for the entry costs.
|
||||
:param std_cost: Cost for calculating estimated standard cost. If 0,
|
||||
then product manual standard cost will be used.
|
||||
:param avg_cost: Cost for calculating estimated average cost. If 0,
|
||||
then product cost will be used.
|
||||
:return: Dictionary with the analytic entry vals.
|
||||
"""
|
||||
analytic_line_obj = self.env['account.analytic.line']
|
||||
property_obj = self.env['ir.property']
|
||||
if not general_account:
|
||||
general_account = (
|
||||
product.property_account_income or
|
||||
product.categ_id.property_account_income_categ or
|
||||
property_obj.get('property_account_expense_categ',
|
||||
'product.category'))
|
||||
if not production.analytic_account_id:
|
||||
raise exceptions.Warning(
|
||||
_('You must define one Analytic Account for this MO: %s') %
|
||||
(production.name))
|
||||
return {
|
||||
'name': name,
|
||||
'mrp_production_id': production.id,
|
||||
'workorder': workorder and workorder.id or False,
|
||||
'account_id': self.analytic_account_id.id,
|
||||
'journal_id': journal.id,
|
||||
'user_id': self.env.uid,
|
||||
'date': analytic_line_obj._get_default_date(),
|
||||
'product_id': product and product.id or False,
|
||||
'unit_amount': qty,
|
||||
'amount': 0,
|
||||
'product_uom_id': product.uom_id.id,
|
||||
'general_account_id': general_account.id,
|
||||
'estim_std_cost': -qty * (std_cost or
|
||||
product.manual_standard_cost),
|
||||
'estim_avg_cost': -qty * (avg_cost or product.standard_price),
|
||||
}
|
||||
|
||||
@api.model
|
||||
def _create_material_estimated_cost(self, prod, product_line):
|
||||
if not product_line.product_id:
|
||||
raise exceptions.Warning(
|
||||
_("One consume line has no product assigned."))
|
||||
journal = self.env.ref('mrp.analytic_journal_materials', False)
|
||||
name = '%s-%s' % (prod.name, product_line.work_order.name or '')
|
||||
product = product_line.product_id
|
||||
qty = product_line.product_qty
|
||||
vals = self._prepare_estimated_cost_analytic_line(
|
||||
journal, name, prod, product, workorder=product_line.work_order,
|
||||
qty=qty)
|
||||
return self.env['account.analytic.line'].create(vals)
|
||||
|
||||
@api.model
|
||||
def _create_pre_operation_estimated_cost(self, prod, wc, workorder):
|
||||
if workorder.time_start:
|
||||
product = workorder.workcenter_id.pre_op_product
|
||||
journal = self.env.ref('mrp.analytic_journal_machines', False)
|
||||
name = (_('%s-%s Pre-operation') %
|
||||
(prod.name, workorder.workcenter_id.name))
|
||||
vals = self._prepare_estimated_cost_analytic_line(
|
||||
journal, name, prod, product, workorder=workorder,
|
||||
qty=workorder.time_start)
|
||||
return self.env['account.analytic.line'].create(vals)
|
||||
|
||||
@api.model
|
||||
def _create_post_operation_estimated_cost(self, prod, wc, workorder):
|
||||
if workorder.time_stop:
|
||||
product = workorder.workcenter_id.post_op_product
|
||||
journal = self.env.ref('mrp.analytic_journal_machines', False)
|
||||
name = (_('%s-%s Post-operation') %
|
||||
(prod.name, workorder.workcenter_id.name))
|
||||
vals = self._prepare_estimated_cost_analytic_line(
|
||||
journal, name, prod, product, workorder=workorder,
|
||||
qty=workorder.time_stop)
|
||||
return self.env['account.analytic.line'].create(vals)
|
||||
|
||||
@api.model
|
||||
def _create_workcenter_cycles_estimated_cost(self, prod, wc, workorder):
|
||||
if workorder.cycle and workorder.workcenter_id.costs_cycle:
|
||||
journal = prod.env.ref('mrp.analytic_journal_machines', False)
|
||||
product = workorder.workcenter_id.product_id
|
||||
if not product:
|
||||
raise exceptions.Warning(
|
||||
_("There is at least this workcenter without "
|
||||
"product: %s") % workorder.workcenter_id.name)
|
||||
name = (_('%s-%s-C-%s') %
|
||||
(prod.name, workorder.routing_wc_line.operation.code,
|
||||
workorder.workcenter_id.name))
|
||||
cost = workorder.workcenter_id.costs_cycle
|
||||
vals = self._prepare_estimated_cost_analytic_line(
|
||||
journal, name, prod, product, workorder=workorder,
|
||||
qty=workorder.cycle, std_cost=cost, avg_cost=cost)
|
||||
return self.env['account.analytic.line'].create(vals)
|
||||
|
||||
@api.model
|
||||
def _create_workcenter_hours_estimated_cost(self, prod, wc, workorder):
|
||||
if workorder.hour and workorder.workcenter_id.costs_hour:
|
||||
product = workorder.workcenter_id.product_id
|
||||
if not product:
|
||||
raise exceptions.Warning(
|
||||
_("There is at least this workcenter without "
|
||||
"product: %s") % workorder.workcenter_id.name)
|
||||
journal = self.env.ref('mrp.analytic_journal_machines', False)
|
||||
name = (_('%s-%s-H-%s') %
|
||||
(prod.name, workorder.routing_wc_line.operation.code,
|
||||
workorder.workcenter_id.name))
|
||||
cost = workorder.workcenter_id.costs_hour
|
||||
vals = self._prepare_estimated_cost_analytic_line(
|
||||
journal, name, prod, product, workorder=workorder,
|
||||
qty=workorder.hour, std_cost=cost, avg_cost=cost)
|
||||
return self.env['account.analytic.line'].create(vals)
|
||||
|
||||
@api.model
|
||||
def _create_operators_estimated_cost(self, prod, wc, workorder):
|
||||
data_source = wc if wc.custom_data else wc.workcenter
|
||||
if data_source.op_number > 0 and workorder.hour:
|
||||
product = workorder.workcenter_id.product_id
|
||||
journal = self.env.ref('mrp.analytic_journal_operators', False)
|
||||
name = ('%s-%s-%s' %
|
||||
(prod.name, workorder.routing_wc_line.operation.code,
|
||||
product.name))
|
||||
cost = data_source.op_avg_cost
|
||||
qty = workorder.hour * data_source.op_number
|
||||
vals = self._prepare_estimated_cost_analytic_line(
|
||||
journal, name, prod, product, workorder=workorder, qty=qty,
|
||||
std_cost=cost, avg_cost=cost)
|
||||
return self.env['account.analytic.line'].create(vals)
|
||||
|
||||
@api.multi
|
||||
def calculate_production_estimated_cost(self):
|
||||
analytic_line_obj = self.env['account.analytic.line']
|
||||
for record in self:
|
||||
cond = [('mrp_production_id', '=', record.id)]
|
||||
analytic_line_obj.search(cond).unlink()
|
||||
for product_line in record.product_lines:
|
||||
self._create_material_estimated_cost(record, product_line)
|
||||
for line in record.workcenter_lines:
|
||||
op_wc_lines = line.routing_wc_line.op_wc_lines
|
||||
wc = op_wc_lines.filtered(
|
||||
lambda r: r.workcenter == line.workcenter_id)
|
||||
self._create_pre_operation_estimated_cost(record, wc, line)
|
||||
self._create_post_operation_estimated_cost(record, wc, line)
|
||||
done = self._create_workcenter_cycles_estimated_cost(
|
||||
record, wc, line)
|
||||
if not done:
|
||||
self._create_workcenter_hours_estimated_cost(
|
||||
record, wc, line)
|
||||
self._create_operators_estimated_cost(record, wc, line)
|
||||
|
||||
@api.multi
|
||||
def load_product_std_price(self):
|
||||
for production in self:
|
||||
if production.unit_std_cost:
|
||||
production.product_id.manual_standard_cost = (
|
||||
production.unit_std_cost)
|
||||
|
||||
@api.multi
|
||||
def _get_min_qty_for_production(self, routing=False):
|
||||
return 1
|
||||
15
mrp_production_estimated_cost/models/product.py
Normal file
15
mrp_production_estimated_cost/models/product.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from openerp import models, fields
|
||||
import openerp.addons.decimal_precision as dp
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = 'product.template'
|
||||
|
||||
manual_standard_cost = fields.Float(
|
||||
string='Manual Standard Cost', digits=dp.get_precision('Product Price')
|
||||
)
|
||||
BIN
mrp_production_estimated_cost/static/description/icon.png
Normal file
BIN
mrp_production_estimated_cost/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
354
mrp_production_estimated_cost/static/description/icon.svg
Normal file
354
mrp_production_estimated_cost/static/description/icon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 21 KiB |
6
mrp_production_estimated_cost/tests/__init__.py
Normal file
6
mrp_production_estimated_cost/tests/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# © 2015 Pedro M. Baeza
|
||||
# © 2015 Antiun Ingeniería
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import test_mrp_production_estimated_cost
|
||||
@@ -0,0 +1,33 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# © 2015 Pedro M. Baeza
|
||||
# © 2015 Antiun Ingeniería
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from openerp.tests import common
|
||||
|
||||
|
||||
class TestMrpProductionEstimatedCost(common.TransactionCase):
|
||||
def setUp(self):
|
||||
super(TestMrpProductionEstimatedCost, self).setUp()
|
||||
self.production = self.env.ref(
|
||||
'mrp_operations_extension.mrp_production_opeext')
|
||||
self.journal_materials = self.env.ref('mrp.analytic_journal_materials')
|
||||
self.journal_machines = self.env.ref('mrp.analytic_journal_machines')
|
||||
self.journal_operators = self.env.ref('mrp.analytic_journal_operators')
|
||||
|
||||
def test_flow(self):
|
||||
self.production.action_compute()
|
||||
self.production.workcenter_lines[0].op_number = 1
|
||||
self.production.signal_workflow('button_confirm')
|
||||
self.production.force_production()
|
||||
self.assertTrue(self.production.analytic_line_ids.filtered(
|
||||
lambda x: x.journal_id == self.journal_materials))
|
||||
self.assertTrue(self.production.analytic_line_ids.filtered(
|
||||
lambda x: x.journal_id == self.journal_machines))
|
||||
self.assertTrue(self.production.analytic_line_ids.filtered(
|
||||
lambda x: x.journal_id == self.journal_operators))
|
||||
self.assertEqual(self.production.created_estimated_cost, 11)
|
||||
|
||||
def test_show_action(self):
|
||||
action = self.production.action_show_estimated_costs
|
||||
self.assertTrue(action)
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="view_account_analytic_line_form_inh_estimatedcost" model="ir.ui.view">
|
||||
<field name="name">view.account.analytic.line.form.inh.estimatedcost</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
<field name="inherit_id" ref="account.view_account_analytic_line_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<group string="General Accounting" position="after">
|
||||
<group string="Production Information" colspan="4" col="8">
|
||||
<field name="estim_std_cost" colspan="2"/>
|
||||
<field name="estim_avg_cost" colspan="2"/>
|
||||
</group>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_analytic_line_tree_inh_estimatedcost" model="ir.ui.view">
|
||||
<field name="name">view.account.analytic.line.tree.inh.estimatedcost</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
<field name="inherit_id" ref="account.view_account_analytic_line_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="journal_id" position="before">
|
||||
<field name="product_id"/>
|
||||
</field>
|
||||
<field name="journal_id" position="after">
|
||||
<field name="estim_std_cost" sum="Estim. AVG"/>
|
||||
<field name="estim_avg_cost" sum="Estim. STD"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="estimated_cost_list_view" model="ir.ui.view">
|
||||
<field name="name">estimated.cost.list.view</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
<field name="priority" eval="50"/>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Estimated Costs">
|
||||
<field name="date"/>
|
||||
<field name="ref"/>
|
||||
<field name="name"/>
|
||||
<field name="product_id"/>
|
||||
<field name="journal_id"/>
|
||||
<field name="estim_avg_cost" sum="Estim. AVG"/>
|
||||
<field name="estim_std_cost" sum="Estim. STD"/>
|
||||
<field name="amount"/>
|
||||
<field name="unit_amount"/>
|
||||
<field name="account_id"/>
|
||||
<field name="mrp_production_id"/>
|
||||
<field name="workorder"/>
|
||||
<field name="company_id"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_show_production_anaytic_lines" model="ir.actions.act_window">
|
||||
<field name="name">Production Analytic Lines</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">account.analytic.line</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="view_id" eval="estimated_cost_list_view"/>
|
||||
<field name="context">{'default_mrp_production_id': active_id,
|
||||
'search_default_group_production': 1,
|
||||
'search_default_group_workorder': 1,
|
||||
'search_default_group_journal': 1}</field>
|
||||
<field name="domain">[('mrp_production_id','=',active_id)]</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
131
mrp_production_estimated_cost/views/mrp_production_view.xml
Normal file
131
mrp_production_estimated_cost/views/mrp_production_view.xml
Normal file
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="mrp_production_form_view" model="ir.ui.view">
|
||||
<field name="name">Manufacturing order form (active field)</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_id" position="before">
|
||||
<field name="active" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp.mrp_production_form_view_costs" model="ir.ui.view">
|
||||
<field name="name">mrp.production.form.view.costs</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<page string="Extra Information" position="inside">
|
||||
<group string="Manufacturing costs" name="group_manufacturing_cost"/>
|
||||
</page>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_production_form_view_inh_estimatedcost" model="ir.ui.view">
|
||||
<field name="name">mrp.production.form.view.inh.estimatedcost</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_form_view_costs"/>
|
||||
<field name="arch" type="xml">
|
||||
<button name="button_confirm" position="attributes">
|
||||
<attribute name="states"/>
|
||||
<attribute name="attrs">{'invisible': ['|', ('active','=',False), ('state','!=','draft')]}</attribute>
|
||||
</button>
|
||||
<button name="action_cancel" position="after">
|
||||
<button name="calculate_production_estimated_cost"
|
||||
states="draft,ready,in_production"
|
||||
string="Create Estimated Costs" type="object"
|
||||
/>
|
||||
<button name="load_product_std_price"
|
||||
string="Load Estimated Cost on Product"
|
||||
type="object"
|
||||
attrs="{'invisible':[('std_cost', '=', 0)]}"
|
||||
/>
|
||||
</button>
|
||||
<group string="Manufacturing costs" position="inside">
|
||||
<group>
|
||||
<field name="std_cost" />
|
||||
<field name="unit_std_cost" />
|
||||
<field name="avg_cost" />
|
||||
<field name="unit_avg_cost" />
|
||||
</group>
|
||||
<group>
|
||||
<field name="product_cost"/>
|
||||
<field name="product_manual_cost"/>
|
||||
</group>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_production_tree_view_inh_estimatedcost" model="ir.ui.view">
|
||||
<field name="name">mrp.production.tree.view.inh.estimatedcost</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_tree_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_uom" position="after">
|
||||
<field name="product_cost"/>
|
||||
<field name="product_manual_cost"/>
|
||||
<field name="avg_cost" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_estimated_costs_per_production" model="ir.actions.act_window">
|
||||
<field name="name">Estimated costs from manufacturing order</field>
|
||||
<field name="res_model">account.analytic.line</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('mrp_production_id','=',active_id),('task_id','=',False)]</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="mrp.mrp_production_buttons">
|
||||
<field name="name">mrp.production.buttons</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_form_view" />
|
||||
<field name="arch" type="xml">
|
||||
<div class="oe_title" position="after">
|
||||
<div class="oe_right oe_button_box" name="buttons"/>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="mrp_production_buttons_inh_estimatedcost">
|
||||
<field name="name">mrp.production.buttons.inh.estimatedcost</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_buttons" />
|
||||
<field name="arch" type="xml">
|
||||
<div name="buttons" position="inside">
|
||||
<button class="oe_inline oe_stat_button"
|
||||
type="object"
|
||||
string="Costs analysis"
|
||||
name="action_show_estimated_costs"
|
||||
icon="fa-bar-chart"/>
|
||||
<button class="oe_inline oe_stat_button"
|
||||
type="action"
|
||||
string="Production Costs"
|
||||
name="%(action_show_production_anaytic_lines)d"
|
||||
icon="fa-list"/>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_virtual_production_action" model="ir.actions.act_window">
|
||||
<field name="name">Virtual Manufacturing Orders to estimate costs</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">mrp.production</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form,calendar,graph,gantt</field>
|
||||
<field name="view_id" eval="False"/>
|
||||
<field name="search_view_id" ref="mrp.view_mrp_production_filter"/>
|
||||
<field name="context">{'default_active': False}</field>
|
||||
<field name="domain">[('active','=',False)]</field>
|
||||
</record>
|
||||
|
||||
<menuitem action="mrp_virtual_production_action"
|
||||
id="menu_mrp_virtual_production_action"
|
||||
parent="mrp.menu_mrp_manufacturing" sequence="10"
|
||||
/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
47
mrp_production_estimated_cost/views/product_view.xml
Normal file
47
mrp_production_estimated_cost/views/product_view.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="product_template_form_view_inh_estimatedcost" model="ir.ui.view">
|
||||
<field name="name">product.template.form.view.inh.estimatedcost</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="standard_price" position="after">
|
||||
<field name="manual_standard_cost" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="product_product_form_view_bom_button_inh_estimatedcost" model="ir.ui.view">
|
||||
<field name="name">product.product.form.view.bom.button.inh.estimatedcost</field>
|
||||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="mrp.product_product_form_view_bom_button"/>
|
||||
<field name="arch" type="xml">
|
||||
<button name="action_view_bom" position="after">
|
||||
<button class="oe_inline oe_stat_button"
|
||||
name="%(act_product_create_virtual_mo)d"
|
||||
string="Create Virtual MO" type="action"
|
||||
attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-flask"
|
||||
/>
|
||||
</button>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="product_template_form_view_bom_button_inh_estimatedcost" model="ir.ui.view">
|
||||
<field name="name">product.template.form.view.bom.button.inh.estimatedcost</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="mrp.product_template_form_view_bom_button"/>
|
||||
<field name="arch" type="xml">
|
||||
<button name="action_view_mos" position="before">
|
||||
<button class="oe_inline oe_stat_button"
|
||||
name="%(act_product_create_virtual_mo)d"
|
||||
attrs="{'invisible':[('type', '=', 'service')]}" icon="fa-flask"
|
||||
string="Create Virtual MO" type="action"
|
||||
/>
|
||||
</button>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
6
mrp_production_estimated_cost/wizard/__init__.py
Normal file
6
mrp_production_estimated_cost/wizard/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import wiz_create_virtual_mo
|
||||
@@ -0,0 +1,66 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2014-2015 Avanzosc
|
||||
# (c) 2014-2015 Pedro M. Baeza
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from openerp import api, fields, models
|
||||
|
||||
|
||||
class WizCreateVirtualMo(models.TransientModel):
|
||||
_name = "wiz.create.virtual.mo"
|
||||
|
||||
date_planned = fields.Datetime(
|
||||
string='Scheduled Date', required=True, default=fields.Datetime.now)
|
||||
load_on_product = fields.Boolean("Load cost on product")
|
||||
analytic_account_id = fields.Many2one(
|
||||
comodel_name="account.analytic.account", string="Analytic account")
|
||||
|
||||
@api.multi
|
||||
def do_create_virtual_mo(self):
|
||||
self.ensure_one()
|
||||
production_obj = self.env['mrp.production']
|
||||
product_obj = self.env['product.product']
|
||||
routing_obj = self.env['mrp.routing']
|
||||
active_ids = self.env.context['active_ids']
|
||||
if self.env.context['active_model'] == 'product.template':
|
||||
cond = [('product_tmpl_id', 'in', active_ids)]
|
||||
products = product_obj.search(cond)
|
||||
else:
|
||||
products = product_obj.browse(active_ids)
|
||||
productions = self.env['mrp.production']
|
||||
for product in products:
|
||||
vals = {
|
||||
'product_id': product.id,
|
||||
'product_template': product.product_tmpl_id.id,
|
||||
'product_qty': 1,
|
||||
'date_planned': self.date_planned,
|
||||
'user_id': self._uid,
|
||||
'active': False,
|
||||
'product_uom': product.uom_id.id,
|
||||
'analytic_account_id': self.analytic_account_id.id,
|
||||
}
|
||||
vals.update(production_obj.product_id_change(
|
||||
product.id, 1)['value'])
|
||||
if 'routing_id' in vals:
|
||||
routing = routing_obj.browse(vals['routing_id'])
|
||||
product_qty = production_obj._get_min_qty_for_production(
|
||||
routing) or 1
|
||||
vals['product_qty'] = product_qty
|
||||
prod_vals = production_obj.product_id_change(
|
||||
product.id, product_qty)['value']
|
||||
vals.update(prod_vals)
|
||||
vals['product_attributes'] = [tuple([0, 0, line]) for line in
|
||||
vals.get('product_attributes', [])]
|
||||
new_production = production_obj.create(vals)
|
||||
new_production.action_compute()
|
||||
productions |= new_production
|
||||
if self.load_on_product:
|
||||
productions.load_product_std_price()
|
||||
return {
|
||||
'view_type': 'form',
|
||||
'view_mode': 'tree,form',
|
||||
'res_model': 'mrp.production',
|
||||
'type': 'ir.actions.act_window',
|
||||
'domain': ("[('id', 'in', %s), ('active','=',False)]" %
|
||||
productions.ids)
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="wiz_create_virtual_mo_view" model="ir.ui.view">
|
||||
<field name="name">wiz.create.virtual.mo.view</field>
|
||||
<field name="model">wiz.create.virtual.mo</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Create virtual MO">
|
||||
<group string="Create virtual MO">
|
||||
<field name="date_planned" />
|
||||
<field name="load_on_product" />
|
||||
<field name="analytic_account_id" />
|
||||
</group>
|
||||
<footer>
|
||||
<button name="do_create_virtual_mo"
|
||||
type="object"
|
||||
string="Create virtual MO"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
or
|
||||
<button string="Cancel"
|
||||
class="oe_link"
|
||||
special="cancel"
|
||||
/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="act_product_create_virtual_mo" model="ir.actions.act_window">
|
||||
<field name="name">Create virtual MO</field>
|
||||
<field name="res_model">wiz.create.virtual.mo</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="wiz_create_virtual_mo_view" />
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
<act_window name="Create virtual MO"
|
||||
res_model="wiz.create.virtual.mo"
|
||||
src_model="product.product"
|
||||
view_mode="form"
|
||||
target="new"
|
||||
key2="client_action_multi"
|
||||
id="action_run_create_virtual_mo"/>
|
||||
<act_window name="Create virtual MO"
|
||||
res_model="wiz.create.virtual.mo"
|
||||
src_model="product.template"
|
||||
view_mode="form"
|
||||
target="new"
|
||||
key2="client_action_multi"
|
||||
id="action_run_template_create_virtual_mo"/>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -3,4 +3,3 @@
|
||||
product-attribute
|
||||
account-analytic
|
||||
product-variant
|
||||
|
||||
|
||||
Reference in New Issue
Block a user