odoo-addon-stock-inventory-lockdown 15.0.1.0.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/stock_inventory_lockdown/README.rst +95 -0
- odoo/addons/stock_inventory_lockdown/__init__.py +1 -0
- odoo/addons/stock_inventory_lockdown/__manifest__.py +16 -0
- odoo/addons/stock_inventory_lockdown/i18n/ca.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/cs_CZ.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/de.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/es.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/es_ES.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/es_MX.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/fi.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/fr.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/gl.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/hr.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/it.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/nl_NL.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/pt.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/pt_BR.po +52 -0
- odoo/addons/stock_inventory_lockdown/i18n/ro.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/sl.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/stock_inventory_lockdown.pot +45 -0
- odoo/addons/stock_inventory_lockdown/i18n/tr.po +48 -0
- odoo/addons/stock_inventory_lockdown/i18n/tr_TR.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/vi_VN.po +49 -0
- odoo/addons/stock_inventory_lockdown/i18n/zh_CN.po +52 -0
- odoo/addons/stock_inventory_lockdown/models/__init__.py +3 -0
- odoo/addons/stock_inventory_lockdown/models/stock_inventory.py +43 -0
- odoo/addons/stock_inventory_lockdown/models/stock_location.py +26 -0
- odoo/addons/stock_inventory_lockdown/models/stock_move_line.py +44 -0
- odoo/addons/stock_inventory_lockdown/readme/CONTRIBUTORS.rst +8 -0
- odoo/addons/stock_inventory_lockdown/readme/DESCRIPTION.rst +1 -0
- odoo/addons/stock_inventory_lockdown/readme/USAGE.rst +7 -0
- odoo/addons/stock_inventory_lockdown/static/description/icon.png +0 -0
- odoo/addons/stock_inventory_lockdown/static/description/index.html +442 -0
- odoo/addons/stock_inventory_lockdown/static/images/move_error.png +0 -0
- odoo/addons/stock_inventory_lockdown/tests/__init__.py +1 -0
- odoo/addons/stock_inventory_lockdown/tests/test_stock_inventory_lockdown.py +166 -0
- odoo_addon_stock_inventory_lockdown-15.0.1.0.0.4.dist-info/METADATA +112 -0
- odoo_addon_stock_inventory_lockdown-15.0.1.0.0.4.dist-info/RECORD +40 -0
- odoo_addon_stock_inventory_lockdown-15.0.1.0.0.4.dist-info/WHEEL +5 -0
- odoo_addon_stock_inventory_lockdown-15.0.1.0.0.4.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# Peter Hageman <hageman.p@gmail.com>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
|
13
|
+
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
|
|
14
|
+
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
|
|
15
|
+
"teams/23907/nl_NL/)\n"
|
|
16
|
+
"Language: nl_NL\n"
|
|
17
|
+
"MIME-Version: 1.0\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
"Content-Transfer-Encoding: \n"
|
|
20
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
21
|
+
|
|
22
|
+
#. module: stock_inventory_lockdown
|
|
23
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
24
|
+
#, python-format
|
|
25
|
+
msgid ""
|
|
26
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
27
|
+
" - %s"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#. module: stock_inventory_lockdown
|
|
31
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
32
|
+
#, python-format
|
|
33
|
+
msgid "An inventory is being conducted at this location"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
#. module: stock_inventory_lockdown
|
|
37
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
38
|
+
msgid "Inventory"
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
#. module: stock_inventory_lockdown
|
|
42
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
43
|
+
msgid "Inventory Locations"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#. module: stock_inventory_lockdown
|
|
47
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
48
|
+
msgid "Stock Move"
|
|
49
|
+
msgstr "Voorraadmutatie"
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
|
13
|
+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
|
14
|
+
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
|
|
15
|
+
"Language: pt\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: \n"
|
|
19
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
20
|
+
|
|
21
|
+
#. module: stock_inventory_lockdown
|
|
22
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
23
|
+
#, python-format
|
|
24
|
+
msgid ""
|
|
25
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
26
|
+
" - %s"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
#. module: stock_inventory_lockdown
|
|
30
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
31
|
+
#, python-format
|
|
32
|
+
msgid "An inventory is being conducted at this location"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
#. module: stock_inventory_lockdown
|
|
36
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
37
|
+
msgid "Inventory"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
#. module: stock_inventory_lockdown
|
|
41
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
42
|
+
msgid "Inventory Locations"
|
|
43
|
+
msgstr ""
|
|
44
|
+
|
|
45
|
+
#. module: stock_inventory_lockdown
|
|
46
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
47
|
+
msgid "Stock Move"
|
|
48
|
+
msgstr "Movimento Stock"
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2019-11-24 19:58+0000\n"
|
|
13
|
+
"Last-Translator: Rodrigo Macedo <rmsolucoeseminformatic4@gmail.com>\n"
|
|
14
|
+
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
|
|
15
|
+
"teams/23907/pt_BR/)\n"
|
|
16
|
+
"Language: pt_BR\n"
|
|
17
|
+
"MIME-Version: 1.0\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
"Content-Transfer-Encoding: \n"
|
|
20
|
+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
|
21
|
+
"X-Generator: Weblate 3.8\n"
|
|
22
|
+
|
|
23
|
+
#. module: stock_inventory_lockdown
|
|
24
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
25
|
+
#, fuzzy, python-format
|
|
26
|
+
msgid ""
|
|
27
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
28
|
+
" - %s"
|
|
29
|
+
msgstr ""
|
|
30
|
+
"Um inventário está sendo realizado nos seguintes locais:\n"
|
|
31
|
+
"%s"
|
|
32
|
+
|
|
33
|
+
#. module: stock_inventory_lockdown
|
|
34
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
35
|
+
#, python-format
|
|
36
|
+
msgid "An inventory is being conducted at this location"
|
|
37
|
+
msgstr "Um inventário está sendo realizado neste local"
|
|
38
|
+
|
|
39
|
+
#. module: stock_inventory_lockdown
|
|
40
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
41
|
+
msgid "Inventory"
|
|
42
|
+
msgstr "Inventário"
|
|
43
|
+
|
|
44
|
+
#. module: stock_inventory_lockdown
|
|
45
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
46
|
+
msgid "Inventory Locations"
|
|
47
|
+
msgstr "localização do inventário"
|
|
48
|
+
|
|
49
|
+
#. module: stock_inventory_lockdown
|
|
50
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
51
|
+
msgid "Stock Move"
|
|
52
|
+
msgstr "Movimentação de estoque"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
|
13
|
+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
|
14
|
+
"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
|
|
15
|
+
"Language: ro\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: \n"
|
|
19
|
+
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
|
20
|
+
"2:1));\n"
|
|
21
|
+
|
|
22
|
+
#. module: stock_inventory_lockdown
|
|
23
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
24
|
+
#, python-format
|
|
25
|
+
msgid ""
|
|
26
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
27
|
+
" - %s"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#. module: stock_inventory_lockdown
|
|
31
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
32
|
+
#, python-format
|
|
33
|
+
msgid "An inventory is being conducted at this location"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
#. module: stock_inventory_lockdown
|
|
37
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
38
|
+
msgid "Inventory"
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
#. module: stock_inventory_lockdown
|
|
42
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
43
|
+
msgid "Inventory Locations"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#. module: stock_inventory_lockdown
|
|
47
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
48
|
+
msgid "Stock Move"
|
|
49
|
+
msgstr "Mișcare stoc"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
|
13
|
+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
|
14
|
+
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
|
|
15
|
+
"Language: sl\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: \n"
|
|
19
|
+
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
|
20
|
+
"%100==4 ? 2 : 3);\n"
|
|
21
|
+
|
|
22
|
+
#. module: stock_inventory_lockdown
|
|
23
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
24
|
+
#, python-format
|
|
25
|
+
msgid ""
|
|
26
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
27
|
+
" - %s"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#. module: stock_inventory_lockdown
|
|
31
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
32
|
+
#, python-format
|
|
33
|
+
msgid "An inventory is being conducted at this location"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
#. module: stock_inventory_lockdown
|
|
37
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
38
|
+
msgid "Inventory"
|
|
39
|
+
msgstr "Inventar"
|
|
40
|
+
|
|
41
|
+
#. module: stock_inventory_lockdown
|
|
42
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
43
|
+
msgid "Inventory Locations"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#. module: stock_inventory_lockdown
|
|
47
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
48
|
+
msgid "Stock Move"
|
|
49
|
+
msgstr "Premik zaloge"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
msgid ""
|
|
6
|
+
msgstr ""
|
|
7
|
+
"Project-Id-Version: Odoo Server 15.0\n"
|
|
8
|
+
"Report-Msgid-Bugs-To: \n"
|
|
9
|
+
"Last-Translator: \n"
|
|
10
|
+
"Language-Team: \n"
|
|
11
|
+
"MIME-Version: 1.0\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
"Content-Transfer-Encoding: \n"
|
|
14
|
+
"Plural-Forms: \n"
|
|
15
|
+
|
|
16
|
+
#. module: stock_inventory_lockdown
|
|
17
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
18
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
19
|
+
#, python-format
|
|
20
|
+
msgid "An inventory is being conducted at this location"
|
|
21
|
+
msgstr ""
|
|
22
|
+
|
|
23
|
+
#. module: stock_inventory_lockdown
|
|
24
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
25
|
+
msgid "Inventory Adjustment Group"
|
|
26
|
+
msgstr ""
|
|
27
|
+
|
|
28
|
+
#. module: stock_inventory_lockdown
|
|
29
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
30
|
+
msgid "Inventory Locations"
|
|
31
|
+
msgstr ""
|
|
32
|
+
|
|
33
|
+
#. module: stock_inventory_lockdown
|
|
34
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move_line.py:0
|
|
35
|
+
#, python-format
|
|
36
|
+
msgid ""
|
|
37
|
+
"Inventory adjusment underway at the following location(s):\n"
|
|
38
|
+
"- %s\n"
|
|
39
|
+
"Moving products to or from these locations is not allowed until the inventory adjustment is complete."
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
#. module: stock_inventory_lockdown
|
|
43
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move_line
|
|
44
|
+
msgid "Product Moves (Stock Move Line)"
|
|
45
|
+
msgstr ""
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
|
13
|
+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
|
14
|
+
"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
|
|
15
|
+
"Language: tr\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: \n"
|
|
19
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
20
|
+
|
|
21
|
+
#. module: stock_inventory_lockdown
|
|
22
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
23
|
+
#, python-format
|
|
24
|
+
msgid ""
|
|
25
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
26
|
+
" - %s"
|
|
27
|
+
msgstr ""
|
|
28
|
+
|
|
29
|
+
#. module: stock_inventory_lockdown
|
|
30
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
31
|
+
#, python-format
|
|
32
|
+
msgid "An inventory is being conducted at this location"
|
|
33
|
+
msgstr ""
|
|
34
|
+
|
|
35
|
+
#. module: stock_inventory_lockdown
|
|
36
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
37
|
+
msgid "Inventory"
|
|
38
|
+
msgstr ""
|
|
39
|
+
|
|
40
|
+
#. module: stock_inventory_lockdown
|
|
41
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
42
|
+
msgid "Inventory Locations"
|
|
43
|
+
msgstr ""
|
|
44
|
+
|
|
45
|
+
#. module: stock_inventory_lockdown
|
|
46
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
47
|
+
msgid "Stock Move"
|
|
48
|
+
msgstr "Stok hareketi"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
|
13
|
+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
|
14
|
+
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/"
|
|
15
|
+
"tr_TR/)\n"
|
|
16
|
+
"Language: tr_TR\n"
|
|
17
|
+
"MIME-Version: 1.0\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
"Content-Transfer-Encoding: \n"
|
|
20
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
21
|
+
|
|
22
|
+
#. module: stock_inventory_lockdown
|
|
23
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
24
|
+
#, python-format
|
|
25
|
+
msgid ""
|
|
26
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
27
|
+
" - %s"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#. module: stock_inventory_lockdown
|
|
31
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
32
|
+
#, python-format
|
|
33
|
+
msgid "An inventory is being conducted at this location"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
#. module: stock_inventory_lockdown
|
|
37
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
38
|
+
msgid "Inventory"
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
#. module: stock_inventory_lockdown
|
|
42
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
43
|
+
msgid "Inventory Locations"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#. module: stock_inventory_lockdown
|
|
47
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
48
|
+
msgid "Stock Move"
|
|
49
|
+
msgstr "Stok hareketi"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2017-11-30 03:53+0000\n"
|
|
13
|
+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
|
14
|
+
"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/"
|
|
15
|
+
"teams/23907/vi_VN/)\n"
|
|
16
|
+
"Language: vi_VN\n"
|
|
17
|
+
"MIME-Version: 1.0\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
"Content-Transfer-Encoding: \n"
|
|
20
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
21
|
+
|
|
22
|
+
#. module: stock_inventory_lockdown
|
|
23
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
24
|
+
#, python-format
|
|
25
|
+
msgid ""
|
|
26
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
27
|
+
" - %s"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
#. module: stock_inventory_lockdown
|
|
31
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
32
|
+
#, python-format
|
|
33
|
+
msgid "An inventory is being conducted at this location"
|
|
34
|
+
msgstr ""
|
|
35
|
+
|
|
36
|
+
#. module: stock_inventory_lockdown
|
|
37
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
38
|
+
msgid "Inventory"
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
#. module: stock_inventory_lockdown
|
|
42
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
43
|
+
msgid "Inventory Locations"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
#. module: stock_inventory_lockdown
|
|
47
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
48
|
+
msgid "Stock Move"
|
|
49
|
+
msgstr "Dịch chuyển kho"
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_inventory_lockdown
|
|
4
|
+
#
|
|
5
|
+
# Translators:
|
|
6
|
+
# OCA Transbot <transbot@odoo-community.org>, 2017
|
|
7
|
+
msgid ""
|
|
8
|
+
msgstr ""
|
|
9
|
+
"Project-Id-Version: Odoo Server 10.0\n"
|
|
10
|
+
"Report-Msgid-Bugs-To: \n"
|
|
11
|
+
"POT-Creation-Date: 2017-11-30 03:53+0000\n"
|
|
12
|
+
"PO-Revision-Date: 2019-09-28 09:24+0000\n"
|
|
13
|
+
"Last-Translator: 黎伟杰 <674416404@qq.com>\n"
|
|
14
|
+
"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/"
|
|
15
|
+
"zh_CN/)\n"
|
|
16
|
+
"Language: zh_CN\n"
|
|
17
|
+
"MIME-Version: 1.0\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
"Content-Transfer-Encoding: \n"
|
|
20
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
21
|
+
"X-Generator: Weblate 3.8\n"
|
|
22
|
+
|
|
23
|
+
#. module: stock_inventory_lockdown
|
|
24
|
+
#: code:addons/stock_inventory_lockdown/models/stock_move.py:0
|
|
25
|
+
#, fuzzy, python-format
|
|
26
|
+
msgid ""
|
|
27
|
+
"An inventory is being conducted at the following location(s):\n"
|
|
28
|
+
" - %s"
|
|
29
|
+
msgstr ""
|
|
30
|
+
"正在以下位置进行盘点:\n"
|
|
31
|
+
"%s"
|
|
32
|
+
|
|
33
|
+
#. module: stock_inventory_lockdown
|
|
34
|
+
#: code:addons/stock_inventory_lockdown/models/stock_location.py:0
|
|
35
|
+
#, python-format
|
|
36
|
+
msgid "An inventory is being conducted at this location"
|
|
37
|
+
msgstr "正在此位置进行盘点"
|
|
38
|
+
|
|
39
|
+
#. module: stock_inventory_lockdown
|
|
40
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_inventory
|
|
41
|
+
msgid "Inventory"
|
|
42
|
+
msgstr "库存"
|
|
43
|
+
|
|
44
|
+
#. module: stock_inventory_lockdown
|
|
45
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_location
|
|
46
|
+
msgid "Inventory Locations"
|
|
47
|
+
msgstr "库存位置"
|
|
48
|
+
|
|
49
|
+
#. module: stock_inventory_lockdown
|
|
50
|
+
#: model:ir.model,name:stock_inventory_lockdown.model_stock_move
|
|
51
|
+
msgid "Stock Move"
|
|
52
|
+
msgstr "库存移动"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# © 2013-2016 Numérigraphe SARL
|
|
2
|
+
# Copyright 2017 ForgeFlow S.L.
|
|
3
|
+
# (http://www.forgeflow.com)
|
|
4
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
5
|
+
|
|
6
|
+
from odoo import api, models
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class StockInventory(models.Model):
|
|
10
|
+
_inherit = "stock.inventory"
|
|
11
|
+
|
|
12
|
+
@api.model
|
|
13
|
+
def _get_locations_open_inventories(self, locations_ids=None):
|
|
14
|
+
if not locations_ids:
|
|
15
|
+
return []
|
|
16
|
+
inventory_domain_same_location = [
|
|
17
|
+
("state", "=", "in_progress"),
|
|
18
|
+
("location_ids", "in", locations_ids),
|
|
19
|
+
]
|
|
20
|
+
inventories_same_location = self.search(inventory_domain_same_location)
|
|
21
|
+
inventory_domain_parent = [
|
|
22
|
+
("state", "=", "in_progress"),
|
|
23
|
+
("exclude_sublocation", "=", False),
|
|
24
|
+
]
|
|
25
|
+
inventories_possible_parent = self.search(inventory_domain_parent)
|
|
26
|
+
inventories_parent = self.env["stock.inventory"]
|
|
27
|
+
for inventory in inventories_possible_parent:
|
|
28
|
+
for location in inventory.location_ids:
|
|
29
|
+
if any(
|
|
30
|
+
location_id in location.child_internal_location_ids.ids
|
|
31
|
+
for location_id in locations_ids
|
|
32
|
+
):
|
|
33
|
+
inventories_parent |= inventory
|
|
34
|
+
inventories = inventories_same_location | inventories_parent
|
|
35
|
+
if not inventories:
|
|
36
|
+
# Early exit if no match found
|
|
37
|
+
return []
|
|
38
|
+
location_ids = inventories.mapped("location_ids")
|
|
39
|
+
location_domain = [
|
|
40
|
+
("id", "in", location_ids.ids),
|
|
41
|
+
("usage", "in", ["internal", "transit"]),
|
|
42
|
+
]
|
|
43
|
+
return self.env["stock.location"].search(location_domain)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# © 2016 Numérigraphe SARL
|
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
3
|
+
|
|
4
|
+
from odoo import _, api, models
|
|
5
|
+
from odoo.exceptions import ValidationError
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class StockLocation(models.Model):
|
|
9
|
+
_inherit = "stock.location"
|
|
10
|
+
|
|
11
|
+
@api.constrains("location_id")
|
|
12
|
+
def _check_inventory_location_id(self):
|
|
13
|
+
vals = set(self.ids) | set(self.mapped("location_id").ids)
|
|
14
|
+
location_inventory_open_ids = self.env[
|
|
15
|
+
"stock.inventory"
|
|
16
|
+
]._get_locations_open_inventories(vals)
|
|
17
|
+
if location_inventory_open_ids:
|
|
18
|
+
raise ValidationError(_("An inventory is being conducted at this location"))
|
|
19
|
+
|
|
20
|
+
def unlink(self):
|
|
21
|
+
location_inventory_open_ids = (
|
|
22
|
+
self.env["stock.inventory"].sudo()._get_locations_open_inventories(self.ids)
|
|
23
|
+
)
|
|
24
|
+
if location_inventory_open_ids:
|
|
25
|
+
raise ValidationError(_("An inventory is being conducted at this location"))
|
|
26
|
+
return super(StockLocation, self).unlink()
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# © 2016 Numérigraphe SARL
|
|
2
|
+
# Copyright 2017 ForgeFlow S.L.
|
|
3
|
+
# (http://www.forgeflow.com)
|
|
4
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
5
|
+
|
|
6
|
+
from odoo import _, api, models
|
|
7
|
+
from odoo.exceptions import ValidationError
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StockMoveLine(models.Model):
|
|
11
|
+
_inherit = "stock.move.line"
|
|
12
|
+
|
|
13
|
+
def _get_reserved_locations(self):
|
|
14
|
+
self.ensure_one()
|
|
15
|
+
return self.move_line_ids.mapped("location_id")
|
|
16
|
+
|
|
17
|
+
def _get_dest_locations(self):
|
|
18
|
+
self.ensure_one()
|
|
19
|
+
return self.move_line_ids.mapped("location_dest_id")
|
|
20
|
+
|
|
21
|
+
@api.constrains("location_dest_id", "location_id", "state")
|
|
22
|
+
def _check_locked_location(self):
|
|
23
|
+
for move_line in self.filtered(lambda m: m.state == "done"):
|
|
24
|
+
locked_location_ids = self.env[
|
|
25
|
+
"stock.inventory"
|
|
26
|
+
]._get_locations_open_inventories(
|
|
27
|
+
[move_line.location_dest_id.id, move_line.location_id.id]
|
|
28
|
+
)
|
|
29
|
+
if locked_location_ids and not any(
|
|
30
|
+
[
|
|
31
|
+
move_line.location_dest_id.usage == "inventory",
|
|
32
|
+
move_line.location_id.usage == "inventory",
|
|
33
|
+
]
|
|
34
|
+
):
|
|
35
|
+
location_names = locked_location_ids.mapped("complete_name")
|
|
36
|
+
raise ValidationError(
|
|
37
|
+
_(
|
|
38
|
+
"Inventory adjusment underway at "
|
|
39
|
+
"the following location(s):\n- %s\n"
|
|
40
|
+
"Moving products to or from these locations is "
|
|
41
|
+
"not allowed until the inventory adjustment is complete."
|
|
42
|
+
)
|
|
43
|
+
% "\n - ".join(location_names)
|
|
44
|
+
)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
* Loïc Bellier (Numérigraphe) <lb@numerigraphe.com>
|
|
2
|
+
* Lionel Sausin (Numérigraphe) <ls@numerigraphe.com>
|
|
3
|
+
* Laetitia Gangloff (Acsone) <laetitia.gangloff@acsone.eu>
|
|
4
|
+
* Laurent Mignon (Acsone) <laurent.mignon@acsone.eu>
|
|
5
|
+
* Lois Rilo (ForgeFlow) <lois.rilo@forgeflow.com>
|
|
6
|
+
* Jordi Ballester (ForgeFlow) <jordi.ballester@forgeflow.com>
|
|
7
|
+
* Michael Allen <mallen@opensourceintegrators.com>
|
|
8
|
+
* Bhavesh Odedra <bodedra@opensourceintegrators.com>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This module lets you lock down the locations during an inventory.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
While an inventory is in the state "In progress", no stock moves
|
|
2
|
+
can be recorded in/out of the inventory's location: users will get an error
|
|
3
|
+
message.
|
|
4
|
+
Creating or modifying locations is also forbidden.
|
|
5
|
+
|
|
6
|
+
.. figure:: static/images/move_error.png
|
|
7
|
+
:alt: Error message
|
|
Binary file
|