Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b4feeef
Add stock_lot_production_date
sebalix Dec 16, 2022
c2284b3
[UPD] Update stock_lot_production_date.pot
Jan 9, 2023
dc353da
[UPD] README.rst
OCA-git-bot Jan 9, 2023
9bfa268
[ADD] icon.png
OCA-git-bot Jan 9, 2023
3203733
[MIG] stock_lot_production_date: Migration to 16.0
JuMiSanAr Feb 13, 2023
8026525
[UPD] Update stock_lot_production_date.pot
Feb 26, 2023
4994099
[UPD] README.rst
OCA-git-bot Feb 26, 2023
1cc6b62
[UPD] README.rst
OCA-git-bot Sep 3, 2023
68f4a47
Added translation using Weblate (Italian)
mymage Nov 15, 2023
625ff8e
Translated using Weblate (Italian)
mymage Nov 17, 2023
745a50f
Added translation using Weblate (Catalan)
eugenichafer Nov 23, 2023
3b21a30
Translated using Weblate (Catalan)
eugenichafer Nov 23, 2023
d0565f1
Added translation using Weblate (Spanish)
Ivorra78 Jan 30, 2024
59497c7
Translated using Weblate (Spanish)
Ivorra78 Jan 30, 2024
7a1d5f5
Translated using Weblate (Spanish)
Ivorra78 Jan 30, 2024
b4e2752
[IMP] stock_lot_production_date: pre-commit auto fixes
Aug 28, 2024
9115f51
[MIG] stock_lot_production_date: Migration to 17.0
Aug 28, 2024
1d4dc99
[UPD] Update stock_lot_production_date.pot
Dec 13, 2024
619021f
[BOT] post-merge updates
OCA-git-bot Dec 13, 2024
f23a9dd
Added translation using Weblate (French)
remi-filament Mar 6, 2025
632e610
[IMP] stock_lot_production_date: pre-commit execution
sebalix Mar 10, 2025
dba42dc
[MIG] stock_lot_production_date: Migration to 18.0
sebalix Mar 10, 2025
0260706
[UPD] Update stock_lot_production_date.pot
Mar 10, 2025
bf29e94
[BOT] post-merge updates
OCA-git-bot Mar 10, 2025
e3d8ef9
[MIG] stock_lot_production_date: Migration to 19.0
bizzappdev Oct 1, 2025
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
108 changes: 108 additions & 0 deletions stock_lot_production_date/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=========================
Stock Lot Production Date
=========================

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

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

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

This module adds the possibility to set a production date on lots/serial
numbers.

**Table of contents**

.. contents::
:local:

Usage
=====

A new field *Production Date* is available on the lot/SN form:

|image|

.. |image| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/5c13b66f989ce3b02a2098cee272cc36fad49723/stock_lot_production_date/static/description/lot.png

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/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/product-attribute/issues/new?body=module:%20stock_lot_production_date%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
-------

* Camptocamp

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

- Sébastien Alix <sebastien.alix@camptocamp.com>

Other credits
-------------

**Financial support**

- Cosanum

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-atchuthan| image:: https://github.com/atchuthan.png?size=40px
:target: https://github.com/atchuthan
:alt: atchuthan
.. |maintainer-sebalix| image:: https://github.com/sebalix.png?size=40px
:target: https://github.com/sebalix
:alt: sebalix

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

