-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by dreispt
- Loading branch information
Showing
43 changed files
with
2,014 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:cb69fa963bca91e66d50c98d87322af722603b8a08a0fa87d77c971423ce49cb | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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 <[email protected]> | ||
- Lorenzo Battistini <[email protected]> | ||
- Serpent Consulting Services Pvt. Ltd. <[email protected]> | ||
- Bhavesh Odedra <[email protected]> | ||
- François Honoré <[email protected]> | ||
- Florian da Costa <[email protected]> | ||
- Sander Lienaerts <[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-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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "Sale Order Lot Selection", | ||
"version": "17.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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>, 2016 | ||
# Carles Antoli <[email protected]>, 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 <[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_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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>\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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>, 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 <[email protected]>, 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 "Εντολή Πώλησης" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>, 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 <[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 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]>, 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 <[email protected]>, 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" |
Oops, something went wrong.