Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
450145c
[FIX] Add sale order dolder
Apr 7, 2015
8540a44
[FIX] adds _run_move_create and some other fixes
Apr 21, 2015
a7fc2b4
[FIX] add restriction on sale confirm changed icon and minor fix
Apr 22, 2015
0aecda3
[FIX] Add check on sale order
Apr 28, 2015
c50a1e0
[FIX] add _run override
Apr 28, 2015
7a0519e
[FIX] adding feature and fix contributors
Apr 29, 2015
59ed906
Add transmition of lot_id from move to procurement and delete lot_id on
Jul 6, 2015
3fe1094
Extract move state check for easier inherit and add copy=False instead
Jul 8, 2015
64e3575
Fix pep8 and edit check move state
Jul 8, 2015
4c419ec
Fix unused import
Jul 8, 2015
44f4fc8
[IMP] better lot names in tests
eLBati Jul 30, 2015
a22729f
[FIX] Fixed Tests adding a stock_picking_in to create quants
Jul 30, 2015
c53b8f1
[FIX] Add check on lot reservation in test
Aug 11, 2015
83e0a04
[FIX] Add check on quants
Aug 12, 2015
3d77634
Refactoring product_id_change_with_wh for domain generation.
eLBati Aug 28, 2015
6c818c2
Refactoring tests, adding onchange tests
eLBati Aug 28, 2015
8bf3c2d
Remove never used domain: on_change will set the correct domain for l…
eLBati Aug 31, 2015
4f64559
IMP module version and fix comment
eLBati Sep 2, 2015
641be31
the field lot_id should only be visible to the members of the stock.g…
eLBati Sep 11, 2015
abacaee
REF some code and ADD lot11 has 1 availability and order4 has quantity 2
eLBati Sep 11, 2015
ef4f0ef
REF product_id_change_with_wh for compatibility with ohter override
eLBati Sep 11, 2015
a1c207d
FIX default value in context
eLBati Oct 28, 2015
a36ba9f
IMP README
eLBati Oct 28, 2015
a3f438b
FIX You cannot transfer a picking in state 'False'
eLBati Feb 23, 2016
b117bac
[FIX] fix perf issue with sale_order_lot_selection
sebastienbeau Mar 8, 2016
e5149e4
FIX https://github.com/OCA/sale-workflow/issues/269
eLBati Jun 5, 2016
0f9953b
Migrate sale_order_lot_selection to v9
florian-dacosta Jul 27, 2016
952f536
[FIX] return super result after sale order confirm
florian-dacosta Sep 6, 2016
221f600
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
33257e8
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
c20fa6a
[MIG] sale_order_lot_selection: Migrated to 10.0
mourad-ehm Feb 16, 2017
5fe22a7
[FIX] sale_order_lot_selection: _prepare_procurement_from_move is an …
lmignon May 26, 2017
674cd10
OCA Transbot updated translations from Transifex
oca-transbot Feb 28, 2016
b5c5518
[UPD] Update sale_order_lot_selection.pot
oca-travis Jun 20, 2018
0a8a906
[10.0][FIX] pylint
rousseldenis Sep 4, 2018
c799876
[MIG] sale_order_lot_selection: Migration to 12.0
PCatinean Jan 18, 2019
17e81c7
[UPD] Update sale_order_lot_selection.pot
oca-travis Feb 4, 2020
df048f0
Update translation files
oca-transbot Feb 7, 2020
ca7bf17
[IMP] : black, isort, prettier
Apr 8, 2020
7fec631
[13.0][MIG] sale_order_lot_selection
Apr 8, 2020
1640ad6
[ADD] maintainers
Apr 8, 2020
207c353
[IMP] add context 'skip_check_lot_selection_qty' to skip check lot se…
Apr 8, 2020
ab5dc96
[IMP] split files as per each object
Apr 8, 2020
1b8be1b
Update sale_order_lot_selection/readme/DESCRIPTION.rst
Apr 8, 2020
c00a59e
Migrate sale_order_lot_selection to 14
florian-dacosta Dec 2, 2020
cd44309
[REF] Refactore module making it depend on stock_restrict_lot
florian-dacosta Dec 2, 2020
e87915e
Remove logic where sale order confirmation is blocked if selected lot…
florian-dacosta Dec 3, 2020
b03f802
add roadmap
florian-dacosta Dec 3, 2020
63367f8
[IMP] pre-commit run
florian-dacosta Dec 16, 2020
128f102
[UPD] Update sale_order_lot_selection.pot
oca-travis Dec 17, 2020
480b6da
[UPD] README.rst
OCA-git-bot Dec 17, 2020
a3b11f1
Translated using Weblate (Catalan)
danimv5 Jan 20, 2021
69f1335
Translated using Weblate (German)
marylla Jul 9, 2021
393427d
[14.0][FIX] sale_order_lot_selection: Avoid missing warning in the pr…
nicomacr Nov 9, 2021
36cc7d2
sale_order_lot_selection 14.0.1.0.1
OCA-git-bot Nov 12, 2021
8d3b93d
FIX sale__lot_selection: add company ctx
bealdav Mar 10, 2022
e72b133
sale_order_lot_selection 14.0.1.1.0
OCA-git-bot Mar 16, 2022
d7d07ca
Translated using Weblate (Italian)
francesco-ooops Apr 8, 2022
07fa36d
Translated using Weblate (Italian)
francesco-ooops Jun 24, 2022
5877eb3
[MIG] sale_order_lot_selection: Migration to 15.0
nicomacr Sep 29, 2022
58efad3
[MIG][16.0] Migrate sale_order_lot_selection to v16
florian-dacosta Nov 24, 2022
db91607
sale_order_lot_selection 16.0.1.0.1
OCA-git-bot Dec 14, 2022
bdefaa8
Translated using Weblate (Italian)
mymage Dec 28, 2022
8ca3b12
[IMP] sale_order_lot_selection: black, isort, prettier
sanderlienaerts Aug 2, 2024
fd5742f
[MIG] sale_order_lot_selection: Migration to 17.0
sanderlienaerts Aug 2, 2024
449f5bf
[UPD] Update sale_order_lot_selection.pot
Aug 22, 2024
b2bdcf1
[BOT] post-merge updates
OCA-git-bot Aug 22, 2024
c605a63
Update translation files
weblate Aug 22, 2024
084ae06
[IMP] sale_order_lot_selection: pre-commit execution
lef-adhoc Nov 14, 2024
12d20d4
[MIG] sale_order_lot_selection: Migration to 18.0
lef-adhoc Nov 14, 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
115 changes: 115 additions & 0 deletions sale_order_lot_selection/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
========================
Sale Order Lot Selection
========================

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