|maintainer-atchuthan| |maintainer-sebalix|

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/19.0/stock_lot_production_date>`_ 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_lot_production_date/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions stock_lot_production_date/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2022 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Stock Lot Production Date",
"Summary": "Set a production date on lot.",
"version": "19.0.1.0.0",
"author": "Camptocamp, Odoo Community Association (OCA)",
"maintainers": ["atchuthan", "sebalix"],
"website": "https://github.com/OCA/product-attribute",
"category": "Warehouse Management",
"depends": ["stock"],
"data": [
"views/stock_lot.xml",
],
"installable": True,
"license": "AGPL-3",
}
36 changes: 36 additions & 0 deletions stock_lot_production_date/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_lot_production_date
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-23 12:25+0000\n"
"Last-Translator: Eugeni Chafer <eugeni@chafer.cat>\n"
"Language-Team: none\n"
"Language: ca\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_lot_production_date
#: model:ir.model,name:stock_lot_production_date.model_stock_lot
msgid "Lot/Serial"
msgstr "Lot/Núm.Serie"

#. module: stock_lot_production_date
#: model:ir.model.fields,field_description:stock_lot_production_date.field_stock_lot__production_date
msgid "Production Date"
msgstr "Data de producció"

#. module: stock_lot_production_date
#: model:ir.model.fields,help:stock_lot_production_date.field_stock_lot__production_date
msgid ""
"This is the date when the goods with this lot/serial number have been "
"produced."
msgstr ""
"Aquesta és la data en la qual es van produir els productes amb aquest lot/"
"número de sèrie."
36 changes: 36 additions & 0 deletions stock_lot_production_date/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_lot_production_date
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-30 16:35+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: stock_lot_production_date
#: model:ir.model,name:stock_lot_production_date.model_stock_lot
msgid "Lot/Serial"
msgstr "Lote / Serie"

#. module: stock_lot_production_date
#: model:ir.model.fields,field_description:stock_lot_production_date.field_stock_lot__production_date
msgid "Production Date"
msgstr "Fecha de Producción"

#. module: stock_lot_production_date
#: model:ir.model.fields,help:stock_lot_production_date.field_stock_lot__production_date
msgid ""
"This is the date when the goods with this lot/serial number have been "
"produced."
msgstr ""
"Es la fecha en la que se han producido las mercancías con este número de "
"lote/serie."
32 changes: 32 additions & 0 deletions stock_lot_production_date/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_lot_production_date
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: fr\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: stock_lot_production_date
#: model:ir.model,name:stock_lot_production_date.model_stock_lot
msgid "Lot/Serial"
msgstr ""

#. module: stock_lot_production_date
#: model:ir.model.fields,field_description:stock_lot_production_date.field_stock_lot__production_date
msgid "Production Date"
msgstr ""

#. module: stock_lot_production_date
#: model:ir.model.fields,help:stock_lot_production_date.field_stock_lot__production_date
msgid ""
"This is the date when the goods with this lot/serial number have been "
"produced."
msgstr ""
36 changes: 36 additions & 0 deletions stock_lot_production_date/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_lot_production_date
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-17 09:33+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 4.17\n"

#. module: stock_lot_production_date
#: model:ir.model,name:stock_lot_production_date.model_stock_lot
msgid "Lot/Serial"
msgstr "Lotto/seriale"

#. module: stock_lot_production_date
#: model:ir.model.fields,field_description:stock_lot_production_date.field_stock_lot__production_date
msgid "Production Date"
msgstr "Data produzione"

#. module: stock_lot_production_date
#: model:ir.model.fields,help:stock_lot_production_date.field_stock_lot__production_date
msgid ""
"This is the date when the goods with this lot/serial number have been "
"produced."
msgstr ""
"Questa è la data quando la merce con questo numero di lotto/serie è stata "
"prodotta."
31 changes: 31 additions & 0 deletions stock_lot_production_date/i18n/stock_lot_production_date.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_lot_production_date
#
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: stock_lot_production_date
#: model:ir.model,name:stock_lot_production_date.model_stock_lot
msgid "Lot/Serial"
msgstr ""

#. module: stock_lot_production_date
#: model:ir.model.fields,field_description:stock_lot_production_date.field_stock_lot__production_date
msgid "Production Date"
msgstr ""

#. module: stock_lot_production_date
#: model:ir.model.fields,help:stock_lot_production_date.field_stock_lot__production_date
msgid ""
"This is the date when the goods with this lot/serial number have been "
"produced."
msgstr ""
1 change: 1 addition & 0 deletions stock_lot_production_date/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import stock_lot
15 changes: 15 additions & 0 deletions stock_lot_production_date/models/stock_lot.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2022 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import fields, models


class StockProductionLot(models.Model):
_inherit = "stock.lot"

production_date = fields.Datetime(
help=(
"This is the date when the goods with this "
"lot/serial number have been produced."
)
)
3 changes: 3 additions & 0 deletions stock_lot_production_date/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions stock_lot_production_date/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Sébastien Alix \<<sebastien.alix@camptocamp.com>\>
3 changes: 3 additions & 0 deletions stock_lot_production_date/readme/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Financial support**

- Cosanum
2 changes: 2 additions & 0 deletions stock_lot_production_date/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module adds the possibility to set a production date on lots/serial
numbers.
3 changes: 3 additions & 0 deletions stock_lot_production_date/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
A new field *Production Date* is available on the lot/SN form:

![image](https://raw.githubusercontent.com/OCA/stock-logistics-workflow/5c13b66f989ce3b02a2098cee272cc36fad49723/stock_lot_production_date/static/description/lot.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading