odoo-addon-stock-restrict-lot 15.0.0.0.2.1__py3-none-any.whl → 15.0.0.1.0__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.
Potentially problematic release.
This version of odoo-addon-stock-restrict-lot might be problematic. Click here for more details.
- odoo/addons/stock_restrict_lot/README.rst +4 -4
- odoo/addons/stock_restrict_lot/__manifest__.py +2 -2
- odoo/addons/stock_restrict_lot/i18n/it.po +41 -0
- odoo/addons/stock_restrict_lot/models/product_product.py +22 -0
- odoo/addons/stock_restrict_lot/static/description/index.html +9 -7
- {odoo_addon_stock_restrict_lot-15.0.0.0.2.1.dist-info → odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info}/METADATA +9 -12
- {odoo_addon_stock_restrict_lot-15.0.0.0.2.1.dist-info → odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info}/RECORD +9 -7
- {odoo_addon_stock_restrict_lot-15.0.0.0.2.1.dist-info → odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info}/WHEEL +1 -1
- {odoo_addon_stock_restrict_lot-15.0.0.0.2.1.dist-info → odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info}/top_level.txt +0 -0
|
@@ -7,15 +7,15 @@ Stock Restrict Lot
|
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
8
|
!! changes will be overwritten. !!
|
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
10
|
+
!! source digest: sha256:db70668c9cb8c7c38a3e92c3ae05c3a7a241a2a31fe86fff519da42d98071009
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
14
14
|
:target: https://odoo-community.org/page/development-status
|
|
15
15
|
:alt: Beta
|
|
16
|
-
.. |badge2| image:: https://img.shields.io/badge/licence-
|
|
17
|
-
:target: http://www.gnu.org/licenses/
|
|
18
|
-
:alt: License:
|
|
16
|
+
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
|
17
|
+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
|
18
|
+
:alt: License: LGPL-3
|
|
19
19
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
|
|
20
20
|
:target: https://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_restrict_lot
|
|
21
21
|
:alt: OCA/stock-logistics-workflow
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Stock Restrict Lot",
|
|
3
3
|
"summary": "Base module that add back the concept of restrict lot on stock move",
|
|
4
|
-
"version": "15.0.0.0
|
|
4
|
+
"version": "15.0.0.1.0",
|
|
5
5
|
"category": "Warehouse Management",
|
|
6
6
|
"website": "https://github.com/OCA/stock-logistics-workflow",
|
|
7
7
|
"author": "Akretion, Odoo Community Association (OCA)",
|
|
8
8
|
"maintainers": ["florian-dacosta"],
|
|
9
|
-
"license": "
|
|
9
|
+
"license": "LGPL-3",
|
|
10
10
|
"installable": True,
|
|
11
11
|
"depends": ["stock"],
|
|
12
12
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Translation of Odoo Server.
|
|
2
|
+
# This file contains the translation of the following modules:
|
|
3
|
+
# * stock_restrict_lot
|
|
4
|
+
#
|
|
5
|
+
msgid ""
|
|
6
|
+
msgstr ""
|
|
7
|
+
"Project-Id-Version: Odoo Server 15.0\n"
|
|
8
|
+
"Report-Msgid-Bugs-To: \n"
|
|
9
|
+
"PO-Revision-Date: 2023-11-24 10:33+0000\n"
|
|
10
|
+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
|
11
|
+
"Language-Team: none\n"
|
|
12
|
+
"Language: it\n"
|
|
13
|
+
"MIME-Version: 1.0\n"
|
|
14
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
15
|
+
"Content-Transfer-Encoding: \n"
|
|
16
|
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
17
|
+
"X-Generator: Weblate 4.17\n"
|
|
18
|
+
|
|
19
|
+
#. module: stock_restrict_lot
|
|
20
|
+
#: code:addons/stock_restrict_lot/models/stock_move.py:0
|
|
21
|
+
#, python-format
|
|
22
|
+
msgid ""
|
|
23
|
+
"Inconsistencies between reserved quant and lot restriction on stock move"
|
|
24
|
+
msgstr ""
|
|
25
|
+
"Inconsistenza tra quanti prenotati e restrizione lotto nel movimento di "
|
|
26
|
+
"magazzino"
|
|
27
|
+
|
|
28
|
+
#. module: stock_restrict_lot
|
|
29
|
+
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_move__restrict_lot_id
|
|
30
|
+
msgid "Restrict Lot"
|
|
31
|
+
msgstr "Restrizione lotto"
|
|
32
|
+
|
|
33
|
+
#. module: stock_restrict_lot
|
|
34
|
+
#: model:ir.model,name:stock_restrict_lot.model_stock_move
|
|
35
|
+
msgid "Stock Move"
|
|
36
|
+
msgstr "Movimento di magazzino"
|
|
37
|
+
|
|
38
|
+
#. module: stock_restrict_lot
|
|
39
|
+
#: model:ir.model,name:stock_restrict_lot.model_stock_rule
|
|
40
|
+
msgid "Stock Rule"
|
|
41
|
+
msgstr "Regola di giacenza"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Copyright 2023 Michael Tietz (MT Software) <mtietz@mt-software.de>
|
|
2
|
+
# License LGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
3
|
+
from odoo import models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ProductProduct(models.Model):
|
|
7
|
+
_inherit = "product.product"
|
|
8
|
+
|
|
9
|
+
# To be able to get the outgoing and incoming qty by the restrict_lot_id
|
|
10
|
+
# the odoo standard method _compute_quantities_dict is hookable
|
|
11
|
+
# therefore the domain is already here changed
|
|
12
|
+
def _get_domain_locations(self):
|
|
13
|
+
res = super()._get_domain_locations()
|
|
14
|
+
lot_id = self.env.context.get("lot_id")
|
|
15
|
+
if not lot_id:
|
|
16
|
+
return res
|
|
17
|
+
|
|
18
|
+
domain_quant_loc, domain_move_in_loc, domain_move_out_loc = res
|
|
19
|
+
lot_domain = [("restrict_lot_id", "=", lot_id)]
|
|
20
|
+
domain_move_in_loc += lot_domain
|
|
21
|
+
domain_move_out_loc += lot_domain
|
|
22
|
+
return domain_quant_loc, domain_move_in_loc, domain_move_out_loc
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
2
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
3
|
<head>
|
|
@@ -9,10 +8,11 @@
|
|
|
9
8
|
|
|
10
9
|
/*
|
|
11
10
|
:Author: David Goodger (goodger@python.org)
|
|
12
|
-
:Id: $Id: html4css1.css
|
|
11
|
+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
|
13
12
|
:Copyright: This stylesheet has been placed in the public domain.
|
|
14
13
|
|
|
15
14
|
Default cascading style sheet for the HTML output of Docutils.
|
|
15
|
+
Despite the name, some widely supported CSS2 features are used.
|
|
16
16
|
|
|
17
17
|
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
|
18
18
|
customize this style sheet.
|
|
@@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
|
275
275
|
margin-left: 2em ;
|
|
276
276
|
margin-right: 2em }
|
|
277
277
|
|
|
278
|
-
pre.code .ln { color:
|
|
278
|
+
pre.code .ln { color: gray; } /* line numbers */
|
|
279
279
|
pre.code, code { background-color: #eeeeee }
|
|
280
280
|
pre.code .comment, code .comment { color: #5C6576 }
|
|
281
281
|
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
|
@@ -301,7 +301,7 @@ span.option {
|
|
|
301
301
|
span.pre {
|
|
302
302
|
white-space: pre }
|
|
303
303
|
|
|
304
|
-
span.problematic {
|
|
304
|
+
span.problematic, pre.problematic {
|
|
305
305
|
color: red }
|
|
306
306
|
|
|
307
307
|
span.section-subtitle {
|
|
@@ -367,9 +367,9 @@ ul.auto-toc {
|
|
|
367
367
|
!! This file is generated by oca-gen-addon-readme !!
|
|
368
368
|
!! changes will be overwritten. !!
|
|
369
369
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
370
|
-
!! source digest: sha256:
|
|
370
|
+
!! source digest: sha256:db70668c9cb8c7c38a3e92c3ae05c3a7a241a2a31fe86fff519da42d98071009
|
|
371
371
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
372
|
-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/
|
|
372
|
+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_restrict_lot"><img alt="OCA/stock-logistics-workflow" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-workflow-15-0/stock-logistics-workflow-15-0-stock_restrict_lot"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
373
373
|
<p>This module add a field to restrict a stock move to a specific lot.
|
|
374
374
|
It propagates it between chained moves. A move with a restrict lot will only be able to
|
|
375
375
|
reserve or transfer products with the specified lot.
|
|
@@ -412,7 +412,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
412
412
|
<div class="section" id="maintainers">
|
|
413
413
|
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
|
|
414
414
|
<p>This module is maintained by the OCA.</p>
|
|
415
|
-
<a class="reference external image-reference" href="https://odoo-community.org"
|
|
415
|
+
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
416
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
417
|
+
</a>
|
|
416
418
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
417
419
|
mission is to support the collaborative development of Odoo features and
|
|
418
420
|
promote its widespread use.</p>
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name: odoo-addon-
|
|
3
|
-
Version: 15.0.0.0
|
|
2
|
+
Name: odoo-addon-stock_restrict_lot
|
|
3
|
+
Version: 15.0.0.1.0
|
|
4
4
|
Summary: Base module that add back the concept of restrict lot on stock move
|
|
5
5
|
Home-page: https://github.com/OCA/stock-logistics-workflow
|
|
6
6
|
Author: Akretion, Odoo Community Association (OCA)
|
|
7
7
|
Author-email: support@odoo-community.org
|
|
8
|
-
License:
|
|
9
|
-
Platform: UNKNOWN
|
|
8
|
+
License: LGPL-3
|
|
10
9
|
Classifier: Programming Language :: Python
|
|
11
10
|
Classifier: Framework :: Odoo
|
|
12
11
|
Classifier: Framework :: Odoo :: 15.0
|
|
13
|
-
Classifier: License :: OSI Approved :: GNU
|
|
12
|
+
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
|
|
14
13
|
Requires-Python: >=3.8
|
|
15
|
-
Requires-Dist: odoo
|
|
14
|
+
Requires-Dist: odoo<15.1dev,>=15.0a
|
|
16
15
|
|
|
17
16
|
==================
|
|
18
17
|
Stock Restrict Lot
|
|
@@ -23,15 +22,15 @@ Stock Restrict Lot
|
|
|
23
22
|
!! This file is generated by oca-gen-addon-readme !!
|
|
24
23
|
!! changes will be overwritten. !!
|
|
25
24
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
26
|
-
!! source digest: sha256:
|
|
25
|
+
!! source digest: sha256:db70668c9cb8c7c38a3e92c3ae05c3a7a241a2a31fe86fff519da42d98071009
|
|
27
26
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
27
|
|
|
29
28
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
30
29
|
:target: https://odoo-community.org/page/development-status
|
|
31
30
|
:alt: Beta
|
|
32
|
-
.. |badge2| image:: https://img.shields.io/badge/licence-
|
|
33
|
-
:target: http://www.gnu.org/licenses/
|
|
34
|
-
:alt: License:
|
|
31
|
+
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
|
|
32
|
+
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
|
|
33
|
+
:alt: License: LGPL-3
|
|
35
34
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
|
|
36
35
|
:target: https://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_restrict_lot
|
|
37
36
|
:alt: OCA/stock-logistics-workflow
|
|
@@ -102,5 +101,3 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
|
102
101
|
This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_restrict_lot>`_ project on GitHub.
|
|
103
102
|
|
|
104
103
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
105
|
-
|
|
106
|
-
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
odoo/addons/stock_restrict_lot/README.rst,sha256=
|
|
1
|
+
odoo/addons/stock_restrict_lot/README.rst,sha256=snQeVHpv02Oh8CM2H1bnn91d4u6twI_I5apuRHpEw2Q,3494
|
|
2
2
|
odoo/addons/stock_restrict_lot/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
|
|
3
|
-
odoo/addons/stock_restrict_lot/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/stock_restrict_lot/__manifest__.py,sha256=oBCQq82r1ScMPd9uWRArCyTfJ-onylZg9Dcz3G254Ik,435
|
|
4
|
+
odoo/addons/stock_restrict_lot/i18n/it.po,sha256=K_82qDz15Juv-Vrgdd9MTPXRBCtwI1rwDIjEzx0LfMI,1261
|
|
4
5
|
odoo/addons/stock_restrict_lot/i18n/stock_restrict_lot.pot,sha256=i7KxPHZWsztQRy50zSwB2HJMzfBg2D7iI2TY7RNFcsw,960
|
|
5
6
|
odoo/addons/stock_restrict_lot/models/__init__.py,sha256=iXFj1YVkxnmLFiysvQOzfRdMbTyK5UxIIy-AsH70iWw,50
|
|
7
|
+
odoo/addons/stock_restrict_lot/models/product_product.py,sha256=sv-ZLxXqmf6UX4MII1lX7s1BsRgyiKOD_wDpo993KmU,888
|
|
6
8
|
odoo/addons/stock_restrict_lot/models/stock_move.py,sha256=aFSfbKGa2erXxFSWjP8VrqQoXsXPtQ24DDFvKZhQuYw,2934
|
|
7
9
|
odoo/addons/stock_restrict_lot/models/stock_rule.py,sha256=NXXjB8rooKS0kpG3zvqpDDpLkmh7mvbnHLItDwdCec0,236
|
|
8
10
|
odoo/addons/stock_restrict_lot/readme/CONTRIBUTORS.rst,sha256=22s3orjbcuOva-ZDd-Tu_QSz7yv0Vf-EvMzDZZaBTeo,90
|
|
9
11
|
odoo/addons/stock_restrict_lot/readme/DESCRIPTION.rst,sha256=5-U3CJQ5zIpAxrXPVPXTPFmmV216MRflIecv7Ou5i4s,281
|
|
10
12
|
odoo/addons/stock_restrict_lot/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
11
|
-
odoo/addons/stock_restrict_lot/static/description/index.html,sha256=
|
|
13
|
+
odoo/addons/stock_restrict_lot/static/description/index.html,sha256=sTcrZKL8F2UbRS4Q_OqjCwyHifesrk9eV9EM-WSxJ8U,12933
|
|
12
14
|
odoo/addons/stock_restrict_lot/tests/__init__.py,sha256=5RimjaqBd8kD55SNoLqh-g9sCmmI28hPx7IQMUX6AOQ,32
|
|
13
15
|
odoo/addons/stock_restrict_lot/tests/test_restrict_lot.py,sha256=13Ll6pgFYwRn3sg2HH4FKfIAIEU1fVdd-MzRUrHPcUE,9168
|
|
14
|
-
odoo_addon_stock_restrict_lot-15.0.0.0.
|
|
15
|
-
odoo_addon_stock_restrict_lot-15.0.0.0.
|
|
16
|
-
odoo_addon_stock_restrict_lot-15.0.0.0.
|
|
17
|
-
odoo_addon_stock_restrict_lot-15.0.0.0.
|
|
16
|
+
odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info/METADATA,sha256=GNbNxO0YJOmb7SWCPwHdlwUdMwOJFIRidW3m6D-I_u8,4072
|
|
17
|
+
odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
18
|
+
odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
19
|
+
odoo_addon_stock_restrict_lot-15.0.0.1.0.dist-info/RECORD,,
|