Skip to content

Commit

Permalink
Merge PR #1745 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by hparfr
  • Loading branch information
OCA-git-bot committed Oct 22, 2024
2 parents d3021bb + 0099571 commit a45f8d7
Show file tree
Hide file tree
Showing 16 changed files with 1,007 additions and 0 deletions.
104 changes: 104 additions & 0 deletions stock_picking_return_lot/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
========================
Stock Picking Return Lot
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4fc5ebde82b0ced4f081cfecb7cb1defeb8d632488a9b3fbd621e0299d50d97d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.0/stock_picking_return_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-17-0/stock-logistics-workflow-17-0-stock_picking_return_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=17.0
:alt: Try me on Runboat

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

When a product is tracked by lot or serial number and is returned by a
customer, it’s crucial to clearly indicate to the user which lot or
serial number can be accepted. This way, we prevent user from receiving
a product with a lot or serial number different from the original
delivery.

This module enhances the return process by creating a separate return
line for each product/lot and automatically pre-filling it with the lot
from the original delivery. It relies on the `Stock Restrict
Lot <https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_restrict_lot>`__
module to enforce accurate tracking, ensuring that the reception order
reflects the correct lot or serial number that should be received.

**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_picking_return_lot%0Aversion:%2017.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
-------

* Camptocamp
* ACSONE SA/NV

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

- Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
- `PyTech SRL <https://www.pytech.it>`__:

- Alessio Renda
- Sebastiano Picchi

- `Ooops404 <https://www.ooops404.com>`__:

- Foresti Francesco <francesco.foresti@ooops404.com>

- `ACSONE SA/NV <https://www.acsone.eu>`__:

- Souheil Bejaoui <souheil.bejaoui@acsone.eu>

- `APSL-Nagarro <https://apsl.tech>`__:

- Antoni Marroig <amarroig@apsl.net>

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-workflow <https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_return_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_picking_return_lot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
14 changes: 14 additions & 0 deletions stock_picking_return_lot/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2020 Camptocamp
# Copyright 2024 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Stock Picking Return Lot",
"summary": "Propagate SN/lots from origin picking to return picking.",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-workflow",
"depends": ["stock", "stock_restrict_lot"],
"data": ["wizards/stock_return_picking.xml"],
}
37 changes: 37 additions & 0 deletions stock_picking_return_lot/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_return_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-09-04 10:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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_picking_return_lot
#: model:ir.model.fields,field_description:stock_picking_return_lot.field_stock_return_picking_line__lot_id
msgid "Lot/Serial Number"
msgstr "Numero di lotto/serie"

#. module: stock_picking_return_lot
#: model:ir.model.fields,field_description:stock_picking_return_lot.field_stock_return_picking_line__lots_visible
msgid "Lots Visible"
msgstr "Lotti visibili"

#. module: stock_picking_return_lot
#: model:ir.model,name:stock_picking_return_lot.model_stock_return_picking
msgid "Return Picking"
msgstr "Prelievo di reso"

#. module: stock_picking_return_lot
#: model:ir.model,name:stock_picking_return_lot.model_stock_return_picking_line
msgid "Return Picking Line"
msgstr "Riga prelievo di reso"
34 changes: 34 additions & 0 deletions stock_picking_return_lot/i18n/stock_picking_return_lot.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_return_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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_picking_return_lot
#: model:ir.model.fields,field_description:stock_picking_return_lot.field_stock_return_picking_line__lot_id
msgid "Lot/Serial Number"
msgstr ""

#. module: stock_picking_return_lot
#: model:ir.model.fields,field_description:stock_picking_return_lot.field_stock_return_picking_line__lots_visible
msgid "Lots Visible"
msgstr ""

#. module: stock_picking_return_lot
#: model:ir.model,name:stock_picking_return_lot.model_stock_return_picking
msgid "Return Picking"
msgstr ""

#. module: stock_picking_return_lot
#: model:ir.model,name:stock_picking_return_lot.model_stock_return_picking_line
msgid "Return Picking Line"
msgstr ""
3 changes: 3 additions & 0 deletions stock_picking_return_lot/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
10 changes: 10 additions & 0 deletions stock_picking_return_lot/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- Iryna Vyshnevska \<<i.vyshnevska@mobilunity.com>\>
- [PyTech SRL](https://www.pytech.it):
- Alessio Renda
- Sebastiano Picchi
- [Ooops404](https://www.ooops404.com):
- Foresti Francesco \<<francesco.foresti@ooops404.com>\>
- [ACSONE SA/NV](https://www.acsone.eu):
- Souheil Bejaoui \<<souheil.bejaoui@acsone.eu>\>
- [APSL-Nagarro](https://apsl.tech):
- Antoni Marroig \<<amarroig@apsl.net>\>
12 changes: 12 additions & 0 deletions stock_picking_return_lot/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
When a product is tracked by lot or serial number and is returned by a
customer, it’s crucial to clearly indicate to the user which lot or
serial number can be accepted. This way, we prevent user from receiving
a product with a lot or serial number different from the original
delivery.

This module enhances the return process by creating a separate return
line for each product/lot and automatically pre-filling it with the lot
from the original delivery. It relies on the [Stock Restrict
Lot](https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_restrict_lot)
module to enforce accurate tracking, ensuring that the reception order
reflects the correct lot or serial number that should be received.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a45f8d7

Please sign in to comment.