Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] stock_restrict_lot: Migration to 18.0 #1762

Open
wants to merge 40 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
84db01f
Add module stock_restrict_lot
florian-dacosta Dec 2, 2020
ee1c7fd
Avoid copying restrict_lot_id field on stock move unless it is a split
florian-dacosta Dec 3, 2020
192e94a
[UPD] Update stock_restrict_lot.pot
oca-travis Dec 16, 2020
fd9ed12
[UPD] README.rst
OCA-git-bot Dec 16, 2020
3c0334c
[ADD] icon.png
OCA-git-bot Dec 16, 2020
5efcc23
[14.0][FIX] stock_restrict_lot
newtratip Mar 3, 2021
036f33e
stock_restrict_lot 14.0.1.1.1
OCA-git-bot Mar 22, 2021
2775c6a
Add module stock_restrict_lot
florian-dacosta Dec 2, 2020
0cd71ed
Avoid copying restrict_lot_id field on stock move unless it is a split
florian-dacosta Dec 3, 2020
fd1b7b2
[14.0][FIX] stock_restrict_lot
newtratip Mar 3, 2021
d27ec6f
[IMP]stock_restrict_lot: migrate stock_restrict_lot module
bizzappdev Oct 26, 2021
dcc5212
[FIX] stock_restrict_lot: do not merge stock move with different rest…
petrus-v Aug 17, 2022
6c8c470
[MIG] Migrate stock_restrict_lot to v16
florian-dacosta Nov 22, 2022
dd1772c
[UPD] Update stock_restrict_lot.pot
Nov 28, 2022
6cb1b9d
[UPD] README.rst
OCA-git-bot Nov 28, 2022
2849032
[IMP][stock_restrict_lot] Add lot in move list views
florian-dacosta Dec 15, 2022
fd4d742
[UPD] Update stock_restrict_lot.pot
Apr 13, 2023
70f15c5
stock_restrict_lot 16.0.1.1.0
OCA-git-bot Apr 13, 2023
0042add
Added translation using Weblate (Croatian)
badbole Jun 29, 2023
c16ac09
Translated using Weblate (Croatian)
badbole Jun 29, 2023
aa65cb9
[UPD] README.rst
OCA-git-bot Sep 3, 2023
3d79830
Update translation files
weblate Oct 9, 2023
0225a25
Added translation using Weblate (Italian)
mymage Nov 15, 2023
5ed0c8e
Translated using Weblate (Italian)
mymage Nov 17, 2023
1b8f4a9
Added translation using Weblate (Spanish)
Ivorra78 Nov 27, 2023
805379a
Translated using Weblate (Spanish)
Ivorra78 Nov 27, 2023
5ce0b8d
[IMP] stock_restrict_lot: pre-commit auto fixes
jcadhoc Jul 10, 2024
e680e47
[MIG] stock_restrict_lot: Migration to 17.0
jcadhoc Jul 10, 2024
4013377
[UPD] Update stock_restrict_lot.pot
Aug 7, 2024
80e8ad5
[BOT] post-merge updates
OCA-git-bot Aug 7, 2024
582c79b
Update translation files
weblate Aug 7, 2024
56054f8
[14.0][IMP] compute product's outgoing and incoming qty by restrict_l…
mt-software-de Jan 4, 2023
f830465
[IMP] stock_restrict_lot: validate lot moved is correct
aleuffre Nov 29, 2023
ffa32d1
[IMP] stock_restrict_lot: Add index to restrict_lot_id
grindtildeath Aug 12, 2024
2e3ee26
[UPD] Update stock_restrict_lot.pot
Sep 18, 2024
81e28a5
[BOT] post-merge updates
OCA-git-bot Sep 18, 2024
8baaec8
Update translation files
weblate Sep 18, 2024
bc29f15
Translated using Weblate (Italian)
mymage Sep 18, 2024
20037a6
[IMP] stock_restrict_lot: pre-commit auto fixes
mav-adhoc Nov 12, 2024
0a8d27d
[MIG] stock_restrict_lot: Migration to 18.0
mav-adhoc Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions stock_restrict_lot/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
==================
Stock Restrict Lot
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a234c164abefbf570af402e26ce332bdfb4e5b91c47a8cb46046c22d2a8f3777
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_restrict_lot
:alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-18-0/stock-logistics-workflow-18-0-stock_restrict_lot
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-workflow&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module add a field to restrict a stock move to a specific lot. It
propagates it between chained moves. A move with a restrict lot will
only be able to reserve or transfer products with the specified lot.
This module is a based for other modules, it has not effect on its own.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_restrict_lot%0Aversion:%2018.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
-------

* Akretion

Contributors
------------

- Florian da Costa <[email protected]>
- Ruchir Shukla <[email protected]>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-florian-dacosta| image:: https://github.com/florian-dacosta.png?size=40px
:target: https://github.com/florian-dacosta
:alt: florian-dacosta

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-florian-dacosta|

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/18.0/stock_restrict_lot>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions stock_restrict_lot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
13 changes: 13 additions & 0 deletions stock_restrict_lot/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Stock Restrict Lot",
"summary": "Base module that add back the concept of restrict lot on stock move",
"version": "18.0.1.1.0",
"category": "Warehouse Management",
"website": "https://github.com/OCA/stock-logistics-workflow",
"author": "Akretion, Odoo Community Association (OCA)",
"maintainers": ["florian-dacosta"],
"license": "AGPL-3",
"installable": True,
"depends": ["stock"],
"data": ["views/stock_move_views.xml", "views/stock_picking.xml"],
}
67 changes: 67 additions & 0 deletions stock_restrict_lot/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_restrict_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-27 19:34+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.17\n"