.. |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/17.0/sale_order_lot_selection
: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-17-0/sale-workflow-17-0-sale_order_lot_selection
: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=17.0
:alt: Try me on Runboat

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

This module allows you to select a lot number on sale order line. This
selected lot number will be the one delivered to the Customer.

**Table of contents**

.. contents::
:local:

Usage
=====

- Create/edit a product and set traceability by 'By Lots' option.
- Create a new lot number and assign product.
- Update quantity for that product and assign lot number.
- Go to Sales > Orders > Quotations.
- Create a new quotation and add recently above configured product.
- Select lot number and confirm it.
- Delivery order will reserve the lot when available

Known issues / Roadmap
======================

Block sale order validation on confirmation if the selected lot has been
removed of this module Indeed nobody seems to know what it had been
implemented on early versions and it is really blocking other generic
use case. One may want to validate a sale order restricting it to a lot
that will be produced for instance and does not exist yet.

This feature may be easyly put it back, in a separated module, if a use
case requires it. The removal of this feature was made on this commit :
3234b2ccccf1dffafbe0a8fa8efaaea44f2e47ef.

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_selection%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
-------

* Agile Business Group

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

- Nicola Malcontenti <nicola.malcontenti@agilebg.com>
- Lorenzo Battistini <lorenzo.battistini@agilebg.com>
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
- Bhavesh Odedra <bodedra@opensourceintegrators.com>
- François Honoré <francois.honore@acsone.eu>
- Florian da Costa <florian.dacosta@akretion.com>
- Sander Lienaerts <sander.lienaerts@codeforward.nl>

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

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

