Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] [MIG] stock_change_qty_reason #1854

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
34b5da0
Add new module to manage change product quantity reason
rousseldenis May 24, 2016
b425b8b
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
2f508d5
[MIG] stock_change_qty_reason
GillesTephaneMeyomesse May 26, 2017
405b7e8
OCA Transbot updated translations from Transifex
oca-transbot Jun 3, 2017
35348a1
[MIG] stock_change_qty_reason: Migration to 11.0
Apr 20, 2018
e0e8859
[11.0][IMP] Add optional encoded reason management
HviorForgeFlow Jan 2, 2019
832f3a1
[MIG] stock_change_qty_reason: Migration to 12.0
HviorForgeFlow May 27, 2019
78258ad
[12.0][IMP] Explode reason from Inventory Adjustment to lines
HviorForgeFlow May 28, 2019
fca01d5
[UPD] README.rst
OCA-git-bot May 28, 2019
8b89dc0
[ADD] icon.png
OCA-git-bot May 28, 2019
d5a4cba
[UPD] README.rst
OCA-git-bot Jul 29, 2019
8ecfc6b
Translated using Weblate (French)
gurneyalex Aug 6, 2019
5f86aff
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 20, 2019
cde8024
[IMP] stock_change_qty_reason: black, isort
AdriaGForgeFlow Dec 23, 2019
d647148
[MIG] stock_change_qty_reason: Migration to 13.0
AdriaGForgeFlow Dec 23, 2019
9ffc7e1
[UPD] Update stock_change_qty_reason.pot
oca-travis Jan 8, 2020
2859948
pre-commit update
OCA-git-bot Mar 14, 2020
b8d39ba
Update translation files
oca-transbot Aug 16, 2020
7702548
[FIX]make reason fields readonly if in done state
bizzappdev Sep 16, 2020
f7b638a
stock_change_qty_reason 13.0.1.1.0
OCA-git-bot Jul 5, 2021
c191131
[IMP]stock_change_qty_reason: black, isort, prettier
GuillemCForgeFlow Dec 1, 2021
2ec6e83
[14.0][MIG]stock_change_qty_reason: Migration to 14.0
GuillemCForgeFlow Dec 1, 2021
edb554a
[UPD] Update stock_change_qty_reason.pot
oca-travis Dec 14, 2021
2f6abaa
[UPD] README.rst
OCA-git-bot Dec 14, 2021
ebb5a6e
stock_change_qty_reason 14.0.1.0.1
OCA-git-bot Dec 14, 2021
9f6bd18
[IMP] Update templates with copier
rousseldenis May 16, 2022
56e7758
stock_change_qty_reason 14.0.1.0.2
OCA-git-bot May 16, 2022
dde5749
Translated using Weblate (Italian)
mymage Jul 16, 2022
ad97fc4
[MIG] stock_change_qty_reason: Migration to 15.0
MiquelRForgeFlow Jan 12, 2023
0c822a1
[UPD] Update stock_change_qty_reason.pot
Jan 19, 2023
691afb5
[UPD] README.rst
OCA-git-bot Jan 19, 2023
a61cedd
Translated using Weblate (Italian)
francesco-ooops Jan 30, 2023
b800781
[IMP] stock_change_qty_reason: pre-commit stuff
Urvisha-OSI Mar 23, 2023
319ae1e
[MIG] stock_change_qty_reason: Migration to 16.0
Urvisha-OSI Mar 23, 2023
e0eccf8
[FIX] stock_change_qty_reason: Fix button_box in reasion view
paradoxxxzero Sep 28, 2023
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
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,
)
108 changes: 108 additions & 0 deletions stock_change_qty_reason/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
============================
Stock Change Quantity Reason
============================

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

.. |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/16.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-16-0/stock-logistics-warehouse-16-0-stock_change_qty_reason
: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/stock-logistics-warehouse&target_branch=16.0
:alt: Try me on Runboat

|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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_change_qty_reason%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
~~~~~~~

* ACSONE SA/NV

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

* Denis Roussel <[email protected]>
* Meyomesse Gilles <[email protected]>
* Andreas Dian S.P <[email protected]>
* Héctor Villarreal <[email protected]>
* Urvisha Desai <[email protected]>
* Florian Mounier <[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/16.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": "16.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
Loading