Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] modul mrp_cost #264

Open
wants to merge 18 commits into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions deltatech_mrp_cost/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
========
MRP Cost
========

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-dhongu%2Fdeltatech-lightgray.png?logo=github
:target: https://github.com/dhongu/deltatech/tree/14.0/deltatech_mrp_cost
:alt: dhongu/deltatech

|badge1| |badge2| |badge3|


Features:
- Calculeaza pretul de productie ca fiind pretul real al componentelor
- Asigneaza un picking pentru materialele consumate si unul pentru cele receptionate
- Inregistrare costuri de servicii prestate de terti
- variantele au acelasi pret

- Computes price of production as being the real price of the components
- Asigns a picking for consumed materials and one for the receptioned ones
- Registration of services costs provided by third parties
- the variants have the same price


De testat cum functioneaza cu mrp_account instalat

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/dhongu/deltatech/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/dhongu/deltatech/issues/new?body=module:%20deltatech_mrp_cost%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Terrabit
* Dorin Hongu

Maintainers
~~~~~~~~~~~

.. |maintainer-dhongu| image:: https://github.com/dhongu.png?size=40px
:target: https://github.com/dhongu
:alt: dhongu

Current maintainer:

|maintainer-dhongu|

This module is part of the `dhongu/deltatech <https://github.com/dhongu/deltatech/tree/14.0/deltatech_mrp_cost>`_ project on GitHub.

You are welcome to contribute.
6 changes: 6 additions & 0 deletions deltatech_mrp_cost/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# © 2015-2021 Deltatech
# Dorin Hongu <dhongu(@)gmail(.)com
# See README.rst file on addons root folder for license details


from . import models
23 changes: 23 additions & 0 deletions deltatech_mrp_cost/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# © 2015-2021 Deltatech
# Dorin Hongu <dhongu(@)gmail(.)com
# See README.rst file on addons root folder for license details
{
"name": "MRP Cost",
"summary": "MRP Cost",
"version": "14.0.2.0.0",
"author": "Terrabit, Dorin Hongu",
"website": "https://www.terrabit.ro",
"category": "Manufacturing",
"depends": ["mrp", "stock", "sale", "product", "deltatech_warehouse", "deltatech_purchase_price"],
"license": "LGPL-3",
"data": [
"views/mrp_view.xml",
"data/mrp_data.xml",
"views/mrp_production_templates.xml",
"views/mrp_workcenter_view.xml",
"views/product_view.xml",
],
"images": ["static/description/main_screenshot.png"],
"development_status": "Beta",
"maintainers": ["dhongu"],
}
41 changes: 41 additions & 0 deletions deltatech_mrp_cost/data/mrp_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="1">
<!--
<record id="stock.seq_picking_consume" model="ir.sequence">
<field name="name">Sequence Consume</field>
<field name="code">stock.picking</field>
<field name="prefix">CONS/</field>
<field name="padding">5</field>
<field name="number_next">1</field>
<field name="number_increment">1</field>
</record>

<record id="stock.picking_type_consume" model="stock.picking.type">
<field name="name">Consume</field>
<field name="code">internal</field>
<field name="sequence_id" ref="stock.seq_picking_consume"/>
<field name="default_location_src_id" ref="stock.stock_location_stock"/>
<field name="default_location_dest_id" ref="stock.location_production"/>
</record>


<record id="stock.seq_receipt_production" model="ir.sequence">
<field name="name">Sequence receipt production</field>
<field name="code">stock.picking</field>
<field name="prefix">RP/</field>
<field name="padding">5</field>
<field name="number_next">1</field>
<field name="number_increment">1</field>
</record>

<record id="stock.picking_type_receipt_production" model="stock.picking.type">
<field name="name">Receipt from production</field>
<field name="code">internal</field>
<field name="sequence_id" ref="stock.seq_receipt_production"/>
<field name="default_location_src_id" ref="stock.location_production"/>
<field name="default_location_dest_id" ref="stock.stock_location_stock"/>
</record>
-->
</data>
</odoo>
151 changes: 151 additions & 0 deletions deltatech_mrp_cost/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * deltatech_mrp_cost
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0-20190607\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-07-08 09:15+0000\n"
"PO-Revision-Date: 2019-07-08 09:15+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: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.report_mrporder
msgid "<strong>Amount</strong>"
msgstr "<strong>Total</strong>"

#. module: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.report_mrporder
msgid "<strong>Effective Quantity</strong>"
msgstr "<strong>Cantidad Efectiva</strong>"

#. module: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.report_mrporder
msgid "<strong>Price</strong>"
msgstr "<strong>Precio</strong>"

#. module: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.report_mrporder
msgid "<strong>Product</strong>"
msgstr "<strong>Producto</strong>"

