Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
9b49f4b
[9.0][ADD] ddmrp_history
LoisRForgeFlow Sep 6, 2017
fde735b
[9.0][IMP] import exceptions
LoisRForgeFlow Sep 8, 2017
a77d9cc
avoid uncomputable chart
LoisRForgeFlow Sep 8, 2017
da8241d
[9.0][FIX] ddmrp_history: permission issue
LoisRForgeFlow Sep 19, 2017
8531fea
add demo data
JordiBForgeFlow Sep 28, 2017
587ad7f
[9.0][FIX] ddmrp_history: ondelete cascade
LoisRForgeFlow Oct 9, 2017
5fc4f67
[FIX] ddmrp_history: wrong depiction
LoisRForgeFlow Nov 7, 2017
ac9ed0c
[MIG] ddmrp_adjustment: Migration to 10.0
HviorForgeFlow Feb 21, 2018
b6ad5c1
[10.0][MIG] ddmrp_history
LoisRForgeFlow Jan 22, 2018
fb63a1a
[10.0][ADD] Execution history buffer (#49)
Mar 9, 2018
445fb47
[11.0][MIG] ddmrp_history (#52):
grindtildeath Apr 16, 2018
d6b286f
[11.0] ddmrp_history: add demo data
LoisRForgeFlow Jul 5, 2018
00fbac2
[11.0][IMP] ddmrp_history to OCA:
LoisRForgeFlow Aug 1, 2018
ce84c39
[UPD] README.rst
OCA-git-bot Oct 31, 2018
a15ccf1
[UPD] Update ddmrp_history.pot
oca-travis Oct 31, 2018
778f3eb
Added translation using Weblate (French)
gurneyalex Dec 11, 2018
98056e8
[11.0][IMP] ddmrp_history:
LoisRForgeFlow Feb 7, 2019
9fcf0db
[UPD] Update ddmrp_history.pot
oca-travis Mar 15, 2019
d0c81b1
Update translation files
oca-transbot Mar 17, 2019
e63aeaa
[UPD] README.rst
OCA-git-bot Jul 29, 2019
96fe75c
[13.0][MIG] ddmrp_history
LoisRForgeFlow Jun 16, 2020
1c181b1
[IMP] ddmrp_history: black, isort, prettier
LoisRForgeFlow Jun 16, 2020
311e3b2
[UPD] Update ddmrp_history.pot
oca-travis Jun 23, 2020
1f1b958
[UPD] README.rst
OCA-git-bot Jun 23, 2020
c340831
[13.0][UPD] ddmrp_history: update method signature.
LoisRForgeFlow Jun 29, 2020
d180c8d
ddmrp_history 13.0.1.1.0
OCA-git-bot Jul 1, 2020
2042755
Translated using Weblate (French)
didierdonze Jul 22, 2020
386a3f5
[13.0][FIX] ddmrp_history: record not reserved on-hand qty
LoisRForgeFlow Aug 25, 2020
47446d7
ddmrp_history 13.0.1.1.1
OCA-git-bot Aug 26, 2020
90eb341
Add index on ddmrp_history.buffer_id
Dec 9, 2020
d3892c6
ddmrp_history 13.0.1.2.0
OCA-git-bot Dec 17, 2020
7c2f97c
[IMP] ddmrp_history: black, isort, prettier
DavidBForgeFlow Apr 28, 2021
066d547
[MIG] ddmrp_history: Migration to 14.0
DavidBForgeFlow Apr 28, 2021
0479324
[UPD] Update ddmrp_history.pot
oca-travis Apr 30, 2021
784e85c
[UPD] README.rst
OCA-git-bot Apr 30, 2021
af69248
[15.0][MIG] ddmrp_history
ChrisOForgeFlow Feb 14, 2022
aeeb25a
[UPD] Update ddmrp_history.pot
Feb 16, 2022
369f1f0
[UPD] README.rst
OCA-git-bot Feb 16, 2022
4b6bfc2
Fix planning chart display in ddmrp_history
TDu Jan 27, 2022
99c28f6
Fix crash on execution chart display
TDu Apr 1, 2022
4cc964b
ddmrp_history 15.0.1.0.1
OCA-git-bot Jul 1, 2022
df6f13e
Fix planning chart display in ddmrp_history
TDu Mar 30, 2023
9f056fd
ddmrp_history 15.0.1.0.2
OCA-git-bot Apr 20, 2023
a45fb01
[IMP] ddmrp_history: use helper method to get colors
LoisRForgeFlow May 9, 2023
292b266
ddmrp_history 15.0.1.1.0
OCA-git-bot May 17, 2023
c0d5350
[MIG] ddmrp_history: Migration to 16.0
AlexPForgeFlow Aug 17, 2023
e252639
[UPD] Update ddmrp_history.pot
Oct 23, 2023
f827679
[BOT] post-merge updates
OCA-git-bot Oct 23, 2023
6d23eb6
Update translation files
weblate Oct 29, 2023
fee8931
Added translation using Weblate (Italian)
mymage Nov 7, 2023
891391f
Translated using Weblate (Italian)
mymage Nov 12, 2023
b7b35e4
[FIX] ddmrp_history: adjust after latest bokeh widget changes.
LoisRForgeFlow Nov 15, 2023
d536151
[BOT] post-merge updates
OCA-git-bot Nov 15, 2023
4a4432c
[FIX] ddmrp_history: remove blank space after charts
LoisRForgeFlow Nov 15, 2023
436541c
[BOT] post-merge updates
OCA-git-bot Nov 15, 2023
da06fc9
[IMP] ddmrp_history: resize top yellow zone on historic execution chart
DavidJForgeFlow Jan 9, 2024
db0aca2
[BOT] post-merge updates
OCA-git-bot Jan 10, 2024
943cec0
[IMP] ddmrp_history: Use ddmrp security groups
BernatPForgeFlow Feb 1, 2024
634b8bb
[BOT] post-merge updates
OCA-git-bot Feb 5, 2024
40c27f7
Translated using Weblate (Spanish)
LoisRForgeFlow Apr 29, 2024
a0ccebf
[FIX] ddmrp_history: print correctly execution history.
DavidJForgeFlow May 2, 2024
607f896
[BOT] post-merge updates
OCA-git-bot May 2, 2024
e7bfabc
[IMP] ddmrp_history: add multicompany rules
DavidJForgeFlow May 7, 2024
3e17561
[UPD] Update ddmrp_history.pot
May 7, 2024
6c3d1d7
[BOT] post-merge updates
OCA-git-bot May 7, 2024
b20a0d5
Update translation files
weblate May 7, 2024
34e8f17
Translated using Weblate (Italian)
mymage May 8, 2024
4ce89b7
[IMP] ddmrp_history: pre-commit stuff
DavidJForgeFlow Jul 1, 2024
c9b31e8
[MIG] ddmrp_history: Migration to 17.0
DavidJForgeFlow Jul 1, 2024
255420d
[UPD] Update ddmrp_history.pot
Jul 1, 2024
abb3f53
[BOT] post-merge updates
OCA-git-bot Jul 1, 2024
c106c98
Update translation files
weblate Jul 7, 2024
ff0e4d2
[IMP] ddmrp_history: pre-commit auto fixes
ThiagoMForgeFlow Feb 21, 2025
cdacf2c
[MIG] ddmrp_history: Migration to 18.0
ThiagoMForgeFlow Feb 21, 2025
e884f9b
[UPD] Update ddmrp_history.pot
Mar 10, 2025
7680d30
[BOT] post-merge updates
OCA-git-bot Mar 10, 2025
c958a3d
[IMP] ddmrp_history: set url path in main action
LoisRForgeFlow Sep 19, 2025
613f82c
[BOT] post-merge updates
OCA-git-bot Sep 19, 2025
5d325d2
[PERF] ddmrp_history: Improve domain of multicompany ir rule
grindtildeath Sep 24, 2025
9f52463
[BOT] post-merge updates
OCA-git-bot Oct 2, 2025
ce84b08
[MIG] ddmrp_history: Migration to 19.0
LoisRForgeFlow Apr 29, 2026
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
125 changes: 125 additions & 0 deletions ddmrp_history/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=============
DDMRP History
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7dac235904fbe56bc8cbf61377ca0e76c5f9f26c31325e271a49ee0f08651f29
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/license-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/19.0/ddmrp_history
:alt: OCA/ddmrp
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/ddmrp-19-0/ddmrp-19-0-ddmrp_history
: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=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Allow to extend DDMRP App to store historical data of buffers.

**Table of contents**

.. contents::
:local:

Installation
============

You need to install the python pandas library:

::

pip install pandas==0.25.3

Usage
=====

You can access, as a inventory manager, to all the DDMRP historical data
throught *Inventory > Reports > DDMRP Buffer History*. Additionally you
can see a historical evolution chart of any buffer at the bottom of its
form view, either by a planning or a execution perspective.

Changelog
=========

Follow the history of changes in `GitHub Pull
Requests <https://github.com/OCA/ddmrp/pulls?q=is%3Apr+ddmrp_history+is%3Aclosed>`__.

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_history%0Aversion:%2019.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
------------

- Lois Rilo <lois.rilo@forgeflow.com>
- Jordi Ballester <jordi.ballester@forgeflow.com>
- Akim Juillerat <akim.juillerat@camptocamp.com>
- Christopher Ormaza <chris.ormaza@forgeflow.com>

Other credits
-------------

The initial development of this module has been financially supported
by:

- Aleph Objects, Inc.

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/19.0/ddmrp_history>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions ddmrp_history/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
24 changes: 24 additions & 0 deletions ddmrp_history/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2017-22 ForgeFlow S.L. (https://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

{
"name": "DDMRP History",
"summary": "Allow to store historical data of DDMRP buffers.",
"version": "19.0.1.0.0",
"development_status": "Production/Stable",
"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/security.xml",
"views/ddmrp_history_view.xml",
"views/stock_buffer_view.xml",
],
"demo": ["demo/ddmrp.history.csv"],
"external_dependencies": {"python": ["pandas>=0.25.3"]},
"license": "LGPL-3",
"installable": True,
}
12 changes: 12 additions & 0 deletions ddmrp_history/demo/ddmrp.history.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
id,buffer_id/id,date,net_flow_position,on_hand_position,top_of_green,top_of_red,top_of_yellow
ddmrp_history_rm01_1,ddmrp.stock_buffer_rm01,2017-09-14 00:45:32,400,400,492.82,122.28,400.88
ddmrp_history_rm01_2,ddmrp.stock_buffer_rm01,2017-09-14 03:53:30,400,400,492.82,122.28,400.88
ddmrp_history_rm01_3,ddmrp.stock_buffer_rm01,2017-09-14 07:19:22,400,400,492.82,122.28,400.88
ddmrp_history_rm01_4,ddmrp.stock_buffer_rm01,2017-09-14 10:39:18,400,400,492.82,122.28,400.88
ddmrp_history_rm01_5,ddmrp.stock_buffer_rm01,2017-09-14 13:56:05,395,395,496.94,123.3,404.23
ddmrp_history_rm01_6,ddmrp.stock_buffer_rm01,2017-09-14 17:15:05,395,395,496.94,123.3,404.23
ddmrp_history_rm01_7,ddmrp.stock_buffer_rm01,2017-09-14 20:37:16,390,390,501.08,124.33,407.6
ddmrp_history_rm01_8,ddmrp.stock_buffer_rm01,2017-09-15 00:05:02,389,389,412.74,102.41,335.74
ddmrp_history_rm01_9,ddmrp.stock_buffer_rm01,2017-09-15 18:55:42,381,381,419.35,104.05,341.12
ddmrp_history_rm01_10,ddmrp.stock_buffer_rm01,2017-09-18 16:33:40,371,371,266.62,66.15,216.88
ddmrp_history_rm01_11,ddmrp.stock_buffer_rm01,2017-09-18 19:59:13,387,371,266.62,66.15,216.88
161 changes: 161 additions & 0 deletions ddmrp_history/i18n/ddmrp_history.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * ddmrp_history
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.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_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__adu
msgid "ADU"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,help:ddmrp_history.field_ddmrp_history__adu
msgid "Average Daily Usage"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__buffer_id
msgid "Buffer"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__company_id
msgid "Company"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__create_uid
msgid "Created by"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__create_date
msgid "Created on"
msgstr ""

#. module: ddmrp_history
#: model:ir.actions.act_window,name:ddmrp_history.action_ddmrp_history
#: model:ir.ui.menu,name:ddmrp_history.menu_ddmrp_history
msgid "DDMRP Buffer History"
msgstr ""

#. module: ddmrp_history
#: model:ir.model,name:ddmrp_history.model_ddmrp_history
msgid "DDMRP History"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__date
msgid "Date"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__display_name
msgid "Display Name"
msgstr ""

#. module: ddmrp_history
#: model_terms:ir.ui.view,arch_db:ddmrp_history.stock_buffer_view_form
msgid "Execution Chart"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_stock_buffer__execution_history_chart
msgid "Execution Historical Chart"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_stock_buffer__planning_history_chart
msgid "Historical Chart"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__id
msgid "ID"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__write_uid
msgid "Last Updated by"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__write_date
msgid "Last Updated on"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__net_flow_position
msgid "NFP"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,help:ddmrp_history.field_ddmrp_history__net_flow_position
msgid "Net flow position"
msgstr ""

#. module: ddmrp_history
#. odoo-python
#: code:addons/ddmrp_history/models/stock_buffer.py:0
msgid "Not enough data available."
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__on_hand_position
msgid "OHP"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,help:ddmrp_history.field_ddmrp_history__on_hand_position
msgid "On-Hand Position"
msgstr ""

#. module: ddmrp_history
#: model_terms:ir.ui.view,arch_db:ddmrp_history.stock_buffer_view_form
msgid "Planning Chart"
msgstr ""

#. module: ddmrp_history
#: model:ir.model,name:ddmrp_history.model_stock_buffer
msgid "Stock Buffer"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__top_of_green
msgid "TOG"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__top_of_red
msgid "TOR"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,field_description:ddmrp_history.field_ddmrp_history__top_of_yellow
msgid "TOY"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,help:ddmrp_history.field_ddmrp_history__top_of_green
msgid "Top of Green"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,help:ddmrp_history.field_ddmrp_history__top_of_red
msgid "Top of Red"
msgstr ""

#. module: ddmrp_history
#: model:ir.model.fields,help:ddmrp_history.field_ddmrp_history__top_of_yellow
msgid "Top of Yellow"
msgstr ""
Loading
Loading