#. module: stock_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"Inconsistencies between reserved quant and lot restriction on stock move"
msgstr ""
"Incoherencias entre el cuanto reservado y la restricción de lotes en el "
"movimiento de existencias"

#. module: stock_restrict_lot
#: model_terms:ir.ui.view,arch_db:stock_restrict_lot.custom_stock_picking_search_view
msgid "Lot"
msgstr "Lote"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_product_product
msgid "Product Variant"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_move__restrict_lot_id
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_picking__restrict_lot_id
msgid "Restrict Lot"
msgstr "Restringir Lote"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_move
msgid "Stock Move"
msgstr "Movimiento de Existencias"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_rule
msgid "Stock Rule"
msgstr "Regla de Existencias"

#. module: stock_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"The lot(s) %(move_line_lot)s being moved is inconsistent with the "
"restriction on lot %(move_restrict_lot)s set on the move"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_picking
msgid "Transfer"
msgstr "Transferencia"
68 changes: 68 additions & 0 deletions stock_restrict_lot/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_restrict_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-06-29 10:09+0000\n"
"Last-Translator: Bole <[email protected]>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.17\n"

#. module: stock_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"Inconsistencies between reserved quant and lot restriction on stock move"
msgstr ""
"Nekonzistentnost među rezerviranim količinama i ograničenjima lotova na "
"skladišnom kretanju"

#. module: stock_restrict_lot
#: model_terms:ir.ui.view,arch_db:stock_restrict_lot.custom_stock_picking_search_view
msgid "Lot"
msgstr "Lot"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_product_product
msgid "Product Variant"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_move__restrict_lot_id
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_picking__restrict_lot_id
msgid "Restrict Lot"
msgstr "Ograniči lot"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_move
msgid "Stock Move"
msgstr "Skladišno kretanje"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_rule
msgid "Stock Rule"
msgstr "Skladišno pravilo"

#. module: stock_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"The lot(s) %(move_line_lot)s being moved is inconsistent with the "
"restriction on lot %(move_restrict_lot)s set on the move"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_picking
msgid "Transfer"
msgstr "Prijenos"
69 changes: 69 additions & 0 deletions stock_restrict_lot/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_restrict_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-09-18 16:06+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\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"
"X-Generator: Weblate 5.6.2\n"

#. module: stock_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"Inconsistencies between reserved quant and lot restriction on stock move"
msgstr ""
"Inconsistenza tra quanti prenotati e restrizione lotto nel movimento di "
"magazzino"

#. module: stock_restrict_lot
#: model_terms:ir.ui.view,arch_db:stock_restrict_lot.custom_stock_picking_search_view
msgid "Lot"
msgstr "Lotto"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_product_product
msgid "Product Variant"
msgstr "Variante prodotto"

#. module: stock_restrict_lot
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_move__restrict_lot_id
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_picking__restrict_lot_id
msgid "Restrict Lot"
msgstr "Restrizione lotto"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_move
msgid "Stock Move"
msgstr "Movimento di magazzino"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_rule
msgid "Stock Rule"
msgstr "Regola di giacenza"

#. module: stock_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"The lot(s) %(move_line_lot)s being moved is inconsistent with the "
"restriction on lot %(move_restrict_lot)s set on the move"
msgstr ""
"Il lotto %(move_line_lot)s che si sta movimentando è inconsistente con la "
"restrizione sul lotto %(move_restrict_lot)s impostato nel movimento"

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_picking
msgid "Transfer"
msgstr "Trasferimento"
62 changes: 62 additions & 0 deletions stock_restrict_lot/i18n/stock_restrict_lot.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_restrict_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"Inconsistencies between reserved quant and lot restriction on stock move"
msgstr ""

#. module: stock_restrict_lot
#: model_terms:ir.ui.view,arch_db:stock_restrict_lot.custom_stock_picking_search_view
msgid "Lot"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_product_product
msgid "Product Variant"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_move__restrict_lot_id
#: model:ir.model.fields,field_description:stock_restrict_lot.field_stock_picking__restrict_lot_id
msgid "Restrict Lot"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_move
msgid "Stock Move"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_rule
msgid "Stock Rule"
msgstr ""

#. module: stock_restrict_lot
#. odoo-python
#: code:addons/stock_restrict_lot/models/stock_move.py:0
#, python-format
msgid ""
"The lot(s) %(move_line_lot)s being moved is inconsistent with the "
"restriction on lot %(move_restrict_lot)s set on the move"
msgstr ""

#. module: stock_restrict_lot
#: model:ir.model,name:stock_restrict_lot.model_stock_picking
msgid "Transfer"
msgstr ""
4 changes: 4 additions & 0 deletions stock_restrict_lot/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from . import stock_move
from . import stock_rule
from . import stock_picking
from . import product_product
Loading
Loading