Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a51bd58
[REF] finish extraction
sebastienbeau Jul 28, 2015
9d8c6df
[IMP] finish to port to new api
sebastienbeau Jul 29, 2015
cfdd60d
[FIX] fix adding restrict lot to move
sebastienbeau Aug 12, 2015
8ed2bd4
[CLEAN] pep8 clean up
sebastienbeau Aug 12, 2015
d7337cf
Migrate purchase_lot to v9
florian-dacosta Sep 6, 2016
ba93b4d
[IMP] purchase_lot: black, isort, prettier
florian-dacosta Mar 16, 2021
4ed57f3
[IMP] changes for OCA guidelines
florian-dacosta Mar 16, 2021
8b7cf48
[UPD] Update purchase_lot.pot
oca-travis May 31, 2022
10ac9b7
[UPD] README.rst
OCA-git-bot May 31, 2022
9b60429
[ADD] icon.png
OCA-git-bot May 31, 2022
403765c
[MIG][16.0] purchase_lot : migration to 16
florian-dacosta Dec 2, 2022
f2e13b6
[UPD] Update purchase_lot.pot
Apr 20, 2023
d1862ad
[UPD] README.rst
OCA-git-bot Apr 20, 2023
96ad5c1
[UPD] README.rst
OCA-git-bot Sep 3, 2023
79409d0
Added translation using Weblate (Spanish)
Ivorra78 Aug 21, 2023
5af1101
Added translation using Weblate (Italian)
mymage Dec 24, 2023
a80c6a1
[IMP] purchase_lot: pre-commit auto fixes
alan196 Jul 2, 2024
5473e73
[MIG] purchase_lot: Migration to 17.0
alan196 Jul 2, 2024
72789d1
[UPD] Update purchase_lot.pot
Apr 23, 2025
e335075
[BOT] post-merge updates
OCA-git-bot Apr 23, 2025
19cdec2
[IMP] purchase_lot: remove sale_order_lot_selection dependency
Tisho99 Apr 14, 2025
e2b0312
[UPD] Update purchase_lot.pot
May 26, 2025
9acb945
[BOT] post-merge updates
OCA-git-bot May 26, 2025
fe966f7
Update translation files
weblate May 26, 2025
0bf157f
Translated using Weblate (Italian)
mymage May 27, 2025
3007b5a
[IMP] purchase_lot: pre-commit auto fixes
Jun 9, 2025
a1fba92
[MIG] purchase_lot: Migration to 18.0
Jun 9, 2025
c3647cf
[UPD] Update purchase_lot.pot
Jun 14, 2025
0e2a6b7
[BOT] post-merge updates
OCA-git-bot Jun 14, 2025
723ac1b
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jun 26, 2025
bb1b24b
Added translation using Weblate (Croatian)
uvid-vlado Sep 26, 2025
a995754
Translated using Weblate (Croatian)
uvid-vlado Sep 26, 2025
0e9bbfc
Added translation using Weblate (Croatian (hr_HR))
uvid-vlado Sep 26, 2025
19afd9e
Translated using Weblate (Croatian)
uvid-vlado Sep 29, 2025
860784d
[IMP] purchase_lot: pre-commit auto fixes
apami0111 Apr 28, 2026
94bc6b5
[MIG] purchase_lot: Migration to 19.0
apami0111 May 23, 2026
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
96 changes: 96 additions & 0 deletions purchase_lot/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

============
Purchase Lot
============

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

.. |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/license-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%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/19.0/purchase_lot
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_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/purchase-workflow&target_branch=19.0
:alt: Try me on Runboat

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

This module adds the lot_id field in the purchase order lines, and
propagates it to stock pickings in the order confirmation.

This module can also be used along with sale_order_lot_selection to
propagate lot from sale orders to purchase orders. It allows to buy
specific lot for a sale order (may be useful for fully configurable
products)

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-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/purchase-workflow/issues/new?body=module:%20purchase_lot%0Aversion:%2019.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 Dacosta <florian.dacosta@akretion.com>
- David BEAL <david.beal@akretion.com>
- Alejandro Parrales <alejandro17parrales@gmail.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.

