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

[13.0][MIG] stock_inventory_lockdown #811

Merged
merged 23 commits into from
Dec 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3e71bf0
New module stock_inventory_lockdown
Mar 21, 2016
afd7344
OCA Transbot updated translations from Transifex
oca-transbot Apr 17, 2016
dd8f382
stock_inventory_lockdown
MiquelRForgeFlow May 12, 2017
0b4ffa3
OCA Transbot updated translations from Transifex
oca-transbot Jun 10, 2017
b506999
refactor the module to perform lockdown validations using constraint
JordiBForgeFlow Jun 27, 2017
006db42
[MIG] stock_inventory_lockdown: Migration to 10.0
MiquelRForgeFlow Jul 27, 2017
7b465b9
OCA Transbot updated translations from Transifex
oca-transbot Dec 2, 2017
dae14da
[10.0][FIX] stock_inventory_lockdown: locking unneded locations.
LoisRForgeFlow Nov 16, 2017
97a1e18
[11.0][MIG] stock_inventory_lockdown
LoisRForgeFlow Sep 12, 2018
78e36c6
[UPD] README.rst
OCA-git-bot Oct 23, 2018
3f108d8
[UPD] Update stock_inventory_lockdown.pot
oca-travis Oct 23, 2018
7c5dcbd
[UPD] README.rst
OCA-git-bot Dec 2, 2018
eda934d
Update translation files
oca-transbot Dec 9, 2018
944c974
[12.0][MIG]stock_inventory_lockdown
osimallen Jun 25, 2019
e867c22
[UPD] Update stock_inventory_lockdown.pot
oca-travis Jul 3, 2019
edc077b
[UPD] README.rst
OCA-git-bot Jul 3, 2019
25feb81
[UPD] README.rst
OCA-git-bot Jul 29, 2019
92f98cc
[FIX] Don't check in any case of inventory adjustments
MiquelRForgeFlow Sep 18, 2019
26b9f86
stock_inventory_lockdown 12.0.1.0.1
OCA-git-bot Sep 26, 2019
d340f08
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 28, 2019
e861f81
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
d922fc7
[IMP] stock_inventory_lockdown: black, isort
AdriaGForgeFlow Dec 20, 2019
21f259c
[MIG] stock_inventory_lockdown: Migration to 13.0
AdriaGForgeFlow Dec 20, 2019
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
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ line_length=88
known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
known_third_party=
known_third_party=setuptools
92 changes: 92 additions & 0 deletions stock_inventory_lockdown/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
===================
Inventory Lock Down
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |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/13.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-13-0/stock-logistics-warehouse-13-0-stock_inventory_lockdown
: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/13.0
:alt: Try me on Runbot

|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/13.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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-warehouse/issues/new?body=module:%20stock_inventory_lockdown%0Aversion:%2013.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/13.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": "13.0.1.0.0",
"development_status": "Mature",
"depends": ["stock"],
"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,
}
49 changes: 49 additions & 0 deletions stock_inventory_lockdown/i18n/ca.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:
# 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:39
#, 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:22
#: code:addons/stock_inventory_lockdown/models/stock_location.py:31
#, 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"
50 changes: 50 additions & 0 deletions stock_inventory_lockdown/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 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:39
#, 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:22
#: code:addons/stock_inventory_lockdown/models/stock_location.py:31
#, 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"
49 changes: 49 additions & 0 deletions stock_inventory_lockdown/i18n/de.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:
# 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:39
#, 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:22
#: code:addons/stock_inventory_lockdown/models/stock_location.py:31
#, 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"
49 changes: 49 additions & 0 deletions stock_inventory_lockdown/i18n/es.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:
# 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:39
#, 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:22
#: code:addons/stock_inventory_lockdown/models/stock_location.py:31
#, 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"
49 changes: 49 additions & 0 deletions stock_inventory_lockdown/i18n/es_ES.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:
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:39
#, 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:22
#: code:addons/stock_inventory_lockdown/models/stock_location.py:31
#, 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