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_inventory_lockdown: Migration to 16.0 #2217

Merged
merged 42 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
97a183e
New module stock_inventory_lockdown
Mar 21, 2016
ba5c44f
OCA Transbot updated translations from Transifex
oca-transbot Apr 17, 2016
21fd94e
stock_inventory_lockdown
MiquelRForgeFlow May 12, 2017
5198b0c
OCA Transbot updated translations from Transifex
oca-transbot Jun 10, 2017
02f490d
refactor the module to perform lockdown validations using constraint
JordiBForgeFlow Jun 27, 2017
840117f
[MIG] stock_inventory_lockdown: Migration to 10.0
MiquelRForgeFlow Jul 27, 2017
69a574f
OCA Transbot updated translations from Transifex
oca-transbot Dec 2, 2017
d4f2cf7
[10.0][FIX] stock_inventory_lockdown: locking unneded locations.
LoisRForgeFlow Nov 16, 2017
40fc7f6
[11.0][MIG] stock_inventory_lockdown
LoisRForgeFlow Sep 12, 2018
6d39aaa
[UPD] README.rst
OCA-git-bot Oct 23, 2018
c4b1827
[UPD] Update stock_inventory_lockdown.pot
oca-travis Oct 23, 2018
0b28491
[UPD] README.rst
OCA-git-bot Dec 2, 2018
2997d5a
Update translation files
oca-transbot Dec 9, 2018
cc17f4b
[12.0][MIG]stock_inventory_lockdown
osimallen Jun 25, 2019
b8a70e3
[UPD] Update stock_inventory_lockdown.pot
oca-travis Jul 3, 2019
071d052
[UPD] README.rst
OCA-git-bot Jul 3, 2019
faee26a
[UPD] README.rst
OCA-git-bot Jul 29, 2019
0b84134
[FIX] Don't check in any case of inventory adjustments
MiquelRForgeFlow Sep 18, 2019
2f4bbb4
stock_inventory_lockdown 12.0.1.0.1
OCA-git-bot Sep 26, 2019
52841cf
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 28, 2019
4478de5
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
af1f4ab
[IMP] stock_inventory_lockdown: black, isort
AdriaGForgeFlow Dec 20, 2019
6855b28
[MIG] stock_inventory_lockdown: Migration to 13.0
AdriaGForgeFlow Dec 20, 2019
b207082
[UPD] Update stock_inventory_lockdown.pot
oca-travis Dec 23, 2019
2c5c5fd
Update translation files
oca-transbot Dec 30, 2019
ddb41bc
[13.0][FIX] Broken pre-commit: E741 ambiguous variable name 'l'
HviorForgeFlow May 12, 2020
b88f942
stock_inventory_lockdown 13.0.1.0.1
OCA-git-bot May 12, 2020
4bfcb8e
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
ae8ebcb
Remove _order override in stock.location
guewen Oct 28, 2020
d65da7f
[UPD] Update stock_inventory_lockdown.pot
oca-travis Oct 28, 2020
8c9d819
stock_inventory_lockdown 13.0.1.0.2
OCA-git-bot Oct 28, 2020
70f532f
[UPD] Update stock_inventory_lockdown.pot
oca-travis Oct 28, 2020
45e591a
Update translation files
oca-transbot Nov 22, 2020
0550bd4
[MIG] stock_inventory_lockdown: Migration to 14.0
Oct 24, 2022
bdd2961
[UPD] Update stock_inventory_lockdown.pot
Jan 10, 2023
069e03f
[UPD] README.rst
OCA-git-bot Jan 10, 2023
f9238e0
[UPD] README.rst
OCA-git-bot Sep 3, 2023
3614cd9
[IMP] stock_inventory_lockdown: pre-commit stuff
AlexPForgeFlow Sep 19, 2023
afbc8e1
[MIG] stock_inventory_lockdown: Migration to 16.0
AlexPForgeFlow Sep 20, 2023
9462014
[IMP] stock_inventory_lockdown: refactor in order to block movement i…
JoanSForgeFlow Sep 17, 2024
172fbdc
[IMP] stock_inventory_lockdown: do not block movements of parent loca…
JoanSForgeFlow Sep 18, 2024
0ff75c9
[IMP] stock_inventory_lockdown: unlink test, clean code
ArnauCForgeFlow Dec 10, 2024
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_inventory_lockdown/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,
)
95 changes: 95 additions & 0 deletions stock_inventory_lockdown/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
===================
Inventory Lock Down
===================

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

.. |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_inventory_lockdown
: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_inventory_lockdown
: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 lets you lock down the locations during an inventory.

**Table of contents**

