mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -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
stock_inventory_lockdown/README.rst
Normal file
92
stock_inventory_lockdown/README.rst
Normal file
@@ -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) <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/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
stock_inventory_lockdown/__init__.py
Normal file
1
stock_inventory_lockdown/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import models
|
||||
16
stock_inventory_lockdown/__manifest__.py
Normal file
16
stock_inventory_lockdown/__manifest__.py
Normal file
@@ -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
stock_inventory_lockdown/i18n/ca.po
Normal file
49
stock_inventory_lockdown/i18n/ca.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: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
stock_inventory_lockdown/i18n/cs_CZ.po
Normal file
50
stock_inventory_lockdown/i18n/cs_CZ.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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: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
stock_inventory_lockdown/i18n/de.po
Normal file
49
stock_inventory_lockdown/i18n/de.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: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
stock_inventory_lockdown/i18n/es.po
Normal file
49
stock_inventory_lockdown/i18n/es.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: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
stock_inventory_lockdown/i18n/es_ES.po
Normal file
49
stock_inventory_lockdown/i18n/es_ES.po
Normal file
@@ -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 ""
|
||||
50
stock_inventory_lockdown/i18n/es_MX.po
Normal file
50
stock_inventory_lockdown/i18n/es_MX.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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 (Mexico) (https://www.transifex.com/oca/teams/23907/"
|
||||
"es_MX/)\n"
|
||||
"Language: es_MX\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 "Movimiento bursátil"
|
||||
49
stock_inventory_lockdown/i18n/fi.po
Normal file
49
stock_inventory_lockdown/i18n/fi.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
|
||||
"Language: fi\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 "Varastosiirto"
|
||||
49
stock_inventory_lockdown/i18n/fr.po
Normal file
49
stock_inventory_lockdown/i18n/fr.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
||||
"Language: fr\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 "Inventaire"
|
||||
|
||||
#. 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 "Mouvement de stock"
|
||||
49
stock_inventory_lockdown/i18n/gl.po
Normal file
49
stock_inventory_lockdown/i18n/gl.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n"
|
||||
"Language: gl\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 "Movemento de existencias"
|
||||
50
stock_inventory_lockdown/i18n/hr.po
Normal file
50
stock_inventory_lockdown/i18n/hr.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
|
||||
"Language: hr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 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 ""
|
||||
|
||||
#. 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 "Skladišni prenos"
|
||||
49
stock_inventory_lockdown/i18n/it.po
Normal file
49
stock_inventory_lockdown/i18n/it.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
|
||||
"Language: it\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 "Movimento di magazzino"
|
||||
50
stock_inventory_lockdown/i18n/nl_NL.po
Normal file
50
stock_inventory_lockdown/i18n/nl_NL.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * stock_inventory_lockdown
|
||||
#
|
||||
# Translators:
|
||||
# Peter Hageman <hageman.p@gmail.com>, 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: Peter Hageman <hageman.p@gmail.com>, 2017\n"
|
||||
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
|
||||
"teams/23907/nl_NL/)\n"
|
||||
"Language: nl_NL\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 "Voorraadmutatie"
|
||||
49
stock_inventory_lockdown/i18n/pt.po
Normal file
49
stock_inventory_lockdown/i18n/pt.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
|
||||
"Language: pt\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 "Movimento Stock"
|
||||
53
stock_inventory_lockdown/i18n/pt_BR.po
Normal file
53
stock_inventory_lockdown/i18n/pt_BR.po
Normal file
@@ -0,0 +1,53 @@
|
||||
# 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: 2019-11-24 19:58+0000\n"
|
||||
"Last-Translator: Rodrigo Macedo <rmsolucoeseminformatic4@gmail.com>\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/"
|
||||
"23907/pt_BR/)\n"
|
||||
"Language: pt_BR\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"
|
||||
"X-Generator: Weblate 3.8\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 ""
|
||||
"Um inventário está sendo realizado nos seguintes locais:\n"
|
||||
"%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 "Um inventário está sendo realizado neste local"
|
||||
|
||||
#. module: stock_inventory_lockdown
|
||||
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
||||
msgid "Inventory"
|
||||
msgstr "Inventário"
|
||||
|
||||
#. module: stock_inventory_lockdown
|
||||
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
||||
msgid "Inventory Locations"
|
||||
msgstr "localização do inventário"
|
||||
|
||||
#. module: stock_inventory_lockdown
|
||||
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
||||
msgid "Stock Move"
|
||||
msgstr "Movimentação de estoque"
|
||||
50
stock_inventory_lockdown/i18n/ro.po
Normal file
50
stock_inventory_lockdown/i18n/ro.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
|
||||
"Language: ro\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%100>19)||((n%100==0)&&(n!=0)))?"
|
||||
"2: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 "Mișcare stoc"
|
||||
50
stock_inventory_lockdown/i18n/sl.po
Normal file
50
stock_inventory_lockdown/i18n/sl.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3);\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 "Inventar"
|
||||
|
||||
#. 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 "Premik zaloge"
|
||||
44
stock_inventory_lockdown/i18n/stock_inventory_lockdown.pot
Normal file
44
stock_inventory_lockdown/i18n/stock_inventory_lockdown.pot
Normal file
@@ -0,0 +1,44 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * stock_inventory_lockdown
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \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 ""
|
||||
|
||||
49
stock_inventory_lockdown/i18n/tr.po
Normal file
49
stock_inventory_lockdown/i18n/tr.po
Normal file
@@ -0,0 +1,49 @@
|
||||
# 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: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
|
||||
"Language: tr\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 "Stok hareketi"
|
||||
50
stock_inventory_lockdown/i18n/tr_TR.po
Normal file
50
stock_inventory_lockdown/i18n/tr_TR.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/"
|
||||
"tr_TR/)\n"
|
||||
"Language: tr_TR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\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 "Stok hareketi"
|
||||
50
stock_inventory_lockdown/i18n/vi_VN.po
Normal file
50
stock_inventory_lockdown/i18n/vi_VN.po
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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: Vietnamese (Viet Nam) (https://www.transifex.com/oca/"
|
||||
"teams/23907/vi_VN/)\n"
|
||||
"Language: vi_VN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\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 "Dịch chuyển kho"
|
||||
53
stock_inventory_lockdown/i18n/zh_CN.po
Normal file
53
stock_inventory_lockdown/i18n/zh_CN.po
Normal file
@@ -0,0 +1,53 @@
|
||||
# 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: 2019-09-28 09:24+0000\n"
|
||||
"Last-Translator: 黎伟杰 <674416404@qq.com>\n"
|
||||
"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/"
|
||||
"zh_CN/)\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 3.8\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 ""
|
||||
"正在以下位置进行盘点:\n"
|
||||
"%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 "正在此位置进行盘点"
|
||||
|
||||
#. 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 "库存移动"
|
||||
3
stock_inventory_lockdown/models/__init__.py
Normal file
3
stock_inventory_lockdown/models/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from . import stock_move
|
||||
from . import stock_inventory
|
||||
from . import stock_location
|
||||
31
stock_inventory_lockdown/models/stock_inventory.py
Normal file
31
stock_inventory_lockdown/models/stock_inventory.py
Normal file
@@ -0,0 +1,31 @@
|
||||
# © 2013-2016 Numérigraphe SARL
|
||||
# Copyright 2017 ForgeFlow S.L.
|
||||
# (http://www.eficent.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class StockInventory(models.Model):
|
||||
_inherit = "stock.inventory"
|
||||
|
||||
@api.model
|
||||
def _get_locations_open_inventories(self, locations_ids=None):
|
||||
"""IDs of locations in open exhaustive inventories, with children"""
|
||||
inventory_domain = [("state", "=", "confirm")]
|
||||
if locations_ids:
|
||||
inventory_domain.append(("location_ids", "child_of", locations_ids))
|
||||
inventories = self.search(inventory_domain)
|
||||
if not inventories:
|
||||
# Early exit if no match found
|
||||
return []
|
||||
location_ids = inventories.mapped("location_ids")
|
||||
|
||||
# Extend to the children Locations
|
||||
location_domain = [
|
||||
"|",
|
||||
("location_id", "in", location_ids.ids),
|
||||
("location_id", "child_of", location_ids.ids),
|
||||
("usage", "in", ["internal", "transit"]),
|
||||
]
|
||||
return self.env["stock.location"].search(location_domain)
|
||||
31
stock_inventory_lockdown/models/stock_location.py
Normal file
31
stock_inventory_lockdown/models/stock_location.py
Normal file
@@ -0,0 +1,31 @@
|
||||
# © 2016 Numérigraphe SARL
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import _, api, models
|
||||
from odoo.exceptions import ValidationError
|
||||
|
||||
|
||||
class StockLocation(models.Model):
|
||||
"""Refuse changes during exhaustive Inventories"""
|
||||
|
||||
_inherit = "stock.location"
|
||||
_order = "name"
|
||||
|
||||
@api.constrains("location_id")
|
||||
def _check_inventory_location_id(self):
|
||||
"""Error if an inventory is being conducted here"""
|
||||
vals = set(self.ids) | set(self.mapped("location_id").ids)
|
||||
location_inventory_open_ids = (
|
||||
self.env["stock.inventory"].sudo()._get_locations_open_inventories(vals)
|
||||
)
|
||||
if location_inventory_open_ids:
|
||||
raise ValidationError(_("An inventory is being conducted at this location"))
|
||||
|
||||
def unlink(self):
|
||||
"""Refuse unlink if an inventory is being conducted"""
|
||||
location_inventory_open_ids = (
|
||||
self.env["stock.inventory"].sudo()._get_locations_open_inventories(self.ids)
|
||||
)
|
||||
if location_inventory_open_ids:
|
||||
raise ValidationError(_("An inventory is being conducted at this location"))
|
||||
return super(StockLocation, self).unlink()
|
||||
52
stock_inventory_lockdown/models/stock_move.py
Normal file
52
stock_inventory_lockdown/models/stock_move.py
Normal file
@@ -0,0 +1,52 @@
|
||||
# © 2016 Numérigraphe SARL
|
||||
# Copyright 2017 ForgeFlow S.L.
|
||||
# (http://www.eficent.com)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import _, api, models
|
||||
from odoo.exceptions import ValidationError
|
||||
|
||||
|
||||
class StockMove(models.Model):
|
||||
_inherit = "stock.move"
|
||||
|
||||
def _get_reserved_locations(self):
|
||||
self.ensure_one()
|
||||
return self.move_line_ids.mapped("location_id")
|
||||
|
||||
def _get_dest_locations(self):
|
||||
self.ensure_one()
|
||||
return self.move_line_ids.mapped("location_dest_id")
|
||||
|
||||
@api.constrains("location_dest_id", "location_id", "state")
|
||||
def _check_locked_location(self):
|
||||
for move in self.filtered(lambda m: m.state != "draft"):
|
||||
locked_location_ids = self.env[
|
||||
"stock.inventory"
|
||||
]._get_locations_open_inventories(
|
||||
[move.location_dest_id.id, move.location_id.id]
|
||||
)
|
||||
reserved_locs = move._get_reserved_locations()
|
||||
dest_locs = move._get_dest_locations()
|
||||
if (
|
||||
locked_location_ids
|
||||
and not any(
|
||||
[
|
||||
move.location_dest_id.usage == "inventory",
|
||||
move.location_id.usage == "inventory",
|
||||
]
|
||||
)
|
||||
and (
|
||||
move.location_dest_id in locked_location_ids
|
||||
or any([l in locked_location_ids for l in dest_locs])
|
||||
or any([l in locked_location_ids for l in reserved_locs])
|
||||
)
|
||||
):
|
||||
location_names = locked_location_ids.mapped("complete_name")
|
||||
raise ValidationError(
|
||||
_(
|
||||
"An inventory is being conducted at the following "
|
||||
"location(s):\n - %s"
|
||||
)
|
||||
% "\n - ".join(location_names)
|
||||
)
|
||||
8
stock_inventory_lockdown/readme/CONTRIBUTORS.rst
Normal file
8
stock_inventory_lockdown/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
* 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>
|
||||
1
stock_inventory_lockdown/readme/DESCRIPTION.rst
Normal file
1
stock_inventory_lockdown/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1 @@
|
||||
This module lets you lock down the locations during an inventory.
|
||||
7
stock_inventory_lockdown/readme/USAGE.rst
Normal file
7
stock_inventory_lockdown/readme/USAGE.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
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:: static/images/move_error.png
|
||||
:alt: Error message
|
||||
BIN
stock_inventory_lockdown/static/description/icon.png
Normal file
BIN
stock_inventory_lockdown/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
438
stock_inventory_lockdown/static/description/index.html
Normal file
438
stock_inventory_lockdown/static/description/index.html
Normal file
@@ -0,0 +1,438 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||
<title>Inventory Lock Down</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
|
||||
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
/* used to remove borders from tables and images */
|
||||
.borderless, table.borderless td, table.borderless th {
|
||||
border: 0 }
|
||||
|
||||
table.borderless td, table.borderless th {
|
||||
/* Override padding for "table.docutils td" with "! important".
|
||||
The right padding separates the table cells. */
|
||||
padding: 0 0.5em 0 0 ! important }
|
||||
|
||||
.first {
|
||||
/* Override more specific margin styles with "! important". */
|
||||
margin-top: 0 ! important }
|
||||
|
||||
.last, .with-subtitle {
|
||||
margin-bottom: 0 ! important }
|
||||
|
||||
.hidden {
|
||||
display: none }
|
||||
|
||||
.subscript {
|
||||
vertical-align: sub;
|
||||
font-size: smaller }
|
||||
|
||||
.superscript {
|
||||
vertical-align: super;
|
||||
font-size: smaller }
|
||||
|
||||
a.toc-backref {
|
||||
text-decoration: none ;
|
||||
color: black }
|
||||
|
||||
blockquote.epigraph {
|
||||
margin: 2em 5em ; }
|
||||
|
||||
dl.docutils dd {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||
dl.docutils dt {
|
||||
font-weight: bold }
|
||||
*/
|
||||
|
||||
div.abstract {
|
||||
margin: 2em 5em }
|
||||
|
||||
div.abstract p.topic-title {
|
||||
font-weight: bold ;
|
||||
text-align: center }
|
||||
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||
div.hint, div.important, div.note, div.tip, div.warning {
|
||||
margin: 2em ;
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||
div.important p.admonition-title, div.note p.admonition-title,
|
||||
div.tip p.admonition-title {
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||
div.danger p.admonition-title, div.error p.admonition-title,
|
||||
div.warning p.admonition-title, .code .error {
|
||||
color: red ;
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||
compound paragraphs.
|
||||
div.compound .compound-first, div.compound .compound-middle {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
div.compound .compound-last, div.compound .compound-middle {
|
||||
margin-top: 0.5em }
|
||||
*/
|
||||
|
||||
div.dedication {
|
||||
margin: 2em 5em ;
|
||||
text-align: center ;
|
||||
font-style: italic }
|
||||
|
||||
div.dedication p.topic-title {
|
||||
font-weight: bold ;
|
||||
font-style: normal }
|
||||
|
||||
div.figure {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
div.footer, div.header {
|
||||
clear: both;
|
||||
font-size: smaller }
|
||||
|
||||
div.line-block {
|
||||
display: block ;
|
||||
margin-top: 1em ;
|
||||
margin-bottom: 1em }
|
||||
|
||||
div.line-block div.line-block {
|
||||
margin-top: 0 ;
|
||||
margin-bottom: 0 ;
|
||||
margin-left: 1.5em }
|
||||
|
||||
div.sidebar {
|
||||
margin: 0 0 0.5em 1em ;
|
||||
border: medium outset ;
|
||||
padding: 1em ;
|
||||
background-color: #ffffee ;
|
||||
width: 40% ;
|
||||
float: right ;
|
||||
clear: right }
|
||||
|
||||
div.sidebar p.rubric {
|
||||
font-family: sans-serif ;
|
||||
font-size: medium }
|
||||
|
||||
div.system-messages {
|
||||
margin: 5em }
|
||||
|
||||
div.system-messages h1 {
|
||||
color: red }
|
||||
|
||||
div.system-message {
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.system-message p.system-message-title {
|
||||
color: red ;
|
||||
font-weight: bold }
|
||||
|
||||
div.topic {
|
||||
margin: 2em }
|
||||
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||
margin-top: 0.4em }
|
||||
|
||||
h1.title {
|
||||
text-align: center }
|
||||
|
||||
h2.subtitle {
|
||||
text-align: center }
|
||||
|
||||
hr.docutils {
|
||||
width: 75% }
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||
clear: left ;
|
||||
float: left ;
|
||||
margin-right: 1em }
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||
clear: right ;
|
||||
float: right ;
|
||||
margin-left: 1em }
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.align-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left }
|
||||
|
||||
.align-center {
|
||||
clear: both ;
|
||||
text-align: center }
|
||||
|
||||
.align-right {
|
||||
text-align: right }
|
||||
|
||||
/* reset inner alignment in figures */
|
||||
div.align-right {
|
||||
text-align: inherit }
|
||||
|
||||
/* div.align-center * { */
|
||||
/* text-align: left } */
|
||||
|
||||
.align-top {
|
||||
vertical-align: top }
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle }
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom }
|
||||
|
||||
ol.simple, ul.simple {
|
||||
margin-bottom: 1em }
|
||||
|
||||
ol.arabic {
|
||||
list-style: decimal }
|
||||
|
||||
ol.loweralpha {
|
||||
list-style: lower-alpha }
|
||||
|
||||
ol.upperalpha {
|
||||
list-style: upper-alpha }
|
||||
|
||||
ol.lowerroman {
|
||||
list-style: lower-roman }
|
||||
|
||||
ol.upperroman {
|
||||
list-style: upper-roman }
|
||||
|
||||
p.attribution {
|
||||
text-align: right ;
|
||||
margin-left: 50% }
|
||||
|
||||
p.caption {
|
||||
font-style: italic }
|
||||
|
||||
p.credits {
|
||||
font-style: italic ;
|
||||
font-size: smaller }
|
||||
|
||||
p.label {
|
||||
white-space: nowrap }
|
||||
|
||||
p.rubric {
|
||||
font-weight: bold ;
|
||||
font-size: larger ;
|
||||
color: maroon ;
|
||||
text-align: center }
|
||||
|
||||
p.sidebar-title {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold ;
|
||||
font-size: larger }
|
||||
|
||||
p.sidebar-subtitle {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
p.topic-title {
|
||||
font-weight: bold }
|
||||
|
||||
pre.address {
|
||||
margin-bottom: 0 ;
|
||||
margin-top: 0 ;
|
||||
font: inherit }
|
||||
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: grey; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||
|
||||
span.classifier {
|
||||
font-family: sans-serif ;
|
||||
font-style: oblique }
|
||||
|
||||
span.classifier-delimiter {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
span.interpreted {
|
||||
font-family: sans-serif }
|
||||
|
||||
span.option {
|
||||
white-space: nowrap }
|
||||
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
/* font-size relative to parent (h1..h6 element) */
|
||||
font-size: 80% }
|
||||
|
||||
table.citation {
|
||||
border-left: solid 1px gray;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docinfo {
|
||||
margin: 2em 4em }
|
||||
|
||||
table.docutils {
|
||||
margin-top: 0.5em ;
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
table.footnote {
|
||||
border-left: solid 1px black;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docutils td, table.docutils th,
|
||||
table.docinfo td, table.docinfo th {
|
||||
padding-left: 0.5em ;
|
||||
padding-right: 0.5em ;
|
||||
vertical-align: top }
|
||||
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||
font-weight: bold ;
|
||||
text-align: left ;
|
||||
white-space: nowrap ;
|
||||
padding-left: 0 }
|
||||
|
||||
/* "booktabs" style (no vertical lines) */
|
||||
table.docutils.booktabs {
|
||||
border: 0px;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.docutils.booktabs * {
|
||||
border: 0px;
|
||||
}
|
||||
table.docutils.booktabs th {
|
||||
border-bottom: thin solid;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||
font-size: 100% }
|
||||
|
||||
ul.auto-toc {
|
||||
list-style-type: none }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="inventory-lock-down">
|
||||
<h1 class="title">Inventory Lock Down</h1>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_inventory_lockdown"><img alt="OCA/stock-logistics-warehouse" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--warehouse-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_inventory_lockdown"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/153/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module lets you lock down the locations during an inventory.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
|
||||
<p>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.</p>
|
||||
<div class="figure">
|
||||
<img alt="Error message" src="https://raw.githubusercontent.com/OCA/stock-logistics-warehouse/13.0/stock_inventory_lockdown/static/images/move_error.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="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**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#id3">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#id4">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Numérigraphe</li>
|
||||
<li>ForgeFlow</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Loïc Bellier (Numérigraphe) <<a class="reference external" href="mailto:lb@numerigraphe.com">lb@numerigraphe.com</a>></li>
|
||||
<li>Lionel Sausin (Numérigraphe) <<a class="reference external" href="mailto:ls@numerigraphe.com">ls@numerigraphe.com</a>></li>
|
||||
<li>Laetitia Gangloff (Acsone) <<a class="reference external" href="mailto:laetitia.gangloff@acsone.eu">laetitia.gangloff@acsone.eu</a>></li>
|
||||
<li>Laurent Mignon (Acsone) <<a class="reference external" href="mailto:laurent.mignon@acsone.eu">laurent.mignon@acsone.eu</a>></li>
|
||||
<li>Lois Rilo (ForgeFlow) <<a class="reference external" href="mailto:lois.rilo@forgeflow.com">lois.rilo@forgeflow.com</a>></li>
|
||||
<li>Jordi Ballester (ForgeFlow) <<a class="reference external" href="mailto:jordi.ballester@forgeflow.com">jordi.ballester@forgeflow.com</a>></li>
|
||||
<li>Michael Allen <<a class="reference external" href="mailto:mallen@opensourceintegrators.com">mallen@opensourceintegrators.com</a>></li>
|
||||
<li>Bhavesh Odedra <<a class="reference external" href="mailto:bodedra@opensourceintegrators.com">bodedra@opensourceintegrators.com</a>></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<p>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.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/stock-logistics-warehouse/tree/13.0/stock_inventory_lockdown">OCA/stock-logistics-warehouse</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
stock_inventory_lockdown/static/images/move_error.png
Normal file
BIN
stock_inventory_lockdown/static/images/move_error.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
1
stock_inventory_lockdown/tests/__init__.py
Normal file
1
stock_inventory_lockdown/tests/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import test_stock_inventory_lockdown
|
||||
160
stock_inventory_lockdown/tests/test_stock_inventory_lockdown.py
Normal file
160
stock_inventory_lockdown/tests/test_stock_inventory_lockdown.py
Normal file
@@ -0,0 +1,160 @@
|
||||
# © 2014 Acsone SA/NV (http://www.acsone.eu)
|
||||
# © 2016 Numérigraphe SARL
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo.exceptions import ValidationError
|
||||
|
||||
from odoo.addons.stock.tests.common import TestStockCommon
|
||||
|
||||
|
||||
class StockInventoryLocationTest(TestStockCommon):
|
||||
def setUp(self):
|
||||
super(StockInventoryLocationTest, self).setUp()
|
||||
# Make a new location with a parent and a child.
|
||||
self.new_parent_location = self.env["stock.location"].create(
|
||||
{"name": "Test parent location", "usage": "internal"}
|
||||
)
|
||||
self.new_location = self.env["stock.location"].create(
|
||||
{
|
||||
"name": "Test location",
|
||||
"usage": "internal",
|
||||
"location_id": self.new_parent_location.id,
|
||||
}
|
||||
)
|
||||
self.new_sublocation = self.env["stock.location"].create(
|
||||
{
|
||||
"name": "Test sublocation",
|
||||
"usage": "internal",
|
||||
"location_id": self.new_location.id,
|
||||
}
|
||||
)
|
||||
# Input goods
|
||||
self.env["stock.quant"].create(
|
||||
{
|
||||
"location_id": self.new_location.id,
|
||||
"product_id": self.productA.id,
|
||||
"quantity": 10.0,
|
||||
}
|
||||
)
|
||||
self.env["stock.quant"].create(
|
||||
{
|
||||
"location_id": self.new_parent_location.id,
|
||||
"product_id": self.productB.id,
|
||||
"quantity": 5.0,
|
||||
}
|
||||
)
|
||||
# Prepare an inventory
|
||||
self.inventory = self.env["stock.inventory"].create(
|
||||
{"name": "Lock down location", "location_ids": [(4, self.new_location.id)]}
|
||||
)
|
||||
self.inventory.action_start()
|
||||
self.assertTrue(self.inventory.line_ids, "The inventory is empty.")
|
||||
|
||||
def create_stock_move(self, product, origin_id=False, dest_id=False):
|
||||
return self.env["stock.move"].create(
|
||||
{
|
||||
"name": "Test move lock down",
|
||||
"product_id": product.id,
|
||||
"product_uom_qty": 10.0,
|
||||
"product_uom": product.uom_id.id,
|
||||
"location_id": origin_id or self.supplier_location,
|
||||
"location_dest_id": dest_id or self.customer_location,
|
||||
}
|
||||
)
|
||||
|
||||
def test_update_parent_location(self):
|
||||
"""Updating the parent of a location is OK if no inv. in progress."""
|
||||
self.inventory.action_cancel_draft()
|
||||
self.inventory.location_ids.location_id = self.env.ref(
|
||||
"stock.stock_location_14"
|
||||
)
|
||||
|
||||
def test_update_parent_location_locked_down(self):
|
||||
"""Updating the parent of a location must fail"""
|
||||
with self.assertRaises(ValidationError):
|
||||
self.inventory.location_ids.location_id = self.env.ref(
|
||||
"stock.stock_location_stock"
|
||||
)
|
||||
|
||||
def test_inventory(self):
|
||||
"""We must still be able to finish the inventory"""
|
||||
self.assertTrue(self.inventory.line_ids)
|
||||
self.inventory.line_ids.write({"product_qty": 42.0})
|
||||
for line in self.inventory.line_ids:
|
||||
self.assertNotEqual(
|
||||
line.product_id.with_context(
|
||||
location=line.location_id.id
|
||||
).qty_available,
|
||||
42.0,
|
||||
)
|
||||
self.inventory.action_validate()
|
||||
for line in self.inventory.line_ids:
|
||||
self.assertEqual(
|
||||
line.product_id.with_context(
|
||||
location=line.location_id.id
|
||||
).qty_available,
|
||||
42.0,
|
||||
)
|
||||
|
||||
def test_inventory_sublocation(self):
|
||||
"""We must be able to make an inventory in a sublocation"""
|
||||
inventory_subloc = self.env["stock.inventory"].create(
|
||||
{
|
||||
"name": "Lock down location",
|
||||
"location_ids": [(4, self.new_sublocation.id)],
|
||||
}
|
||||
)
|
||||
inventory_subloc.action_start()
|
||||
line = self.env["stock.inventory.line"].create(
|
||||
{
|
||||
"product_id": self.productA.id,
|
||||
"product_qty": 22.0,
|
||||
"location_id": self.new_sublocation.id,
|
||||
"inventory_id": inventory_subloc.id,
|
||||
}
|
||||
)
|
||||
self.assertTrue(inventory_subloc.line_ids)
|
||||
inventory_subloc.action_validate()
|
||||
self.assertEqual(
|
||||
line.product_id.with_context(location=line.location_id.id).qty_available,
|
||||
22.0,
|
||||
)
|
||||
|
||||
def test_move(self):
|
||||
"""Stock moves must be forbidden during inventory from/to inventoried
|
||||
location."""
|
||||
move1 = self.create_stock_move(
|
||||
self.productA, origin_id=self.inventory.location_ids.id
|
||||
)
|
||||
move1._action_confirm()
|
||||
with self.assertRaises(ValidationError):
|
||||
move1._action_assign()
|
||||
move1.move_line_ids[0].qty_done = 10.0
|
||||
move1._action_done()
|
||||
move2 = self.create_stock_move(
|
||||
self.productA, dest_id=self.inventory.location_ids.id
|
||||
)
|
||||
with self.assertRaises(ValidationError):
|
||||
move2._action_confirm()
|
||||
move2._action_assign()
|
||||
move2.move_line_ids[0].qty_done = 10.0
|
||||
move2._action_done()
|
||||
|
||||
def test_move_reserved_quants(self):
|
||||
"""Shipping stock should be allowed or not depending on reserved
|
||||
quants' locations.
|
||||
* move1: quants are fetched from the parent location.
|
||||
* move2: quants are fetched from 'new location' which is being
|
||||
inventoried."""
|
||||
move1 = self.create_stock_move(self.productB, self.new_parent_location.id)
|
||||
move1._action_confirm()
|
||||
move1._action_assign()
|
||||
move1.move_line_ids[0].qty_done = 10.0
|
||||
move1._action_done()
|
||||
self.assertEqual(move1.state, "done", "Move has not been completed")
|
||||
move2 = self.create_stock_move(self.productA, self.new_parent_location.id)
|
||||
move2._action_confirm()
|
||||
with self.assertRaises(ValidationError):
|
||||
move2._action_assign()
|
||||
move2.move_line_ids[0].qty_done = 10.0
|
||||
move2._action_done()
|
||||
Reference in New Issue
Block a user