Skip to content

Commit

Permalink
[ADD] mrp_production_cost: New object mrp production cost. (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
plersundi authored and oihane committed Jul 4, 2024
1 parent 14cdfca commit 0b549db
Show file tree
Hide file tree
Showing 12 changed files with 535 additions and 0 deletions.
32 changes: 32 additions & 0 deletions mrp_production_cost/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.. 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

===================
MRP Production Cost
===================

Cost related fields in manufacturing orders:

* In "Components" of a Manufacturing Order
* In "Work Orders" of a Manufacturing Order
* In the Manufacturing Order List

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/mrp-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Contributors
------------

* Patxi Lersundi <[email protected]>
* Ana Juaristi <[email protected]>
1 change: 1 addition & 0 deletions mrp_production_cost/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions mrp_production_cost/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2022 Patxi lersundi
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
{
"name": "MRP Production Cost",
"author": "AvanzOSC",
"website": "https://github.com/avanzosc/mrp-addons",
"category": "MRP",
"license": "AGPL-3",
"version": "14.0.1.0.0",
"depends": [
"product",
"mrp",
"stock",
],
"data": [
"views/mrp_production_views.xml",
"views/mrp_stockmove_views.xml",
"views/mrp_workorder_views.xml",
],
"installable": True,
}
138 changes: 138 additions & 0 deletions mrp_production_cost/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_production_cost
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-20 13:26+0000\n"
"PO-Revision-Date: 2022-06-20 13:26+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_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_manufacturing_estimated
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Manufacturing estimated"
msgstr "Coste de Fabricación estimado"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_manufacturing_real
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Manufacturing real"
msgstr "Coste de Fabricación real"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_material_consumed
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_form_view
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Material consumed"
msgstr "Coste de Material consumido"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_material_to_consume
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_form_view
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Material to consume"
msgstr "Coste de Material a consumir"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_workorder_estimated
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Workorder estimated"
msgstr "Coste de Orden de trabajo estimado"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_workorder_real
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Workorder real"
msgstr "Coste de Orden de trabajo real"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__display_name
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__display_name
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__id
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__id
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__id
msgid "ID"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,help:mrp_production_cost.field_stock_move__product_standard_cost
msgid ""
"In Standard Price & AVCO: value of the product (automatically computed in AVCO).\n"
" In FIFO: value of the last unit that left the stock (automatically computed).\n"
" Used to value the product when the purchase cost is not known (e.g. inventory adjustment).\n"
" Used to compute margins on sale orders."
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production____last_update
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder____last_update
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__machine_hour_cost
msgid "Machine hour cost"
msgstr "Coste hora máquina"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__material_cost_consumed
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.view_move_tree
msgid "Material cost consumed"
msgstr "Coste de Material consumido"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__material_cost_to_consume
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.view_move_tree
msgid "Material cost to consume"
msgstr "Coste de Material a consumir"

#. module: mrp_production_cost
#: model:ir.model,name:mrp_production_cost.model_mrp_production
msgid "Production Order"
msgstr "Orden de producción"

#. module: mrp_production_cost
#: model:ir.model.fields,help:mrp_production_cost.field_mrp_workorder__machine_hour_cost
msgid "Specify cost of work center per hour."
msgstr "Especificar coste por hora del centro de trabajo"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__product_standard_cost
msgid "Standard Cost"
msgstr "Coste Estándard"

#. module: mrp_production_cost
#: model:ir.model,name:mrp_production_cost.model_stock_move
msgid "Stock Move"
msgstr "Movimiento de existencias"

#. module: mrp_production_cost
#: model:ir.model,name:mrp_production_cost.model_mrp_workorder
msgid "Work Order"
msgstr "Orden de trabajo"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__workorder_cost_estimated
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_workorder_tree_editable_view
msgid "Workorder Cost estimated"
msgstr "Coste de Orden de trabajo estimado"

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__workorder_cost_real
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_workorder_tree_editable_view
msgid "Workorder Cost real"
msgstr "Coste de Orden de trabajo real"
138 changes: 138 additions & 0 deletions mrp_production_cost/i18n/mrp_production_cost.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_production_cost
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-20 13:26+0000\n"
"PO-Revision-Date: 2022-06-20 13:26+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_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_manufacturing_estimated
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Manufacturing estimated"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_manufacturing_real
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Manufacturing real"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_material_consumed
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_form_view
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Material consumed"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_material_to_consume
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_form_view
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Material to consume"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_workorder_estimated
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Workorder estimated"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__cost_workorder_real
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_tree_view
msgid "Cost Workorder real"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__display_name
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__display_name
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__display_name
msgid "Display Name"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production__id
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__id
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__id
msgid "ID"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,help:mrp_production_cost.field_stock_move__product_standard_cost
msgid ""
"In Standard Price & AVCO: value of the product (automatically computed in AVCO).\n"
" In FIFO: value of the last unit that left the stock (automatically computed).\n"
" Used to value the product when the purchase cost is not known (e.g. inventory adjustment).\n"
" Used to compute margins on sale orders."
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_production____last_update
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder____last_update
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move____last_update
msgid "Last Modified on"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__machine_hour_cost
msgid "Machine hour cost"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__material_cost_consumed
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.view_move_tree
msgid "Material cost consumed"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__material_cost_to_consume
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.view_move_tree
msgid "Material cost to consume"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model,name:mrp_production_cost.model_mrp_production
msgid "Production Order"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,help:mrp_production_cost.field_mrp_workorder__machine_hour_cost
msgid "Specify cost of work center per hour."
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_stock_move__product_standard_cost
msgid "Standard Cost"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model,name:mrp_production_cost.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model,name:mrp_production_cost.model_mrp_workorder
msgid "Work Order"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__workorder_cost_estimated
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_workorder_tree_editable_view
msgid "Workorder Cost estimated"
msgstr ""

#. module: mrp_production_cost
#: model:ir.model.fields,field_description:mrp_production_cost.field_mrp_workorder__workorder_cost_real
#: model_terms:ir.ui.view,arch_db:mrp_production_cost.mrp_production_workorder_tree_editable_view
msgid "Workorder Cost real"
msgstr ""
3 changes: 3 additions & 0 deletions mrp_production_cost/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import mrp_production
from . import stock_move
from . import mrp_workorder
Loading

0 comments on commit 0b549db

Please sign in to comment.