.. contents::
:local:

Usage
=====

While an inventory is in the state "In progress", no stock moves
can be recorded in/out of the inventory's location: users will get an error
message.
Creating or modifying locations is also forbidden.

.. figure:: https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/16.0/stock_inventory_lockdown/static/images/move_error.png
:alt: Error message

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_inventory_lockdown%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
~~~~~~~

* Numérigraphe
* ForgeFlow

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

* Loïc Bellier (Numérigraphe) <lb@numerigraphe.com>
* Lionel Sausin (Numérigraphe) <ls@numerigraphe.com>
* Laetitia Gangloff (Acsone) <laetitia.gangloff@acsone.eu>
* Laurent Mignon (Acsone) <laurent.mignon@acsone.eu>
* Lois Rilo (ForgeFlow) <lois.rilo@forgeflow.com>
* Jordi Ballester (ForgeFlow) <jordi.ballester@forgeflow.com>
* Michael Allen <mallen@opensourceintegrators.com>
* Bhavesh Odedra <bodedra@opensourceintegrators.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.

This module is part of the `OCA/stock-logistics-warehouse <https://github.com/OCA/stock-logistics-warehouse/tree/16.0/stock_inventory_lockdown>`_ 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 stock_inventory_lockdown/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions stock_inventory_lockdown/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Inventory Lock Down",
"summary": "Lock down stock locations during inventories.",
"version": "16.0.1.0.0",
"development_status": "Beta",
"depends": ["stock", "stock_inventory"],
"author": "Numérigraphe, ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
"category": "Warehouse Management",
"images": ["images/move_error.png", "images/location_locked.png"],
"license": "AGPL-3",
"installable": True,
}
48 changes: 48 additions & 0 deletions stock_inventory_lockdown/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_inventory_lockdown
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
#, python-format
msgid ""
"An inventory is being conducted at the following location(s):\n"
" - %s"
msgstr ""

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
#, python-format
msgid "An inventory is being conducted at this location"
msgstr ""

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

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

#. module: stock_inventory_lockdown
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
msgid "Stock Move"
msgstr "Moviments d'estoc"
49 changes: 49 additions & 0 deletions stock_inventory_lockdown/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_inventory_lockdown
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-27 11:37+0000\n"
"PO-Revision-Date: 2018-02-27 11:37+0000\n"
"Last-Translator: Lukáš Spurný <lukasspurny8@gmail.com>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
#, fuzzy, python-format
msgid ""
"An inventory is being conducted at the following location(s):\n"
" - %s"
msgstr "Inventář se provádí na následujících místech: %s"

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
#, python-format
msgid "An inventory is being conducted at this location"
msgstr "Na tomto místě se provádí inventář"

#. module: stock_inventory_lockdown
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
msgid "Inventory"
msgstr "Inventář"

#. module: stock_inventory_lockdown
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
msgid "Inventory Locations"
msgstr "Umístění inventáře"

#. module: stock_inventory_lockdown
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
msgid "Stock Move"
msgstr "Přesunout zásoby"
48 changes: 48 additions & 0 deletions stock_inventory_lockdown/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_inventory_lockdown
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
#, python-format
msgid ""
"An inventory is being conducted at the following location(s):\n"
" - %s"
msgstr ""

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
#, python-format
msgid "An inventory is being conducted at this location"
msgstr ""

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

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

#. module: stock_inventory_lockdown
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
msgid "Stock Move"
msgstr "Lagerbewegung"
48 changes: 48 additions & 0 deletions stock_inventory_lockdown/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_inventory_lockdown
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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"

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
#, python-format
msgid ""
"An inventory is being conducted at the following location(s):\n"
" - %s"
msgstr ""

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
#, python-format
msgid "An inventory is being conducted at this location"
msgstr ""

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

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

#. module: stock_inventory_lockdown
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
msgid "Stock Move"
msgstr "Movimiento de existencias"
48 changes: 48 additions & 0 deletions stock_inventory_lockdown/i18n/es_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_inventory_lockdown
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: stock-logistics-warehouse (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-07 07:40+0000\n"
"PO-Revision-Date: 2016-04-14 14:47+0000\n"
"Last-Translator: <>\n"
"Language-Team: Spanish (Spain) (http://www.transifex.com/oca/OCA-stock-"
"logistics-warehouse-8-0/language/es_ES/)\n"
"Language: es_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"

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
#, python-format
msgid ""
"An inventory is being conducted at the following location(s):\n"
" - %s"
msgstr ""

#. module: stock_inventory_lockdown
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
#, python-format
msgid "An inventory is being conducted at this location"
msgstr ""

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

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

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