Skip to content

Commit

Permalink
Merge PR #484 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by LoisRForgeFlow
  • Loading branch information
OCA-git-bot committed Jul 19, 2024
2 parents 93ab1d4 + 5cb86fd commit 18fad10
Show file tree
Hide file tree
Showing 24 changed files with 1,312 additions and 0 deletions.
127 changes: 127 additions & 0 deletions ddmrp_exclude_moves_adu_calc/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
============================
DDMRP Exclude Moves ADU Calc
============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7f0c58ce55738d95368e2c996287a6618624ce442164625a0033f96cd19cb858
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.0/ddmrp_exclude_moves_adu_calc
:alt: OCA/ddmrp
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/ddmrp-17-0/ddmrp-17-0-ddmrp_exclude_moves_adu_calc
: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=17.0
:alt: Try me on Runboat

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

This module adds new criteria to exclude moves from the calculation of
the Average Daily Usage (ADU) on a Buffer, based on:

- Locations
- Specific stock moves

**Table of contents**

.. contents::
:local:

Usage
=====

You can exclude specific moves or all moves towards a specific location:

- Go to *Inventory > Reports > Stock Moves* and click on *Action >
Exclude from ADU* for a specific move or several.
- Go to *Inventory > Configuration > WH Management > Locations* and
check the flag *Exclude this location from ADU calculation* for the
desired locations.

Changelog
=========

13.0.1.0.0 (2021-03-15)
-----------------------

- Standard migration of the module to v13.

11.0.1.0.0 (2018-09-17)
-----------------------

- Start of history. Migrated to OCA/ddmrp.

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_exclude_moves_adu_calc%0Aversion:%2017.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 <[email protected]>

- Lois Rilo Antelo <[email protected]>

- `Trobz <https://trobz.com>`__:

- Khoi Vo <[email protected]>

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

