Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,44 @@
# DDMRP Report Part Flow Index
Odoo addon: ddmrp_report_part_flow_index
## Installation
```bash
pip install odoo-bringout-oca-ddmrp-ddmrp_report_part_flow_index
```
## Dependencies
This addon depends on:
- ddmrp
## Manifest Information
- **Name**: DDMRP Report Part Flow Index
- **Version**: 16.0.1.3.0
- **Category**: Warehouse Management
- **License**: LGPL-3
- **Installable**: True
## Source
Based on [OCA/ddmrp](https://github.com/OCA/ddmrp) branch 16.0, addon `ddmrp_report_part_flow_index`.
## License
This package maintains the original LGPL-3 license from the upstream Odoo project.
## Documentation
- Overview: doc/OVERVIEW.md
- Architecture: doc/ARCHITECTURE.md
- Models: doc/MODELS.md
- Controllers: doc/CONTROLLERS.md
- Wizards: doc/WIZARDS.md
- Install: doc/INSTALL.md
- Usage: doc/USAGE.md
- Configuration: doc/CONFIGURATION.md
- Dependencies: doc/DEPENDENCIES.md
- Troubleshooting: doc/TROUBLESHOOTING.md
- FAQ: doc/FAQ.md

View file

@ -0,0 +1,114 @@
============================
DDMRP Report Part Flow Index
============================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9a07769dc305cefc998a5a1c6686aafecc0a98f13c5835ef9fa0d2a6b1154d9a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-OCA%2Fddmrp-lightgray.png?logo=github
:target: https://github.com/OCA/ddmrp/tree/16.0/ddmrp_report_part_flow_index
:alt: OCA/ddmrp
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/ddmrp-16-0/ddmrp-16-0-ddmrp_report_part_flow_index
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/ddmrp&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
Implements the Parts Flow Index Report.
**Table of contents**
.. contents::
:local:
Configuration
=============
* Go to *Inventory > Configuration > DDMRP > Flow Index Group* to
define possible groups to analyze on.
* Go to *Inventory > Master Data > Stock Buffer Planning* and assign
the Flow Index Group to Buffers.
Usage
=====
Go to *Inventory > Reporting > Parts Plan Flow Index* to run the report.
Known issues / Roadmap
======================
* Add Parts Actual Flow Index report
Changelog
=========
11.0.1.0.0 (2018-08-01)
~~~~~~~~~~~~~~~~~~~~~~~
* Start of the history
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/ddmrp/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/ddmrp/issues/new?body=module:%20ddmrp_report_part_flow_index%0Aversion:%2016.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
~~~~~~~
* ForgeFlow
Contributors
~~~~~~~~~~~~
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* Lois Rilo Antelo <lois.rilo@forgeflow.com>
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
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.
.. |maintainer-JordiBForgeFlow| image:: https://github.com/JordiBForgeFlow.png?size=40px
:target: https://github.com/JordiBForgeFlow
:alt: JordiBForgeFlow
.. |maintainer-LoisRForgeFlow| image:: https://github.com/LoisRForgeFlow.png?size=40px
:target: https://github.com/LoisRForgeFlow
:alt: LoisRForgeFlow
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|maintainer-JordiBForgeFlow| |maintainer-LoisRForgeFlow|
This module is part of the `OCA/ddmrp <https://github.com/OCA/ddmrp/tree/16.0/ddmrp_report_part_flow_index>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

View file

@ -0,0 +1,2 @@
from . import models
from . import reports

View file

@ -0,0 +1,25 @@
# Copyright 2017-24 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
{
"name": "DDMRP Report Part Flow Index",
"summary": "Provides the DDMRP Parts Flow Index Report",
"version": "16.0.1.3.0",
"development_status": "Beta",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"maintainers": ["JordiBForgeFlow", "LoisRForgeFlow"],
"website": "https://github.com/OCA/ddmrp",
"category": "Warehouse Management",
"depends": [
"ddmrp",
],
"data": [
"security/ir.model.access.csv",
"security/report_ddmrp_part_plan_flow_index_security.xml",
"reports/report_ddmrp_part_plan_flow_index_views.xml",
"views/ddmrp_flow_index_group_views.xml",
"views/stock_buffer_view.xml",
],
"license": "LGPL-3",
"installable": True,
}

View file

@ -0,0 +1,180 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * ddmrp_report_part_flow_index
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \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: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__active
msgid "Active"
msgstr "Aktivan"
#. module: ddmrp_report_part_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_form
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_search
msgid "Archived"
msgstr "Arhivirano"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__adu
msgid "Average Daily Usage (ADU)"
msgstr "Prosječna dnevna upotreba (ADU)"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__buffer_id
msgid "Buffer"
msgstr "Bafer"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__company_id
msgid "Company"
msgstr "Preduzeće"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: ddmrp_report_part_flow_index
#: model:ir.actions.act_window,name:ddmrp_report_part_flow_index.action_ddmrp_flow_index_group
#: model:ir.model,name:ddmrp_report_part_flow_index.model_ddmrp_flow_index_group
msgid "DDMRP Flow Index Group"
msgstr "DDMRP grupa indeksa protoka"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__display_name
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__display_name
msgid "Display Name"
msgstr "Prikazani naziv"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__flow_index_group_id
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_stock_buffer__flow_index_group_id
#: model:ir.ui.menu,name:ddmrp_report_part_flow_index.menu_ddmrp_flow_index_group
msgid "Flow Index Group"
msgstr "Grupa indeksa protoka"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__green_zone_qty
msgid "Green Zone Qty"
msgstr "Količina zelene zone"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__id
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__id
msgid "ID"
msgstr "ID"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group____last_update
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index____last_update
msgid "Last Modified on"
msgstr "Zadnje mijenjano"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__write_date
msgid "Last Updated on"
msgstr "Zadnje ažurirano"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__location_id
msgid "Location"
msgstr "Lokacija"
#. module: ddmrp_report_part_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_form
msgid "Log a description..."
msgstr "Zapis opisa..."
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__lower_range
msgid "Lower Range"
msgstr "Donji opseg"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,help:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__lower_range
msgid "Lower range used to assign in stock buffer"
msgstr "Donji opseg koji se koristi za dodjeljivanje u skladišni bafer"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__name
msgid "Name"
msgstr "Naziv:"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency
msgid "Order Frequency"
msgstr "Frekvencija narudžbe"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency_group
msgid "Order Frequency Group"
msgstr "Grupa frekvencije narudžbe"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency_group_count
msgid "Order Frequency Group Count"
msgstr "Broj grupa frekvencije narudžbe"
#. module: ddmrp_report_part_flow_index
#: model:ir.actions.act_window,name:ddmrp_report_part_flow_index.action_report_part_plan_flow_index_template
#: model:ir.ui.menu,name:ddmrp_report_part_flow_index.menu_report_part_plan_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_filter
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_graph
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_pivot
msgid "Parts Plan Flow Index"
msgstr "Indeks protoka plana dijelova"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__product_id
msgid "Product"
msgstr "Artikal"
#. module: ddmrp_report_part_flow_index
#: model:ir.model,name:ddmrp_report_part_flow_index.model_report_ddmrp_part_plan_flow_index
msgid "Report DDMRP Plan Flow Index"
msgstr "Izvještaj DDMRP indeksa protoka plana"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__sequence
msgid "Sequence"
msgstr "Sekvenca"
#. module: ddmrp_report_part_flow_index
#: model:ir.model,name:ddmrp_report_part_flow_index.model_stock_buffer
msgid "Stock Buffer"
msgstr "Skladišni bafer"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__summary
msgid "Summary"
msgstr "Sažetak"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__upper_range
msgid "Upper Range"
msgstr "Gornji opseg"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,help:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__upper_range
msgid "Upper range used to assign in stock buffer"
msgstr "Gornji opseg koji se koristi za dodjeljivanje u skladišni bafer"

View file

@ -0,0 +1,180 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * ddmrp_report_part_flow_index
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \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: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__active
msgid "Active"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_form
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_search
msgid "Archived"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__adu
msgid "Average Daily Usage (ADU)"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__buffer_id
msgid "Buffer"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__company_id
msgid "Company"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__create_uid
msgid "Created by"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__create_date
msgid "Created on"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.actions.act_window,name:ddmrp_report_part_flow_index.action_ddmrp_flow_index_group
#: model:ir.model,name:ddmrp_report_part_flow_index.model_ddmrp_flow_index_group
msgid "DDMRP Flow Index Group"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__display_name
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__display_name
msgid "Display Name"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__flow_index_group_id
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_stock_buffer__flow_index_group_id
#: model:ir.ui.menu,name:ddmrp_report_part_flow_index.menu_ddmrp_flow_index_group
msgid "Flow Index Group"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__green_zone_qty
msgid "Green Zone Qty"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__id
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__id
msgid "ID"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group____last_update
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index____last_update
msgid "Last Modified on"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__write_uid
msgid "Last Updated by"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__write_date
msgid "Last Updated on"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__location_id
msgid "Location"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_form
msgid "Log a description..."
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__lower_range
msgid "Lower Range"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,help:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__lower_range
msgid "Lower range used to assign in stock buffer"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__name
msgid "Name"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency
msgid "Order Frequency"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency_group
msgid "Order Frequency Group"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency_group_count
msgid "Order Frequency Group Count"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.actions.act_window,name:ddmrp_report_part_flow_index.action_report_part_plan_flow_index_template
#: model:ir.ui.menu,name:ddmrp_report_part_flow_index.menu_report_part_plan_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_filter
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_graph
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_pivot
msgid "Parts Plan Flow Index"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__product_id
msgid "Product"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model,name:ddmrp_report_part_flow_index.model_report_ddmrp_part_plan_flow_index
msgid "Report DDMRP Plan Flow Index"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__sequence
msgid "Sequence"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model,name:ddmrp_report_part_flow_index.model_stock_buffer
msgid "Stock Buffer"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__summary
msgid "Summary"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__upper_range
msgid "Upper Range"
msgstr ""
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,help:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__upper_range
msgid "Upper range used to assign in stock buffer"
msgstr ""

View file

@ -0,0 +1,189 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * ddmrp_report_part_flow_index
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-01-15 11:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.6.2\n"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__active
msgid "Active"
msgstr "Attivo"
#. module: ddmrp_report_part_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_form
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_search
msgid "Archived"
msgstr "In archivio"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__adu
msgid "Average Daily Usage (ADU)"
msgstr "Utilizzo medio giornaliero (UMG)"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__buffer_id
msgid "Buffer"
msgstr "Buffer"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__company_id
msgid "Company"
msgstr "Azienda"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__create_uid
msgid "Created by"
msgstr "Creato da"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__create_date
msgid "Created on"
msgstr "Creato il"
#. module: ddmrp_report_part_flow_index
#: model:ir.actions.act_window,name:ddmrp_report_part_flow_index.action_ddmrp_flow_index_group
#: model:ir.model,name:ddmrp_report_part_flow_index.model_ddmrp_flow_index_group
msgid "DDMRP Flow Index Group"
msgstr "Gruppo indice flusso DDMRP"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__display_name
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__display_name
msgid "Display Name"
msgstr "Nome visualizzato"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__flow_index_group_id
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_stock_buffer__flow_index_group_id
#: model:ir.ui.menu,name:ddmrp_report_part_flow_index.menu_ddmrp_flow_index_group
msgid "Flow Index Group"
msgstr "Gruppo indice flusso"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__green_zone_qty
msgid "Green Zone Qty"
msgstr "Q.tà zona verde"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__id
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__id
msgid "ID"
msgstr "ID"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group____last_update
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__location_id
msgid "Location"
msgstr "Ubicazione"
#. module: ddmrp_report_part_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_ddmrp_flow_index_group_form
msgid "Log a description..."
msgstr "Registra una descrizione..."
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__lower_range
msgid "Lower Range"
msgstr "Intervallo inferiore"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,help:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__lower_range
msgid "Lower range used to assign in stock buffer"
msgstr "Intervallo inferiore utilizzato per assegnare buffer di magazzino"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__name
msgid "Name"
msgstr "Nome"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency
msgid "Order Frequency"
msgstr "Frequenza ordine"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency_group
msgid "Order Frequency Group"
msgstr "Gruppo frequenza ordine"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__order_frequency_group_count
msgid "Order Frequency Group Count"
msgstr "Conteggio gruppo frequenza ordine"
#. module: ddmrp_report_part_flow_index
#: model:ir.actions.act_window,name:ddmrp_report_part_flow_index.action_report_part_plan_flow_index_template
#: model:ir.ui.menu,name:ddmrp_report_part_flow_index.menu_report_part_plan_flow_index
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_filter
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_graph
#: model_terms:ir.ui.view,arch_db:ddmrp_report_part_flow_index.view_part_plan_flow_index_pivot
msgid "Parts Plan Flow Index"
msgstr "Indice flusso piano parti"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_report_ddmrp_part_plan_flow_index__product_id
msgid "Product"
msgstr "Prodotto"
#. module: ddmrp_report_part_flow_index
#: model:ir.model,name:ddmrp_report_part_flow_index.model_report_ddmrp_part_plan_flow_index
msgid "Report DDMRP Plan Flow Index"
msgstr "Resoconto DDMRP indice flusso piano"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__sequence
msgid "Sequence"
msgstr "Sequenza"
#. module: ddmrp_report_part_flow_index
#: model:ir.model,name:ddmrp_report_part_flow_index.model_stock_buffer
msgid "Stock Buffer"
msgstr "Buffer di materiale"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__summary
msgid "Summary"
msgstr "Riepilogo"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,field_description:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__upper_range
msgid "Upper Range"
msgstr "Intervallo superiore"
#. module: ddmrp_report_part_flow_index
#: model:ir.model.fields,help:ddmrp_report_part_flow_index.field_ddmrp_flow_index_group__upper_range
msgid "Upper range used to assign in stock buffer"
msgstr "Intervallo superiore utilizzato per assegnare buffer di magazzino"
#~ msgid "ddmrp.flow.index.group"
#~ msgstr "ddmrp.flow.index.group"
#~ msgid "report.ddmrp.part.plan.flow.index"
#~ msgstr "report.ddmrp.part.plan.flow.index"

View file

@ -0,0 +1,2 @@
from . import ddmrp_flow_index_group
from . import stock_buffer

View file

@ -0,0 +1,21 @@
# Copyright 2017-24 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
class DdmrpFlowIndexGroup(models.Model):
_name = "ddmrp.flow.index.group"
_order = "sequence, id"
_description = "DDMRP Flow Index Group"
name = fields.Char(required=True)
summary = fields.Text()
active = fields.Boolean(default=True)
lower_range = fields.Float(help="Lower range used to assign in stock buffer")
upper_range = fields.Float(help="Upper range used to assign in stock buffer")
sequence = fields.Integer(required=True)
def toggle_active(self):
for record in self:
record.active = not record.active

View file

@ -0,0 +1,50 @@
# Copyright 2017-24 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import fields, models
class StockBuffer(models.Model):
_inherit = "stock.buffer"
flow_index_group_id = fields.Many2one(
"ddmrp.flow.index.group", string="Flow Index Group", readonly=True
)
def _calc_flow_index_group_id(self):
flow_index_reports = self.env["report.ddmrp.part.plan.flow.index"].read_group(
domain=[("buffer_id", "in", self.ids)],
fields=["order_frequency_group"],
groupby=["buffer_id"],
)
flow_index_groups = self.env["ddmrp.flow.index.group"].search([])
for rec in self:
flow_index_report = list(
filter(lambda x: x["buffer_id"][0] == rec.id, flow_index_reports)
)
if not flow_index_report:
continue
frequency_group = flow_index_report[0]["order_frequency_group"]
for index_group in flow_index_groups:
if index_group.upper_range and index_group.lower_range:
if (
index_group.lower_range
<= frequency_group
<= index_group.upper_range
):
rec.flow_index_group_id = index_group
break
elif index_group.upper_range:
if index_group.upper_range >= frequency_group:
rec.flow_index_group_id = index_group
break
elif index_group.lower_range:
if frequency_group >= index_group.lower_range:
rec.flow_index_group_id = index_group
break
def cron_actions(self, only_nfp=False):
res = super().cron_actions(only_nfp=only_nfp)
self._calc_flow_index_group_id()
return res

View file

@ -0,0 +1,4 @@
* Go to *Inventory > Configuration > DDMRP > Flow Index Group* to
define possible groups to analyze on.
* Go to *Inventory > Master Data > Stock Buffer Planning* and assign
the Flow Index Group to Buffers.

View file

@ -0,0 +1,2 @@
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
* Lois Rilo Antelo <lois.rilo@forgeflow.com>

View file

@ -0,0 +1 @@
Implements the Parts Flow Index Report.

View file

@ -0,0 +1,4 @@
11.0.1.0.0 (2018-08-01)
~~~~~~~~~~~~~~~~~~~~~~~
* Start of the history

View file

@ -0,0 +1 @@
* Add Parts Actual Flow Index report

View file

@ -0,0 +1 @@
Go to *Inventory > Reporting > Parts Plan Flow Index* to run the report.

View file

@ -0,0 +1 @@
from . import report_ddmrp_part_plan_flow_index

View file

@ -0,0 +1,89 @@
# Copyright 2017-24 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from odoo import api, fields, models
class ReportDdmrpPartsPlanFlowIndex(models.Model):
_name = "report.ddmrp.part.plan.flow.index"
_description = "Report DDMRP Plan Flow Index"
_auto = False
buffer_id = fields.Many2one("stock.buffer", string="Buffer", readonly=True)
product_id = fields.Many2one("product.product", string="Product", readonly=True)
location_id = fields.Many2one("stock.location", string="Location", readonly=True)
company_id = fields.Many2one("res.company", string="Company", readonly=True)
adu = fields.Float(
string="Average Daily Usage (ADU)",
default=0.0,
digits="Average Daily Usage",
readonly=True,
)
green_zone_qty = fields.Float(digits="Product Unit of Measure", readonly=True)
order_frequency = fields.Float(digits="Product Unit of Measure", readonly=True)
order_frequency_group = fields.Integer(readonly=True)
order_frequency_group_count = fields.Integer(readonly=True)
flow_index_group_id = fields.Many2one(
"ddmrp.flow.index.group", string="Flow Index Group", readonly=True
)
@api.model
def _sub_select(self):
select_str = """
id,
product_id,
location_id,
company_id,
adu,
flow_index_group_id,
green_zone_qty,
green_zone_qty/NULLIF(adu, 0) as order_frequency,
round(green_zone_qty/NULLIF(adu, 0)) AS
order_frequency_group
"""
return select_str
@api.model
def _select(self):
select_str = """
a.id as id,
a.id as buffer_id,
a.product_id as product_id,
a.location_id as location_id,
a.company_id as company_id,
a.adu as adu,
a.flow_index_group_id as flow_index_group_id,
a.green_zone_qty as green_zone_qty,
a.order_frequency as order_frequency,
a.order_frequency_group as order_frequency_group,
b.order_frequency_group_count
"""
return select_str
@api.model
def _join_select(self):
select_str = """
order_frequency_group,
count(*) AS order_frequency_group_count
"""
return select_str
@property
def _table_query(self):
return """
WITH a AS
(SELECT %s
FROM stock_buffer)
SELECT
%s
FROM a
JOIN (SELECT
%s
FROM a
GROUP BY order_frequency_group
) AS b
ON a.order_frequency_group = b.order_frequency_group
""" % (
self._sub_select(),
self._select(),
self._join_select(),
)

View file

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 ForgeFlow S.L. (https://www.forgeflow.com)
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo>
<record id="view_part_plan_flow_index_pivot" model="ir.ui.view">
<field name="name">view.ddmrp.part.plan.flow.index.pivot</field>
<field name="model">report.ddmrp.part.plan.flow.index</field>
<field name="arch" type="xml">
<pivot string="Parts Plan Flow Index">
<field name="product_id" type="row" />
<field name="order_frequency_group" type="measure" />
</pivot>
</field>
</record>
<record id="view_part_plan_flow_index_graph" model="ir.ui.view">
<field name="name">view.ddmrp.part.plan.flow.index.pivot.graph</field>
<field name="model">report.ddmrp.part.plan.flow.index</field>
<field name="arch" type="xml">
<graph string="Parts Plan Flow Index" type="bar">
<field name="order_frequency_group" type="row" />
</graph>
</field>
</record>
<record id="view_part_plan_flow_index_tree" model="ir.ui.view">
<field name="name">view.ddmrp.part.plan.flow.index.pivot.tree</field>
<field name="model">report.ddmrp.part.plan.flow.index</field>
<field name="arch" type="xml">
<tree name="Parts Plan Flow Index">
<field name="buffer_id" />
<field name="product_id" />
<field name="location_id" />
<field name="green_zone_qty" />
<field name="adu" />
<field name="flow_index_group_id" />
<field name="order_frequency" />
<field name="order_frequency_group" />
<field name="order_frequency_group_count" />
<field
name="company_id"
groups="base.group_multi_company"
optional="hide"
/>
</tree>
</field>
</record>
<record id="view_part_plan_flow_index_filter" model="ir.ui.view">
<field name="name">view.ddmrp.part.plan.flow.index.pivot.filter</field>
<field name="model">report.ddmrp.part.plan.flow.index</field>
<field name="arch" type="xml">
<search string="Parts Plan Flow Index">
<field name="product_id" />
<field name="buffer_id" />
<field name="location_id" />
<field name="order_frequency_group" />
<field name="flow_index_group_id" />
</search>
</field>
</record>
<record
id="action_report_part_plan_flow_index_template"
model="ir.actions.act_window"
>
<field name="name">Parts Plan Flow Index</field>
<field name="res_model">report.ddmrp.part.plan.flow.index</field>
<field name="view_mode">graph,tree,pivot</field>
<field name="search_view_id" ref="view_part_plan_flow_index_filter" />
<field name="view_id" ref="view_part_plan_flow_index_graph" />
</record>
<menuitem
id="menu_report_part_plan_flow_index"
action="action_report_part_plan_flow_index_template"
name="Parts Plan Flow Index"
parent="stock.menu_warehouse_report"
groups="stock.group_stock_manager"
/>
</odoo>

View file

@ -0,0 +1,4 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_ddmrp_flow_index_group,ddmrp.flow.index.group,model_ddmrp_flow_index_group,ddmrp.group_stock_buffer_maintainer,1,0,0,0
access_ddmrp_flow_index_group_manager,ddmrp.flow.index.group,model_ddmrp_flow_index_group,ddmrp.group_ddmrp_manager,1,1,1,1
access_report_ddmrp_part_plan_flow_index,ddmrp.part.plan.flow.index,model_report_ddmrp_part_plan_flow_index,ddmrp.group_stock_buffer_maintainer,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_ddmrp_flow_index_group ddmrp.flow.index.group model_ddmrp_flow_index_group ddmrp.group_stock_buffer_maintainer 1 0 0 0
3 access_ddmrp_flow_index_group_manager ddmrp.flow.index.group model_ddmrp_flow_index_group ddmrp.group_ddmrp_manager 1 1 1 1
4 access_report_ddmrp_part_plan_flow_index ddmrp.part.plan.flow.index model_report_ddmrp_part_plan_flow_index ddmrp.group_stock_buffer_maintainer 1 0 0 0

View file

@ -0,0 +1,10 @@
<odoo>
<record model="ir.rule" id="report_ddmrp_part_plan_flow_index_comp_rule">
<field name="name">Report DDMRP Part Plan Flow Index multi-company</field>
<field name="model_id" ref="model_report_ddmrp_part_plan_flow_index" />
<field name="global" eval="True" />
<field
name="domain_force"
>['|',('company_id','=',False),('company_id', 'in', company_ids)]</field>
</record>
</odoo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -0,0 +1,458 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>DDMRP Report Part Flow Index</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
/* used to remove borders from tables and images */
.borderless, table.borderless td, table.borderless th {
border: 0 }
table.borderless td, table.borderless th {
/* Override padding for "table.docutils td" with "! important".
The right padding separates the table cells. */
padding: 0 0.5em 0 0 ! important }
.first {
/* Override more specific margin styles with "! important". */
margin-top: 0 ! important }
.last, .with-subtitle {
margin-bottom: 0 ! important }
.hidden {
display: none }
.subscript {
vertical-align: sub;
font-size: smaller }
.superscript {
vertical-align: super;
font-size: smaller }
a.toc-backref {
text-decoration: none ;
color: black }
blockquote.epigraph {
margin: 2em 5em ; }
dl.docutils dd {
margin-bottom: 0.5em }
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
overflow: hidden;
}
/* Uncomment (and remove this text!) to get bold-faced definition list terms
dl.docutils dt {
font-weight: bold }
*/
div.abstract {
margin: 2em 5em }
div.abstract p.topic-title {
font-weight: bold ;
text-align: center }
div.admonition, div.attention, div.caution, div.danger, div.error,
div.hint, div.important, div.note, div.tip, div.warning {
margin: 2em ;
border: medium outset ;
padding: 1em }
div.admonition p.admonition-title, div.hint p.admonition-title,
div.important p.admonition-title, div.note p.admonition-title,
div.tip p.admonition-title {
font-weight: bold ;
font-family: sans-serif }
div.attention p.admonition-title, div.caution p.admonition-title,
div.danger p.admonition-title, div.error p.admonition-title,
div.warning p.admonition-title, .code .error {
color: red ;
font-weight: bold ;
font-family: sans-serif }
/* Uncomment (and remove this text!) to get reduced vertical space in
compound paragraphs.
div.compound .compound-first, div.compound .compound-middle {
margin-bottom: 0.5em }
div.compound .compound-last, div.compound .compound-middle {
margin-top: 0.5em }
*/
div.dedication {
margin: 2em 5em ;
text-align: center ;
font-style: italic }
div.dedication p.topic-title {
font-weight: bold ;
font-style: normal }
div.figure {
margin-left: 2em ;
margin-right: 2em }
div.footer, div.header {
clear: both;
font-size: smaller }
div.line-block {
display: block ;
margin-top: 1em ;
margin-bottom: 1em }
div.line-block div.line-block {
margin-top: 0 ;
margin-bottom: 0 ;
margin-left: 1.5em }
div.sidebar {
margin: 0 0 0.5em 1em ;
border: medium outset ;
padding: 1em ;
background-color: #ffffee ;
width: 40% ;
float: right ;
clear: right }
div.sidebar p.rubric {
font-family: sans-serif ;
font-size: medium }
div.system-messages {
margin: 5em }
div.system-messages h1 {
color: red }
div.system-message {
border: medium outset ;
padding: 1em }
div.system-message p.system-message-title {
color: red ;
font-weight: bold }
div.topic {
margin: 2em }
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
margin-top: 0.4em }
h1.title {
text-align: center }
h2.subtitle {
text-align: center }
hr.docutils {
width: 75% }
img.align-left, .figure.align-left, object.align-left, table.align-left {
clear: left ;
float: left ;
margin-right: 1em }
img.align-right, .figure.align-right, object.align-right, table.align-right {
clear: right ;
float: right ;
margin-left: 1em }
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
table.align-center {
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left }
.align-center {
clear: both ;
text-align: center }
.align-right {
text-align: right }
/* reset inner alignment in figures */
div.align-right {
text-align: inherit }
/* div.align-center * { */
/* text-align: left } */
.align-top {
vertical-align: top }
.align-middle {
vertical-align: middle }
.align-bottom {
vertical-align: bottom }
ol.simple, ul.simple {
margin-bottom: 1em }
ol.arabic {
list-style: decimal }
ol.loweralpha {
list-style: lower-alpha }
ol.upperalpha {
list-style: upper-alpha }
ol.lowerroman {
list-style: lower-roman }
ol.upperroman {
list-style: upper-roman }
p.attribution {
text-align: right ;
margin-left: 50% }
p.caption {
font-style: italic }
p.credits {
font-style: italic ;
font-size: smaller }
p.label {
white-space: nowrap }
p.rubric {
font-weight: bold ;
font-size: larger ;
color: maroon ;
text-align: center }
p.sidebar-title {
font-family: sans-serif ;
font-weight: bold ;
font-size: larger }
p.sidebar-subtitle {
font-family: sans-serif ;
font-weight: bold }
p.topic-title {
font-weight: bold }
pre.address {
margin-bottom: 0 ;
margin-top: 0 ;
font: inherit }
pre.literal-block, pre.doctest-block, pre.math, pre.code {
margin-left: 2em ;
margin-right: 2em }
pre.code .ln { color: grey; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
pre.code .literal.string, code .literal.string { color: #0C5404 }
pre.code .name.builtin, code .name.builtin { color: #352B84 }
pre.code .deleted, code .deleted { background-color: #DEB0A1}
pre.code .inserted, code .inserted { background-color: #A3D289}
span.classifier {
font-family: sans-serif ;
font-style: oblique }
span.classifier-delimiter {
font-family: sans-serif ;
font-weight: bold }
span.interpreted {
font-family: sans-serif }
span.option {
white-space: nowrap }
span.pre {
white-space: pre }
span.problematic {
color: red }
span.section-subtitle {
/* font-size relative to parent (h1..h6 element) */
font-size: 80% }
table.citation {
border-left: solid 1px gray;
margin-left: 1px }
table.docinfo {
margin: 2em 4em }
table.docutils {
margin-top: 0.5em ;
margin-bottom: 0.5em }
table.footnote {
border-left: solid 1px black;
margin-left: 1px }
table.docutils td, table.docutils th,
table.docinfo td, table.docinfo th {
padding-left: 0.5em ;
padding-right: 0.5em ;
vertical-align: top }
table.docutils th.field-name, table.docinfo th.docinfo-name {
font-weight: bold ;
text-align: left ;
white-space: nowrap ;
padding-left: 0 }
/* "booktabs" style (no vertical lines) */
table.docutils.booktabs {
border: 0px;
border-top: 2px solid;
border-bottom: 2px solid;
border-collapse: collapse;
}
table.docutils.booktabs * {
border: 0px;
}
table.docutils.booktabs th {
border-bottom: thin solid;
text-align: left;
}
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
font-size: 100% }
ul.auto-toc {
list-style-type: none }
</style>
</head>
<body>
<div class="document" id="ddmrp-report-part-flow-index">
<h1 class="title">DDMRP Report Part Flow Index</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9a07769dc305cefc998a5a1c6686aafecc0a98f13c5835ef9fa0d2a6b1154d9a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/ddmrp/tree/16.0/ddmrp_report_part_flow_index"><img alt="OCA/ddmrp" src="https://img.shields.io/badge/github-OCA%2Fddmrp-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/ddmrp-16-0/ddmrp-16-0-ddmrp_report_part_flow_index"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/ddmrp&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Implements the Parts Flow Index Report.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="toc-entry-2">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-3">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-4">Changelog</a><ul>
<li><a class="reference internal" href="#section-1" id="toc-entry-5">11.0.1.0.0 (2018-08-01)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-6">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-7">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-8">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-9">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-10">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<ul class="simple">
<li>Go to <em>Inventory &gt; Configuration &gt; DDMRP &gt; Flow Index Group</em> to
define possible groups to analyze on.</li>
<li>Go to <em>Inventory &gt; Master Data &gt; Stock Buffer Planning</em> and assign
the Flow Index Group to Buffers.</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>Go to <em>Inventory &gt; Reporting &gt; Parts Plan Flow Index</em> to run the report.</p>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#toc-entry-3">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>Add Parts Actual Flow Index report</li>
</ul>
</div>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#toc-entry-4">Changelog</a></h1>
<div class="section" id="section-1">
<h2><a class="toc-backref" href="#toc-entry-5">11.0.1.0.0 (2018-08-01)</a></h2>
<ul class="simple">
<li>Start of the history</li>
</ul>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-6">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/ddmrp/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/ddmrp/issues/new?body=module:%20ddmrp_report_part_flow_index%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-7">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-8">Authors</a></h2>
<ul class="simple">
<li>ForgeFlow</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-9">Contributors</a></h2>
<ul class="simple">
<li>Jordi Ballester Alomar &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
<li>Lois Rilo Antelo &lt;<a class="reference external" href="mailto:lois.rilo&#64;forgeflow.com">lois.rilo&#64;forgeflow.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-10">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/JordiBForgeFlow"><img alt="JordiBForgeFlow" src="https://github.com/JordiBForgeFlow.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/LoisRForgeFlow"><img alt="LoisRForgeFlow" src="https://github.com/LoisRForgeFlow.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/ddmrp/tree/16.0/ddmrp_report_part_flow_index">OCA/ddmrp</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 ForgeFlow S.L. (https://www.forgeflow.com)
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo>
<record id="view_ddmrp_flow_index_group_tree" model="ir.ui.view">
<field name="name">ddmrp.flow.index.group.tree</field>
<field name="model">ddmrp.flow.index.group</field>
<field name="arch" type="xml">
<tree>
<field name="sequence" widget="handle" />
<field name="name" />
<field name="lower_range" />
<field name="upper_range" />
</tree>
</field>
</record>
<record id="view_ddmrp_flow_index_group_form" model="ir.ui.view">
<field name="name">ddmrp.flow.index.group.form</field>
<field name="model">ddmrp.flow.index.group</field>
<field name="arch" type="xml">
<form>
<sheet>
<widget
name="web_ribbon"
title="Archived"
bg_color="bg-danger"
attrs="{'invisible': [('active', '=', True)]}"
/>
<group>
<group>
<field name="active" invisible="1" />
<field name="name" />
<field name="sequence" />
<field name="lower_range" />
<field name="upper_range" />
</group>
</group>
<field name="summary" placeholder="Log a description..." />
</sheet>
</form>
</field>
</record>
<record id="view_ddmrp_flow_index_group_search" model="ir.ui.view">
<field name="name">ddmrp.flow.index.group.search</field>
<field name="model">ddmrp.flow.index.group</field>
<field name="arch" type="xml">
<search>
<field name="name" />
<separator />
<filter
string="Archived"
name="inactive"
domain="[('active','=',False)]"
/>
</search>
</field>
</record>
<record id="action_ddmrp_flow_index_group" model="ir.actions.act_window">
<field name="name">DDMRP Flow Index Group</field>
<field name="res_model">ddmrp.flow.index.group</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
name="Flow Index Group"
parent="ddmrp.menu_ddmrp_config"
action="action_ddmrp_flow_index_group"
id="menu_ddmrp_flow_index_group"
/>
</odoo>

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 ForgeFlow S.L. (https://www.forgeflow.com)
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo>
<record id="stock_buffer_view_form_inherited" model="ir.ui.view">
<field name="name">stock.buffer.form - Part Flow Index</field>
<field name="model">stock.buffer</field>
<field name="inherit_id" ref="ddmrp.stock_buffer_view_form" />
<field name="arch" type="xml">
<group name="buffer_information" position="inside">
<field name="flow_index_group_id" />
</group>
</field>
</record>
</odoo>

View file

@ -0,0 +1,32 @@
# Architecture
```mermaid
flowchart TD
U[Users] -->|HTTP| V[Views and QWeb Templates]
V --> C[Controllers]
V --> W[Wizards Transient Models]
C --> M[Models and ORM]
W --> M
M --> R[Reports]
DX[Data XML] --> M
S[Security ACLs and Groups] -. enforces .-> M
subgraph Ddmrp_report_part_flow_index Module - ddmrp_report_part_flow_index
direction LR
M:::layer
W:::layer
C:::layer
V:::layer
R:::layer
S:::layer
DX:::layer
end
classDef layer fill:#eef8ff,stroke:#6ea8fe,stroke-width:1px
```
Notes
- Views include tree/form/kanban templates and report templates.
- Controllers provide website/portal routes when present.
- Wizards are UI flows implemented with `models.TransientModel`.
- Data XML loads data/demo records; Security defines groups and access.

View file

@ -0,0 +1,3 @@
# Configuration
Refer to Odoo settings for ddmrp_report_part_flow_index. Configure related models, access rights, and options as needed.

View file

@ -0,0 +1,3 @@
# Controllers
This module does not define custom HTTP controllers.

View file

@ -0,0 +1,5 @@
# Dependencies
This addon depends on:
- [ddmrp](../../odoo-bringout-oca-ddmrp-ddmrp)

View file

@ -0,0 +1,4 @@
# FAQ
- Q: Which Odoo version? A: 16.0 (OCA/OCB packaged).
- Q: How to enable? A: Start server with --addon ddmrp_report_part_flow_index or install in UI.

View file

@ -0,0 +1,7 @@
# Install
```bash
pip install odoo-bringout-oca-ddmrp-ddmrp_report_part_flow_index"
# or
uv pip install odoo-bringout-oca-ddmrp-ddmrp_report_part_flow_index"
```

View file

@ -0,0 +1,13 @@
# Models
Detected core models and extensions in ddmrp_report_part_flow_index.
```mermaid
classDiagram
class ddmrp_flow_index_group
class stock_buffer
```
Notes
- Classes show model technical names; fields omitted for brevity.
- Items listed under _inherit are extensions of existing models.

View file

@ -0,0 +1,6 @@
# Overview
Packaged Odoo addon: ddmrp_report_part_flow_index. Provides features documented in upstream Odoo 16 under this addon.
- Source: OCA/OCB 16.0, addon ddmrp_report_part_flow_index
- License: LGPL-3

View file

@ -0,0 +1,3 @@
# Reports
This module does not define custom reports.

View file

@ -0,0 +1,41 @@
# Security
Access control and security definitions in ddmrp_report_part_flow_index.
## Access Control Lists (ACLs)
Model access permissions defined in:
- **[ir.model.access.csv](../ddmrp_report_part_flow_index/security/ir.model.access.csv)**
- 3 model access rules
## Record Rules
Row-level security rules defined in:
## Security Groups & Configuration
Security groups and permissions defined in:
- **[report_ddmrp_part_plan_flow_index_security.xml](../ddmrp_report_part_flow_index/security/report_ddmrp_part_plan_flow_index_security.xml)**
```mermaid
graph TB
subgraph "Security Layers"
A[Users] --> B[Groups]
B --> C[Access Control Lists]
C --> D[Models]
B --> E[Record Rules]
E --> F[Individual Records]
end
```
Security files overview:
- **[ir.model.access.csv](../ddmrp_report_part_flow_index/security/ir.model.access.csv)**
- Model access permissions (CRUD rights)
- **[report_ddmrp_part_plan_flow_index_security.xml](../ddmrp_report_part_flow_index/security/report_ddmrp_part_plan_flow_index_security.xml)**
- Security groups, categories, and XML-based rules
Notes
- Access Control Lists define which groups can access which models
- Record Rules provide row-level security (filter records by user/group)
- Security groups organize users and define permission sets
- All security is enforced at the ORM level by Odoo

View file

@ -0,0 +1,5 @@
# Troubleshooting
- Ensure Python and Odoo environment matches repo guidance.
- Check database connectivity and logs if startup fails.
- Validate that dependent addons listed in DEPENDENCIES.md are installed.

View file

@ -0,0 +1,7 @@
# Usage
Start Odoo including this addon (from repo root):
```bash
python3 scripts/nix_odoo_web_server.py --db-name mydb --addon ddmrp_report_part_flow_index
```

View file

@ -0,0 +1,3 @@
# Wizards
This module does not include UI wizards.

View file

@ -0,0 +1,42 @@
[project]
name = "odoo-bringout-oca-ddmrp-ddmrp_report_part_flow_index"
version = "16.0.0"
description = "DDMRP Report Part Flow Index - Provides the DDMRP Parts Flow Index Report"
authors = [
{ name = "Ernad Husremovic", email = "hernad@bring.out.ba" }
]
dependencies = [
"odoo-bringout-oca-ddmrp-ddmrp>=16.0.0",
"requests>=2.25.1"
]
readme = "README.md"
requires-python = ">= 3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business",
]
[project.urls]
homepage = "https://github.com/bringout/0"
repository = "https://github.com/bringout/0"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["ddmrp_report_part_flow_index"]
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.4.1",
]