Skip to content

Commit

Permalink
Merge PR #1608 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by rousseldenis
  • Loading branch information
OCA-git-bot committed Jan 19, 2023
2 parents fd4f6d8 + 51b9b0e commit 9029dc9
Show file tree
Hide file tree
Showing 68 changed files with 7,588 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/stock_change_qty_reason/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
103 changes: 103 additions & 0 deletions stock_change_qty_reason/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
============================
Stock Change Quantity Reason
============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_change_qty_reason
:alt: OCA/stock-logistics-warehouse
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_change_qty_reason
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/153/14.0
:alt: Try me on Runbot

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

This module extends the product stock management and allows to set a reason
in inventory adjustments globally or per line.

It also can manage preset reasons optionally.

**Table of contents**

.. contents::
:local:

Configuration
=============

To enable preset reason feature, you must:

- Go to: Inventory > Settings > Inventory Adjustment
- Enable: Preset Change Qty Reason
- Enable: Technical Settings > Manage Stock Change Qty Preset Reasons

Once is activate you will require te add a Preset reason to validate stock
products change quantity.


To allow an Stock Manager configure preset reasons easily, you should:

- Select Stock Manager user on: Settings > Users
- Enable: Technical Settings > Manage Stock Change Qty Preset Reasons
- Go to Inventory > Configuration > Inventory Adjustment > Change Qty Reasons

Known issues / Roadmap
======================

* Add a reason from Update Quantity button in Product Form View has been removed. This button no longer opens an Inventory Adjustment, it opens directly the stock quant view. Therefore, it must be decided how to implement the logic to add a reason when quantity is updated.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-warehouse/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_change_qty_reason%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* ACSONE SA/NV

Contributors
~~~~~~~~~~~~

* Denis Roussel <[email protected]>
* Meyomesse Gilles <[email protected]>
* Andreas Dian S.P <[email protected]>
* Héctor Villarreal <[email protected]>

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.

This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/14.0/stock_change_qty_reason>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions stock_change_qty_reason/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
23 changes: 23 additions & 0 deletions stock_change_qty_reason/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2016-2017 ACSONE SA/NV (<http://acsone.eu>)
# Copyright 2019-2023 ForgeFlow S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Stock Change Quantity Reason",
"summary": """
Stock Quantity Change Reason """,
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse Management",
"version": "15.0.1.0.0",
"license": "AGPL-3",
"depends": ["stock"],
"data": [
"security/ir.model.access.csv",
"security/stock_security.xml",
"views/base_config_view.xml",
"views/stock_move_line_view.xml",
"views/stock_quant_reason_view.xml",
"views/stock_quant_view.xml",
],
"installable": True,
}
156 changes: 156 additions & 0 deletions stock_change_qty_reason/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_change_qty_reason
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-03 01:23+0000\n"
"PO-Revision-Date: 2017-06-03 01:23+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__active
msgid "Active"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.actions.act_window,name:stock_change_qty_reason.action_change_qty_reasons_list
#: model:ir.ui.menu,name:stock_change_qty_reason.menu_reasons
msgid "Change Qty Reasons"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model,name:stock_change_qty_reason.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__create_uid
msgid "Created by"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__create_date
msgid "Created on"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__display_name
msgid "Display Name"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,help:stock_change_qty_reason.field_res_config_settings__group_qty_reason_preset
msgid ""
"Enable use of predefined Reasons to manage Inventory Adjustmentsand Product "
"Update Quantities Wizard."
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__id
msgid "ID"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model,name:stock_change_qty_reason.model_stock_inventory
msgid "Inventory"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.ui.menu,name:stock_change_qty_reason.menu_inventory_adjustments_config
#: model_terms:ir.ui.view,arch_db:stock_change_qty_reason.qty_reason_preset_selection
msgid "Inventory Adjustment"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model,name:stock_change_qty_reason.model_stock_inventory_line
msgid "Inventory Line"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__write_uid
msgid "Last Updated by"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__write_date
msgid "Last Updated on"
msgstr ""

#. module: stock_change_qty_reason
#: model:res.groups,name:stock_change_qty_reason.group_qty_reason_preset
msgid "Manage Stock Change Qty Preset Reasons"
msgstr ""

#. module: stock_change_qty_reason
#: model_terms:ir.ui.view,arch_db:stock_change_qty_reason.qty_reason_preset_selection
msgid "Manage predefined change quantity reasons"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_res_config_settings__group_qty_reason_preset
msgid "Preset Change Qty Reason"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory__preset_reason_id
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line__preset_reason_id
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_move__preset_reason_id
#: model_terms:ir.ui.view,arch_db:stock_change_qty_reason.view_preset_reason
#, fuzzy
msgid "Preset Reason"
msgstr "السبب"

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory__reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line__reason
msgid "Reason"
msgstr "السبب"

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__description
msgid "Reason Description"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.fields,field_description:stock_change_qty_reason.field_stock_inventory_line_reason__name
#, fuzzy
msgid "Reason Name"
msgstr "السبب"

#. module: stock_change_qty_reason
#: model:ir.model,name:stock_change_qty_reason.model_stock_inventory_line_reason
msgid "Stock Inventory Line Reason"
msgstr ""

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

#. module: stock_change_qty_reason
#: model:ir.model.fields,help:stock_change_qty_reason.field_stock_inventory__reason
#: model:ir.model.fields,help:stock_change_qty_reason.field_stock_inventory_line__reason
msgid "Type in a reason for the product quantity change"
msgstr ""

#. module: stock_change_qty_reason
#: model:ir.model.constraint,message:stock_change_qty_reason.constraint_stock_inventory_line_reason_name_unique
msgid "You cannot have two reason with the same name."
msgstr ""
Loading

0 comments on commit 9029dc9

Please sign in to comment.