#. module: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.report_mrporder
msgid "<strong>Quantity</strong>"
msgstr "<strong>Cantidad</strong>"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_mrp_production__acc_move_line_ids
msgid "Account move lines"
msgstr "Apuntes contables"

#. module: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.mrp_production_acc_form_view
msgid "Accounting Entries"
msgstr "Asientos contables"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_mrp_workcenter__costs_hour_account_id
msgid "Analytic Account"
msgstr "Cuenta analítica"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_mrp_production__calculate_price
msgid "Calculate Price"
msgstr "Precio calculado"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,help:deltatech_mrp_cost.field_stock_move__qty_available
msgid "Current quantity of products.\n"
"In a context with a single Stock Location, this includes goods stored at this Location, or any of its children.\n"
"In a context with a single Warehouse, this includes goods stored in the Stock Location of this Warehouse, or any of its children.\n"
"stored in the Stock Location of the Warehouse of this Shop, or any of its children.\n"
"Otherwise, this includes goods stored in any Stock Location with 'internal' type."
msgstr "Cantidad actual de los productos.\n"
"En un contexto de una sola ubicación de Stock, esto incluye los bienes almacenados en esta ubicación, o cualquiera de sus hijas.\n"
"En un contexto de un solo almacén, esto incluye los bienes almacenados en la ubicación de Stock de ese almacén, o cualquiera de sus hijas.\n"
"En cualquier otro caso, esto incluye los bienes almacenados en cualquier ubicación de Stock de tipo 'Interna'."

#. module: deltatech_mrp_cost
#: model:ir.model.fields,help:deltatech_mrp_cost.field_mrp_workcenter__costs_hour_account_id
msgid "Fill this only if you want automatic analytic accounting entries on production orders."
msgstr "Rellena esto sólo si quieres entradas analíticas en las listas de producción"

#. module: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.report_mrporder
msgid "Finished Products"
msgstr "Productos finalizados"

#. module: deltatech_mrp_cost
#: code:addons/deltatech_mrp_cost/models/mrp_production.py:136
#, python-format
msgid "Invoice %s is not validated"
msgstr "Factura %s no ha sido validada"

#. module: deltatech_mrp_cost
#: model:ir.model,name:deltatech_mrp_cost.model_account_move_line
msgid "Journal Item"
msgstr "Apunte contable"

#. module: deltatech_mrp_cost
#: code:addons/deltatech_mrp_cost/models/mrp_production.py:133
#, python-format
msgid "Order %s is not invoiced"
msgstr "Pedido %s no ha sido facturado"

#. module: deltatech_mrp_cost
#: model_terms:ir.ui.view,arch_db:deltatech_mrp_cost.mrp_production_form_view
msgid "Picking"
msgstr "Albarán"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_account_move_line__production_id
msgid "Production"
msgstr "Producción"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_mrp_production__amount
msgid "Production Amount"
msgstr "Total Producción"

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

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_stock_move__qty_available
msgid "Quantity On Hand"
msgstr "Cantidad a mano"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_mrp_production__service_amount
msgid "Service Amount"
msgstr "Total Servicios"

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

#. module: deltatech_mrp_cost
#: model:ir.model,name:deltatech_mrp_cost.model_stock_picking
msgid "Transfer"
msgstr "Transferir"

#. module: deltatech_mrp_cost
#: model:ir.model,name:deltatech_mrp_cost.model_mrp_workcenter
msgid "Work Center"
msgstr "Centro de producción"

#. module: deltatech_mrp_cost
#: model:ir.model,name:deltatech_mrp_cost.model_mrp_routing_workcenter
msgid "Work Center Usage"
msgstr "Utilización del centro de producción"

32 changes: 32 additions & 0 deletions deltatech_mrp_cost/i18n/ro.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * deltatech_mrp_cost
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-22 07:25+0000\n"
"PO-Revision-Date: 2017-04-22 07:25+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_mrp_production_calculate_price
msgid "Calculate Price"
msgstr "Preț calculat"

#. module: deltatech_mrp_cost
#: model:ir.model,name:deltatech_mrp_cost.model_mrp_production
msgid "Manufacturing Order"
msgstr "Comandă producție"

#. module: deltatech_mrp_cost
#: model:ir.model.fields,field_description:deltatech_mrp_cost.field_mrp_production_amount
msgid "Production Amount"
msgstr "Valoare producție"

6 changes: 6 additions & 0 deletions deltatech_mrp_cost/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# © 2015-2021 Deltatech
# Dorin Hongu <dhongu(@)gmail(.)com
# See README.rst file on addons root folder for license details


from . import mrp_production, mrp_routing, mrp_workcenter, product_category, stock_move, stock_picking
Loading