Skip to content
Open
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
6d8f173
[MIG] sale_order_lot_generator: Migrated to 10.0
mourad-ehm Feb 16, 2017
309bbdf
[FIX] manage lot generation for order lines created after confirmation
mourad-ehm May 4, 2017
063a183
[ADD] icon.png
OCA-git-bot Apr 3, 2019
4ac5d25
IMP black format
bealdav Jul 3, 2020
c9bb8b5
MIGR 12.0 sale_order_lot_generator
bealdav Aug 19, 2020
1b05ab7
sale_order_lot_generator 12.0.1.0.1
OCA-git-bot Aug 20, 2020
1ebd58f
[IMP] sale_order_lot_generator: black, isort, prettier
florian-dacosta Dec 3, 2020
807df1e
[MIG] sale_order_lot_generator: Migration to 14.0
florian-dacosta Dec 3, 2020
8049842
[FIX] allow to confirm several SOs at once
Jan 13, 2021
f308348
[UPD] Update sale_order_lot_generator.pot
oca-travis Jan 25, 2021
18f0a43
[UPD] README.rst
OCA-git-bot Jan 25, 2021
fb30915
Update translation files
oca-transbot Jan 26, 2021
2f28863
Translated using Weblate (Catalan)
danimv5 Feb 23, 2021
d0513cd
Translated using Weblate (Spanish)
danimv5 Feb 23, 2021
a3cae7c
[14.0][FIX] sale_order_lot_generator
newtratip Feb 19, 2021
0ed16ea
sale_order_lot_generator 14.0.1.0.1
OCA-git-bot Mar 25, 2021
b7cd4ad
Translated using Weblate (Italian)
francesco-ooops Apr 8, 2022
8d31dff
[UPD] README.rst
OCA-git-bot Jun 2, 2022
fd0bae7
[UPD] README.rst
OCA-git-bot Jun 2, 2022
7f547a6
[FIX] allow to create lines in redrafted orders
Apr 13, 2021
f7852d2
[MIG][16.0] Migrate sale_order_lot_generator to v16
florian-dacosta Nov 24, 2022
bb0742a
[FIX] Stop deleting lot on sale order cancelation
florian-dacosta Mar 10, 2023
736c932
[UPD] Update sale_order_lot_generator.pot
Mar 27, 2023
fc420c9
[UPD] README.rst
OCA-git-bot Mar 27, 2023
ba00216
Update translation files
weblate Mar 27, 2023
4d0b12c
[UPD] README.rst
OCA-git-bot Sep 3, 2023
4a91d5e
Update translation files
weblate Oct 9, 2023
b69de31
Translated using Weblate (Spanish)
Ivorra78 Oct 15, 2023
18581d9
Translated using Weblate (Italian)
mymage Dec 1, 2023
6423f72
Translated using Weblate (Portuguese (Brazil))
May 22, 2024
87518a9
[IMP] sale_order_lot_generator: pre-commit auto fixes
Aug 20, 2024
efa85dd
[MIG] sale_order_lot_generator: Migration to 17.0
Aug 20, 2024
5aae4f8
[UPD] Update sale_order_lot_generator.pot
May 14, 2025
8b234a8
[BOT] post-merge updates
OCA-git-bot May 14, 2025
bbb4653
[IMP] sale_order_lot_generator: pre-commit auto fixes
hparfr Jun 10, 2025
45298dc
[MIG] sale_order_lot_generator: Migration to 18.0
hparfr Jun 10, 2025
dab494c
sale_order_lot_generator: fix tests
hparfr Jan 6, 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
112 changes: 112 additions & 0 deletions sale_order_lot_generator/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
========================
Sale Order Lot Generator
========================

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

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

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

Generate automatically a lot number for each sale lines when you confirm
a sale order.

**Table of contents**

.. contents::
:local:

Configuration
=============

Go to product, inventory tab and check 'Auto Generate Lot' field.

Usage
=====

Create a sale order with a product with 'Auto Generate Lot' field
checked.

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

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

- Akretion:

- Valentin Chemiere
- Florian da Costa <[email protected]>
- Mourad EL HADJ MIMOUNE <[email protected]>
- David BEAL <[email protected]>
- Raphaël Reverdy <[email protected]>

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