.. |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/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_lot>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions purchase_lot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
17 changes: 17 additions & 0 deletions purchase_lot/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright (C) 2022 Akretion (<http://www.akretion.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Purchase Lot",
"version": "19.0.1.0.0",
"category": "Purchase",
"license": "AGPL-3",
"author": "Akretion, Odoo Community Association (OCA)",
"maintainers": ["florian-dacosta"],
"website": "https://github.com/OCA/purchase-workflow",
"depends": ["purchase_stock", "stock_restrict_lot"],
"data": [
"views/purchase_order_view.xml",
],
"installable": True,
}
43 changes: 43 additions & 0 deletions purchase_lot/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-03 13:40+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\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: purchase_lot
#: model:ir.model.fields,help:purchase_lot.field_purchase_order_line__tracking
msgid "Ensure the traceability of a storable product in your warehouse."
msgstr ""

#. module: purchase_lot
#: model:ir.model,name:purchase_lot.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Línea de Orden de Compra"

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__lot_id
#: model_terms:ir.ui.view,arch_db:purchase_lot.view_purchase_order_filter
msgid "Serial Number"
msgstr "Número de Serie"

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

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__tracking
msgid "Tracking"
msgstr ""
44 changes: 44 additions & 0 deletions purchase_lot/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-09-29 10:42+0000\n"
"Last-Translator: vladimiruvid <vladimir@uvid.hr>\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 5.10.4\n"

#. module: purchase_lot
#: model:ir.model.fields,help:purchase_lot.field_purchase_order_line__tracking
msgid "Ensure the traceability of a storable product in your warehouse."
msgstr "Osigurajte sljedivost uskladištivog proizvoda u vašem skladištu."

#. module: purchase_lot
#: model:ir.model,name:purchase_lot.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Stavka Narudžbenice"

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__lot_id
#: model_terms:ir.ui.view,arch_db:purchase_lot.view_purchase_order_filter
msgid "Serial Number"
msgstr "Lot / SN"

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

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__tracking
msgid "Tracking"
msgstr "Praćenje"
42 changes: 42 additions & 0 deletions purchase_lot/i18n/hr_HR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: hr_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: purchase_lot
#: model:ir.model.fields,help:purchase_lot.field_purchase_order_line__tracking
msgid "Ensure the traceability of a storable product in your warehouse."
msgstr ""

#. module: purchase_lot
#: model:ir.model,name:purchase_lot.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__lot_id
#: model_terms:ir.ui.view,arch_db:purchase_lot.view_purchase_order_filter
msgid "Serial Number"
msgstr ""

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

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__tracking
msgid "Tracking"
msgstr ""
43 changes: 43 additions & 0 deletions purchase_lot/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-05-27 08:40+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.10.4\n"

#. module: purchase_lot
#: model:ir.model.fields,help:purchase_lot.field_purchase_order_line__tracking
msgid "Ensure the traceability of a storable product in your warehouse."
msgstr "Assicura la tracciabilità di un prodotto stoccabile nel magazzino."

#. module: purchase_lot
#: model:ir.model,name:purchase_lot.model_purchase_order_line
msgid "Purchase Order Line"
msgstr "Riga ordine di acquisto"

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__lot_id
#: model_terms:ir.ui.view,arch_db:purchase_lot.view_purchase_order_filter
msgid "Serial Number"
msgstr "Numero seriale"

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

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__tracking
msgid "Tracking"
msgstr "Tracciamento"
41 changes: 41 additions & 0 deletions purchase_lot/i18n/pt_BR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\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"

#. module: purchase_lot
#: model:ir.model.fields,help:purchase_lot.field_purchase_order_line__tracking
msgid "Ensure the traceability of a storable product in your warehouse."
msgstr ""

#. module: purchase_lot
#: model:ir.model,name:purchase_lot.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__lot_id
#: model_terms:ir.ui.view,arch_db:purchase_lot.view_purchase_order_filter
msgid "Serial Number"
msgstr ""

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

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__tracking
msgid "Tracking"
msgstr ""
40 changes: 40 additions & 0 deletions purchase_lot/i18n/purchase_lot.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.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: purchase_lot
#: model:ir.model.fields,help:purchase_lot.field_purchase_order_line__tracking
msgid "Ensure the traceability of a storable product in your warehouse."
msgstr ""

#. module: purchase_lot
#: model:ir.model,name:purchase_lot.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__lot_id
#: model_terms:ir.ui.view,arch_db:purchase_lot.view_purchase_order_filter
msgid "Serial Number"
msgstr ""

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

#. module: purchase_lot
#: model:ir.model.fields,field_description:purchase_lot.field_purchase_order_line__tracking
msgid "Tracking"
msgstr ""
4 changes: 4 additions & 0 deletions purchase_lot/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import purchase_order_line
from . import stock_rule
Loading
Loading