-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[16.0][ADD] stock_lot_product_packaging: In products new button "Gene…
…rate Packaging In Products".
- Loading branch information
1 parent
4123730
commit 655aa41
Showing
19 changed files
with
642 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
setup/stock_lot_product_packaging/odoo/addons/stock_lot_product_packaging
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 @@ | ||
../../../../stock_lot_product_packaging |
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,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=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,32 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
=========================== | ||
Stock lot product packaging | ||
=========================== | ||
|
||
* In lots new fields "Product Packaging" and "Packaging Units". | ||
* In products new fields "product_density, and "Package types" and new button | ||
"Generate Packaging In Products", to generate packaging for each product | ||
variant. | ||
* If the quant has a lot, show the related field of the lot's packaging units. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/avanzosc/odoo-addons/issues>`_. In case of trouble, | ||
please check there if your issue has already been reported. If you spotted | ||
it first, help us smash it by providing detailed and welcomed feedback. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Ana Juaristi <[email protected]> | ||
* Alfredo de la Fuente <[email protected]> |
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,19 @@ | ||
# Copyright 2024 Alfredo de la Fuente - AvanzOSC | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
{ | ||
"name": "Stock Lot Product Packaging", | ||
"version": "16.0.1.0.0", | ||
"author": "Avanzosc", | ||
"category": "Inventory/Inventory", | ||
"website": "https://github.com/avanzosc/odoo-addons", | ||
"depends": ["product", "stock", "product_logistics_uom"], | ||
"data": [ | ||
"views/stock_package_type_views.xml", | ||
"views/product_template_views.xml", | ||
"views/product_product_views.xml", | ||
"views/stock_lot_views.xml", | ||
"views/stock_quant_views.xml", | ||
], | ||
"license": "AGPL-3", | ||
"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,90 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_lot_product_packaging | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-12-04 12:30+0000\n" | ||
"PO-Revision-Date: 2024-12-04 12:30+0000\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_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__product_density | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_template__product_density | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view2 | ||
msgid "Density" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view | ||
msgid "Generate Packaging In Products" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Group By" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_lot | ||
msgid "Lot/Serial" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__package_type_ids | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_template__package_type_ids | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view | ||
msgid "Package types" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_lot__packaging_units | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_quant__packaging_units | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.view_stock_quant_form_editable | ||
msgid "Packaging Units" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_product_template | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_package_type__product_tmpl_id | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Product" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__product_package_ids | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_normal_form_view | ||
msgid "Product Packages" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_lot__product_packaging_id | ||
msgid "Product Packaging" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_product_product | ||
msgid "Product Variant" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_quant | ||
msgid "Quants" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Search Package Types" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_package_type | ||
msgid "Stock package type" | ||
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,90 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_lot_product_packaging | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-12-04 12:30+0000\n" | ||
"PO-Revision-Date: 2024-12-04 12:30+0000\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_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__product_density | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_template__product_density | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view2 | ||
msgid "Density" | ||
msgstr "Densidad" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view | ||
msgid "Generate Packaging In Products" | ||
msgstr "Generar empaquetados en productos" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Group By" | ||
msgstr "Agrupar por" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_lot | ||
msgid "Lot/Serial" | ||
msgstr "Lote/serie" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__package_type_ids | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_template__package_type_ids | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view | ||
msgid "Package types" | ||
msgstr "Tipos empaquetados" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_lot__packaging_units | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_quant__packaging_units | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.view_stock_quant_form_editable | ||
msgid "Packaging Units" | ||
msgstr "Unidades envase" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_product_template | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_package_type__product_tmpl_id | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Product" | ||
msgstr "Producto" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__product_package_ids | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_normal_form_view | ||
msgid "Product Packages" | ||
msgstr "Empaquetados producto" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_lot__product_packaging_id | ||
msgid "Product Packaging" | ||
msgstr "Empaquetado producto" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_product_product | ||
msgid "Product Variant" | ||
msgstr "Variante de producto" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_quant | ||
msgid "Quants" | ||
msgstr "Cuantos" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Search Package Types" | ||
msgstr "Buscar tipos paquete" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_package_type | ||
msgid "Stock package type" | ||
msgstr "Tipo de paquete de stock" |
90 changes: 90 additions & 0 deletions
90
stock_lot_product_packaging/i18n/stock_lot_product_packaging.pot
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,90 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_lot_product_packaging | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-12-04 12:30+0000\n" | ||
"PO-Revision-Date: 2024-12-04 12:30+0000\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_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__product_density | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_template__product_density | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view2 | ||
msgid "Density" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view | ||
msgid "Generate Packaging In Products" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Group By" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_lot | ||
msgid "Lot/Serial" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__package_type_ids | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_template__package_type_ids | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_template_form_view | ||
msgid "Package types" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_lot__packaging_units | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_quant__packaging_units | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.view_stock_quant_form_editable | ||
msgid "Packaging Units" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_product_template | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_package_type__product_tmpl_id | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Product" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_product_product__product_package_ids | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.product_normal_form_view | ||
msgid "Product Packages" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model.fields,field_description:stock_lot_product_packaging.field_stock_lot__product_packaging_id | ||
msgid "Product Packaging" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_product_product | ||
msgid "Product Variant" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_quant | ||
msgid "Quants" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model_terms:ir.ui.view,arch_db:stock_lot_product_packaging.stock_package_type_search_view | ||
msgid "Search Package Types" | ||
msgstr "" | ||
|
||
#. module: stock_lot_product_packaging | ||
#: model:ir.model,name:stock_lot_product_packaging.model_stock_package_type | ||
msgid "Stock package type" | ||
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,5 @@ | ||
from . import product_product | ||
from . import product_template | ||
from . import stock_lot | ||
from . import stock_package_type | ||
from . import stock_quant |
Oops, something went wrong.