- Antoni Marroig <[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
.. |maintainer-mourad-ehm| image:: https://github.com/mourad-ehm.png?size=40px
:target: https://github.com/mourad-ehm
:alt: mourad-ehm
.. |maintainer-bealdav| image:: https://github.com/bealdav.png?size=40px
:target: https://github.com/bealdav
:alt: bealdav

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

|maintainer-florian-dacosta| |maintainer-mourad-ehm| |maintainer-bealdav|

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_order_lot_generator>`_ 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 sale_order_lot_generator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions sale_order_lot_generator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Sale Order Lot Generator",
"version": "18.0.1.0.0",
"author": "Akretion, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"license": "AGPL-3",
"category": "Sale",
"depends": ["sale_order_lot_selection"],
"maintainers": ["florian-dacosta", "mourad-ehm", "bealdav"],
"data": ["views/product_template.xml"],
"installable": True,
}
67 changes: 67 additions & 0 deletions sale_order_lot_generator/i18n/ca.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:
# * sale_order_lot_generator
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-13 01:19+0000\n"
"PO-Revision-Date: 2021-02-23 17:45+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\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.3.2\n"

#. module: sale_order_lot_generator
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid "Auto Generate Lot"
msgstr "Generació automàtica de lot"

#. module: sale_order_lot_generator
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid ""
"Forces to specifiy a Serial Number for all lines containing this product "
"since the confirmation of the Sale Order"
msgstr ""
"Obliga a especificar un número de sèrie per a totes les línies que contenen "
"aquest producte des de la confirmació de la comanda de venda"

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_product_template
msgid "Product"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order
msgid "Sales Order"
msgstr "Comanda de venda"

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línia de comanda de vendes"

#~ msgid "Display Name"
#~ msgstr "Nom Visible"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Darrera modificació el"

#~ msgid "Product Template"
#~ msgstr "Plantilla de producte"

#, fuzzy
#~ msgid "Sale Order"
#~ msgstr "Comandes de venda"
52 changes: 52 additions & 0 deletions sale_order_lot_generator/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_lot_generator
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-13 01:19+0000\n"
"PO-Revision-Date: 2017-05-13 01:19+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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: sale_order_lot_generator
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid "Auto Generate Lot"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid ""
"Forces to specifiy a Serial Number for all lines containing this product "
"since the confirmation of the Sale Order"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_product_template
msgid "Product"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line
msgid "Sales Order Line"
msgstr "Auftragsposition"

#, fuzzy
#~ msgid "Sale Order"
#~ msgstr "Verkaufsauftrag"
53 changes: 53 additions & 0 deletions sale_order_lot_generator/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_lot_generator
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-13 01:19+0000\n"
"PO-Revision-Date: 2017-05-13 01:19+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\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: sale_order_lot_generator
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid "Auto Generate Lot"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid ""
"Forces to specifiy a Serial Number for all lines containing this product "
"since the confirmation of the Sale Order"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_product_template
msgid "Product"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order
msgid "Sales Order"
msgstr ""

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line
msgid "Sales Order Line"
msgstr ""

#, fuzzy
#~ msgid "Sale Order"
#~ msgstr "Εντολή Πώλησης"
67 changes: 67 additions & 0 deletions sale_order_lot_generator/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:
# * sale_order_lot_generator
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-13 01:19+0000\n"
"PO-Revision-Date: 2023-10-15 19:36+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\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: sale_order_lot_generator
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,field_description:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid "Auto Generate Lot"
msgstr "Lote de generación automática"

#. module: sale_order_lot_generator
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_product__auto_generate_prodlot
#: model:ir.model.fields,help:sale_order_lot_generator.field_product_template__auto_generate_prodlot
msgid ""
"Forces to specifiy a Serial Number for all lines containing this product "
"since the confirmation of the Sale Order"
msgstr ""
"Obliga a especificar un número de serie para todas las líneas que contienen "
"este producto desde la confirmación de la orden de venta"

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_product_template
msgid "Product"
msgstr "Producto"

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order
msgid "Sales Order"
msgstr "Pedido de venta"

#. module: sale_order_lot_generator
#: model:ir.model,name:sale_order_lot_generator.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea de pedido de venta"

#~ msgid "Display Name"
#~ msgstr "Nombre mostrado"

#~ msgid "ID"
#~ msgstr "ID"

#~ msgid "Last Modified on"
#~ msgstr "Última modificación en"

#~ msgid "Product Template"
#~ msgstr "Plantilla de producto"

#, fuzzy
#~ msgid "Sale Order"
#~ msgstr "Pedido de venta"
Loading