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

[MIG] mrp_dynamic_raw_materials #55

Merged
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
77 changes: 77 additions & 0 deletions mrp_dynamic_raw_materials/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
MRP - Dynamic Raw Materials Calculation
========================================

Compute raw materials quantity based on the numeric value of a specific attribute of the product to be produced.

Overview
--------

This module enhances the functionality of the Manufacturing Resource Planning (MRP) module in Odoo. It allows for dynamic computation of raw material quantities based on the numeric value of a specified product attribute. This ensures precision in the production process, especially for products requiring variable input quantities.

Key Features
------------

- Dynamic calculation of raw material quantities.
- Attribute-based computation for flexibility in manufacturing processes.
- Seamless integration with the standard MRP module.

Installation
------------

1. Ensure the `mrp` module is installed in your Odoo environment.
2. Place this module in your custom addons folder.
3. Update your module list and install the "MRP - Dynamic Raw Materials Calculation" module.

Dependencies
------------

This module depends on the following Odoo module:

- **mrp**: The Manufacturing Resource Planning module.

Technical Details
-----------------

- **Version**: 16.0.1.0.0
- **Category**: MRP
- **License**: AGPL-3
- **Author**: CODEQUARTERS, Altinkaya Enclosures
- **Website**: `Altinkaya Open Source Addons <https://github.com/altinkaya-opensource/odoo-addons>`_

Configuration
-------------

No additional configuration is required. Once installed, the module will automatically extend the functionality of the MRP module.

Usage
-----

1. Navigate to the Bill of Materials (BoM) page in the MRP module.
2. Use the provided tools to define the attribute-based raw material calculations.
3. The system will dynamically adjust the required raw material quantities during production.

Credits
-------

- **Author**: CODEQUARTERS, Altinkaya Enclosures
- **Contributors**:
* Ismail Cagan Yilmaz <[email protected]>

License
-------

This program is licensed under the GNU Affero General Public License v3. For details, refer to the `LICENSE <http://www.gnu.org/licenses/agpl-3.0.html>`_ file.

Changelog
---------

**16.0.1.0.0**

- Migration to V16 with dynamic raw material calculation.

Support
-------

For issues or contributions, visit the project's GitHub repository:

`Altinkaya Open Source Addons <https://github.com/altinkaya-opensource/odoo-addons>`_
6 changes: 6 additions & 0 deletions mrp_dynamic_raw_materials/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# Created on Mar 5, 2018
#
# @author: dogan
#
from . import models
36 changes: 36 additions & 0 deletions mrp_dynamic_raw_materials/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
##############################################################################
#
# Copyright (C) 2018, Kod Merkezi Yazılım ve İnternet Hiz. Eğ. Dan. Ltd.
# http://www.codequarters.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

{
"name": "MRP - Dynamic Raw Materials Calculation",
"version": "16.0.1.0.0",
"category": "MRP",
"summary": """Compute raw materials quantity based on the numeric
value of a specific attribute of the product to be produced.""",
"author": "CODEQUARTERS, Altinkaya Enclosures",
"license": "AGPL-3",
"website": "https://github.com/altinkaya-opensource/odoo-addons",
"depends": ["mrp"],
"data": [
"views/mrp_bom_view.xml",
],
"installable": True,
"application": False,
}
53 changes: 53 additions & 0 deletions mrp_dynamic_raw_materials/i18n/mrp_dynamic_raw_materials.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_dynamic_raw_materials
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-19 12:02+0000\n"
"PO-Revision-Date: 2021-02-19 12:02+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_dynamic_raw_materials
#: model:ir.model,name:mrp_dynamic_raw_materials.model_mrp_bom
msgid "Bill of Material"
msgstr ""

#. module: mrp_dynamic_raw_materials
#: model:ir.model,name:mrp_dynamic_raw_materials.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr ""

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,help:mrp_dynamic_raw_materials.field_mrp_bom_line__factor_attribute_id
msgid "End product attribute to use for raw material calculation"
msgstr ""

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,field_description:mrp_dynamic_raw_materials.field_mrp_bom_line__attribute_factor
msgid "Factor"
msgstr ""

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,field_description:mrp_dynamic_raw_materials.field_mrp_bom_line__factor_attribute_id
msgid "Factor Attribute"
msgstr ""

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,help:mrp_dynamic_raw_materials.field_mrp_bom_line__attribute_factor
msgid "Factor to multiply by the numeric value of attribute"
msgstr ""

#. module: mrp_dynamic_raw_materials
#: code:addons/mrp_dynamic_raw_materials/models/mrp_bom.py:144
#, python-format
msgid "Recursion error! A product with a Bill of Material should not have itself in its BoM or child BoMs!"
msgstr ""

53 changes: 53 additions & 0 deletions mrp_dynamic_raw_materials/i18n/tr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * mrp_dynamic_raw_materials
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-02-19 12:03+0000\n"
"PO-Revision-Date: 2021-02-19 12:03+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_dynamic_raw_materials
#: model:ir.model,name:mrp_dynamic_raw_materials.model_mrp_bom
msgid "Bill of Material"
msgstr "Ürün Ağacı"

#. module: mrp_dynamic_raw_materials
#: model:ir.model,name:mrp_dynamic_raw_materials.model_mrp_bom_line
msgid "Bill of Material Line"
msgstr "Ürün Ağacı Satırları"

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,help:mrp_dynamic_raw_materials.field_mrp_bom_line__factor_attribute_id
msgid "End product attribute to use for raw material calculation"
msgstr "Hammadde hesabında kullanılacak son ürün özelliği"

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,field_description:mrp_dynamic_raw_materials.field_mrp_bom_line__attribute_factor
msgid "Factor"
msgstr "Çarpan"

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,field_description:mrp_dynamic_raw_materials.field_mrp_bom_line__factor_attribute_id
msgid "Factor Attribute"
msgstr "Çarpan Özelliği"

#. module: mrp_dynamic_raw_materials
#: model:ir.model.fields,help:mrp_dynamic_raw_materials.field_mrp_bom_line__attribute_factor
msgid "Factor to multiply by the numeric value of attribute"
msgstr "Ürün Özelliğinin sayısal değeri çarpılacak değer"

#. module: mrp_dynamic_raw_materials
#: code:addons/mrp_dynamic_raw_materials/models/mrp_bom.py:144
#, python-format
msgid "Recursion error! A product with a Bill of Material should not have itself in its BoM or child BoMs!"
msgstr "Yineleme hatası! Ürün reçetesi olan bir ürün, ürün reçetesinde veya alt ürün reçetelerinde bulunmamalıdır!"

5 changes: 5 additions & 0 deletions mrp_dynamic_raw_materials/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# Created on Mar 5, 2018
#
# @author: dogan
from . import mrp_bom
Loading
Loading