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

[15.0][MIG] stock_inventory_lockdown #2155

Merged
merged 41 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f63d69a
New module stock_inventory_lockdown
Mar 21, 2016
42513cb
OCA Transbot updated translations from Transifex
oca-transbot Apr 17, 2016
bbd2bf2
stock_inventory_lockdown
MiquelRForgeFlow May 12, 2017
bbfb8d7
OCA Transbot updated translations from Transifex
oca-transbot Jun 10, 2017
94c2356
refactor the module to perform lockdown validations using constraint
JordiBForgeFlow Jun 27, 2017
bf7932b
[MIG] stock_inventory_lockdown: Migration to 10.0
MiquelRForgeFlow Jul 27, 2017
8157500
OCA Transbot updated translations from Transifex
oca-transbot Dec 2, 2017
0c667f1
[10.0][FIX] stock_inventory_lockdown: locking unneded locations.
LoisRForgeFlow Nov 16, 2017
67d2fc9
[11.0][MIG] stock_inventory_lockdown
LoisRForgeFlow Sep 12, 2018
a7a0042
[UPD] README.rst
OCA-git-bot Oct 23, 2018
caeda7f
[UPD] Update stock_inventory_lockdown.pot
oca-travis Oct 23, 2018
efd59cf
[UPD] README.rst
OCA-git-bot Dec 2, 2018
648a0f0
Update translation files
oca-transbot Dec 9, 2018
1a41073
[12.0][MIG]stock_inventory_lockdown
osimallen Jun 25, 2019
698987c
[UPD] Update stock_inventory_lockdown.pot
oca-travis Jul 3, 2019
956d2cb
[UPD] README.rst
OCA-git-bot Jul 3, 2019
6a8bced
[UPD] README.rst
OCA-git-bot Jul 29, 2019
6580fb4
[FIX] Don't check in any case of inventory adjustments
MiquelRForgeFlow Sep 18, 2019
28f5908
stock_inventory_lockdown 12.0.1.0.1
OCA-git-bot Sep 26, 2019
c562e1a
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 28, 2019
ba9dfef
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
a413d10
[IMP] stock_inventory_lockdown: black, isort
AdriaGForgeFlow Dec 20, 2019
f54140c
[MIG] stock_inventory_lockdown: Migration to 13.0
AdriaGForgeFlow Dec 20, 2019
a984df5
[UPD] Update stock_inventory_lockdown.pot
oca-travis Dec 23, 2019
2645df6
Update translation files
oca-transbot Dec 30, 2019
f4c6024
[13.0][FIX] Broken pre-commit: E741 ambiguous variable name 'l'
HviorForgeFlow May 12, 2020
e2e6b77
stock_inventory_lockdown 13.0.1.0.1
OCA-git-bot May 12, 2020
f7ac85d
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
aad73ff
Remove _order override in stock.location
guewen Oct 28, 2020
359ecc4
[UPD] Update stock_inventory_lockdown.pot
oca-travis Oct 28, 2020
6c23580
stock_inventory_lockdown 13.0.1.0.2
OCA-git-bot Oct 28, 2020
79aa3af
[UPD] Update stock_inventory_lockdown.pot
oca-travis Oct 28, 2020
bfd6c5e
Update translation files
oca-transbot Nov 22, 2020
9b0dd78
[MIG] stock_inventory_lockdown: Migration to 14.0
Oct 24, 2022
b2b592b
[UPD] Update stock_inventory_lockdown.pot
Jan 10, 2023
714d9af
[UPD] README.rst
OCA-git-bot Jan 10, 2023
de64812
[UPD] README.rst
OCA-git-bot Sep 3, 2023
c4e7005
[MIG] stock_inventory_lockdown: Migration to 16.0
AlexPForgeFlow Sep 20, 2023
c2c0fc3
[MIG] stock_inventory_lockdown: Migration to 15.0
JoanSForgeFlow Sep 17, 2024
c243f87
[IMP] stock_inventory_lockdown: refactor in order to block movement i…
JoanSForgeFlow Sep 17, 2024
cc9166e
[IMP] stock_inventory_lockdown: do not block movements of parent loca…
JoanSForgeFlow Sep 18, 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:babaf62e88e317c7456236551ea3ca7c5620730997acea8fbf6e8c4fa3c9ccc0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/15.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-15-0/stock-logistics-warehouse-15-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=15.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/15.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:%2015.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) <[email protected]>
* Lionel Sausin (Numérigraphe) <[email protected]>
* Laetitia Gangloff (Acsone) <[email protected]>
* Laurent Mignon (Acsone) <[email protected]>
* Lois Rilo (ForgeFlow) <[email protected]>
* Jordi Ballester (ForgeFlow) <[email protected]>
* Michael Allen <[email protected]>
* Bhavesh Odedra <[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/15.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": "15.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 <[email protected]>, 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 <[email protected]>, 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ý <[email protected]>, 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ý <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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