|maintainer-bodedra|

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/17.0/sale_order_lot_selection>`_ 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_selection/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
13 changes: 13 additions & 0 deletions sale_order_lot_selection/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Sale Order Lot Selection",
"version": "18.0.1.0.0",
"category": "Sales Management",
"author": "Odoo Community Association (OCA), Agile Business Group",
"website": "https://github.com/OCA/sale-workflow",
"license": "AGPL-3",
"depends": ["sale_stock", "stock_restrict_lot"],
"data": ["views/sale_order_views.xml"],
"demo": ["demo/sale_demo.xml"],
"maintainers": ["bodedra"],
"installable": True,
}
26 changes: 26 additions & 0 deletions sale_order_lot_selection/demo/sale_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="lot_cable_demo" model="stock.lot">
<field name="product_id" ref="stock.product_cable_management_box" />
<field name="name">cbl mng</field>
<field name="company_id" ref="base.main_company" />
</record>

<record id="sale_order_demo" model="sale.order">
<field name="partner_id" ref="base.res_partner_1" />
<field name="user_id" ref="base.user_admin" />
</record>

<record id="sale_order_line_1_demo" model="sale.order.line">
<field name="order_id" ref="sale_order_lot_selection.sale_order_demo" />
<field name="product_id" ref="stock.product_cable_management_box" />
<field name="product_uom_qty">1</field>
<field name="lot_id" ref="sale_order_lot_selection.lot_cable_demo" />
</record>
<record id="sale_order_line_2_demo" model="sale.order.line">
<field name="order_id" ref="sale_order_lot_selection.sale_order_demo" />
<field name="product_id" ref="stock.product_cable_management_box" />
<field name="product_uom_qty">1</field>
<field name="lot_id" ref="sale_order_lot_selection.lot_cable_demo" />
</record>
</odoo>
45 changes: 45 additions & 0 deletions sale_order_lot_selection/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_lot_selection
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Carles Antoli <carlesantoli@hotmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-17 16:49+0000\n"
"PO-Revision-Date: 2021-01-20 12:44+0000\n"
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\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_selection
#: model:ir.model.fields,field_description:sale_order_lot_selection.field_sale_order_line__lot_id
msgid "Lot"
msgstr "Lot"

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

#, python-format
#~ msgid "Can't reserve products for lot %s"
#~ msgstr "No es poden reservar productes per al lot %s"

#, python-format
#~ msgid "Can't retrieve lot on stock"
#~ msgstr "No es pot recuperar el lot en estoc"

#~ msgid "Sales Order"
#~ msgstr "Comandes de Venda"

#~ msgid "Stock Move"
#~ msgstr "Moure l'estoc"
45 changes: 45 additions & 0 deletions sale_order_lot_selection/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_lot_selection
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: sale-workflow (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-26 09:59+0000\n"
"PO-Revision-Date: 2021-07-09 15:48+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-sale-workflow-8-0/"
"language/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"
"X-Generator: Weblate 4.3.2\n"

#. module: sale_order_lot_selection
#: model:ir.model.fields,field_description:sale_order_lot_selection.field_sale_order_line__lot_id
msgid "Lot"
msgstr "Charge / Seriennummer"

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

#, python-format
#~ msgid "Can't reserve products for lot %s"
#~ msgstr ""
#~ "Es können keine Produkt mit der Charge / Seriennummer %s reserviert "
#~ "werden."

#~ msgid "Sales Order"
#~ msgstr "Verkaufsauftrag"

#~ msgid "Stock Move"
#~ msgstr "Lagerbuchung"

#~ msgid "Procurement Group"
#~ msgstr "Beschaffungsgruppe"
34 changes: 34 additions & 0 deletions sale_order_lot_selection/i18n/el_GR.po
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:
# * sale_order_lot_selection
#
# Translators:
# Kostas Goutoudis <goutoudis@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-29 03:03+0000\n"
"PO-Revision-Date: 2016-09-29 03:03+0000\n"
"Last-Translator: Kostas Goutoudis <goutoudis@gmail.com>, 2016\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_selection
#: model:ir.model.fields,field_description:sale_order_lot_selection.field_sale_order_line__lot_id
msgid "Lot"
msgstr ""

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

#, fuzzy
#~ msgid "Sales Order"
#~ msgstr "Εντολή Πώλησης"
47 changes: 47 additions & 0 deletions sale_order_lot_selection/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * sale_order_lot_selection
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 01:51+0000\n"
"PO-Revision-Date: 2020-07-27 10:19+0000\n"
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\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 3.10\n"

#. module: sale_order_lot_selection
#: model:ir.model.fields,field_description:sale_order_lot_selection.field_sale_order_line__lot_id
msgid "Lot"
msgstr "Lote"

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

#, python-format
#~ msgid "Can't reserve products for lot %s"
#~ msgstr "No puede reservar productos para el lote %s"

#, python-format
#~ msgid "Can't retrieve lot on stock"
#~ msgstr "No se puede obtener el lote en las existencias"

#~ msgid "Sales Order"
#~ msgstr "Órdenes de venta"

#~ msgid "Stock Move"
#~ msgstr "Movimiento de existencia"

#~ msgid "Procurement Group"
#~ msgstr "Grupo de Abastecimiento"
34 changes: 34 additions & 0 deletions sale_order_lot_selection/i18n/es_ES.po
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:
# * sale_order_lot_selection
#
# Translators:
# Javi Melendez <javimelex@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-29 03:03+0000\n"
"PO-Revision-Date: 2016-09-29 03:03+0000\n"
"Last-Translator: Javi Melendez <javimelex@gmail.com>, 2016\n"
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/"
"es_ES/)\n"
"Language: es_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"

#. module: sale_order_lot_selection
#: model:ir.model.fields,field_description:sale_order_lot_selection.field_sale_order_line__lot_id
msgid "Lot"
msgstr "Lote"

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

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