The migration of this module from 13.0 to 14.0 was financially supported
by Camptocamp

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/17.0/ddmrp_exclude_moves_adu_calc>`_ 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_exclude_moves_adu_calc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions ddmrp_exclude_moves_adu_calc/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2017-23 ForgeFlow (http://www.forgeflow.com)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

{
"name": "DDMRP Exclude Moves ADU Calc",
"summary": "Define additional rules to exclude certain moves from ADU "
"calculation",
"version": "17.0.1.0.0",
"author": "ForgeFlow, " "Odoo Community Association (OCA)",
"maintainers": ["JordiBForgeFlow", "LoisRForgeFlow"],
"website": "https://github.com/OCA/ddmrp",
"category": "Warehouse Management",
"depends": ["ddmrp"],
"data": ["views/stock_move_view.xml", "views/stock_location_view.xml"],
"license": "LGPL-3",
"installable": True,
"application": False,
}
64 changes: 64 additions & 0 deletions ddmrp_exclude_moves_adu_calc/i18n/ddmrp_exclude_moves_adu_calc.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * ddmrp_exclude_moves_adu_calc
#
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_exclude_moves_adu_calc
#: model:ir.actions.server,name:ddmrp_exclude_moves_adu_calc.action_server_mrp_production_request_refresh
msgid "Exclude from ADU"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,field_description:ddmrp_exclude_moves_adu_calc.field_stock_location__exclude_from_adu
msgid "Exclude this location from ADU calculation"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,field_description:ddmrp_exclude_moves_adu_calc.field_stock_move__exclude_from_adu
msgid "Exclude this move from ADU calculation"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,help:ddmrp_exclude_moves_adu_calc.field_stock_location__exclude_from_adu
msgid ""
"If this flag is set stock moves into this location will be excluded from ADU"
" calculation in the origin location buffer."
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,help:ddmrp_exclude_moves_adu_calc.field_stock_move__exclude_from_adu
msgid ""
"If this flag is set this stock move will be excluded from ADU calculation"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model,name:ddmrp_exclude_moves_adu_calc.model_stock_location
msgid "Inventory Locations"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#. odoo-python
#: code:addons/ddmrp_exclude_moves_adu_calc/models/stock_move.py:0
#, python-format
msgid "Only buffer maintainers are allowed perform this action."
msgstr ""

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

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model,name:ddmrp_exclude_moves_adu_calc.model_stock_move
msgid "Stock Move"
msgstr ""
75 changes: 75 additions & 0 deletions ddmrp_exclude_moves_adu_calc/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * ddmrp_exclude_moves_adu_calc
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-03-20 20:35+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\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 4.17\n"

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.actions.server,name:ddmrp_exclude_moves_adu_calc.action_server_mrp_production_request_refresh
msgid "Exclude from ADU"
msgstr "Excluir de ADU"

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,field_description:ddmrp_exclude_moves_adu_calc.field_stock_location__exclude_from_adu
msgid "Exclude this location from ADU calculation"
msgstr "Excluir esta ubicación del cálculo de ADU"

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,field_description:ddmrp_exclude_moves_adu_calc.field_stock_move__exclude_from_adu
msgid "Exclude this move from ADU calculation"
msgstr "Excluir este movimiento del cálculo ADU"

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,help:ddmrp_exclude_moves_adu_calc.field_stock_location__exclude_from_adu
msgid ""
"If this flag is set stock moves into this location will be excluded from ADU "
"calculation in the origin location buffer."
msgstr ""
"Si este indicador está activado, los movimientos de existencias en esta "
"ubicación se excluirán del cálculo de ADU en el búfer de ubicación de origen."

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,help:ddmrp_exclude_moves_adu_calc.field_stock_move__exclude_from_adu
msgid ""
"If this flag is set this stock move will be excluded from ADU calculation"
msgstr ""
"Si se activa este indicador, este movimiento de existencias se excluirá del "
"cálculo de ADU"

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model,name:ddmrp_exclude_moves_adu_calc.model_stock_location
msgid "Inventory Locations"
msgstr "Localización de inventarios"

#. module: ddmrp_exclude_moves_adu_calc
#. odoo-python
#: code:addons/ddmrp_exclude_moves_adu_calc/models/stock_move.py:0
#, python-format
msgid "Only buffer maintainers are allowed perform this action."
msgstr "Sólo los mantenedores de búferes pueden realizar esta acción."

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model,name:ddmrp_exclude_moves_adu_calc.model_stock_buffer
msgid "Stock Buffer"
msgstr "Búfer de Inventario"

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

#, python-format
#~ msgid "Only inventory managers are allowed perform this action."
#~ msgstr "Sólo los gestores de inventario pueden realizar esta acción."
65 changes: 65 additions & 0 deletions ddmrp_exclude_moves_adu_calc/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * ddmrp_exclude_moves_adu_calc
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: fr\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"

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.actions.server,name:ddmrp_exclude_moves_adu_calc.action_server_mrp_production_request_refresh
msgid "Exclude from ADU"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,field_description:ddmrp_exclude_moves_adu_calc.field_stock_location__exclude_from_adu
msgid "Exclude this location from ADU calculation"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,field_description:ddmrp_exclude_moves_adu_calc.field_stock_move__exclude_from_adu
msgid "Exclude this move from ADU calculation"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,help:ddmrp_exclude_moves_adu_calc.field_stock_location__exclude_from_adu
msgid ""
"If this flag is set stock moves into this location will be excluded from ADU "
"calculation in the origin location buffer."
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model.fields,help:ddmrp_exclude_moves_adu_calc.field_stock_move__exclude_from_adu
msgid ""
"If this flag is set this stock move will be excluded from ADU calculation"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#: model:ir.model,name:ddmrp_exclude_moves_adu_calc.model_stock_location
msgid "Inventory Locations"
msgstr ""

#. module: ddmrp_exclude_moves_adu_calc
#. odoo-python
#: code:addons/ddmrp_exclude_moves_adu_calc/models/stock_move.py:0
#, python-format
msgid "Only buffer maintainers are allowed perform this action."
msgstr ""

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

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

0 comments on commit 18fad10

Please sign in to comment.