Navigation Menu

Skip to content

Commit

Permalink
Merge PR #760 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by sebastienbeau
  • Loading branch information
OCA-git-bot committed Apr 9, 2021
2 parents 27d8b0c + 2413c99 commit 821c4ed
Show file tree
Hide file tree
Showing 19 changed files with 1,147 additions and 0 deletions.
91 changes: 91 additions & 0 deletions product_packaging_type/README.rst
@@ -0,0 +1,91 @@
======================
Product Packaging Type
======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/14.0/product_packaging_type
: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-14-0/product-attribute-14-0-product_packaging_type
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/135/14.0
:alt: Try me on Runbot

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

This module allows odoo users to declare packaging types

**Table of contents**

.. contents::
:local:

Usage
=====

To create a new packaging type:

#. Go to *Sales > Configuration > Products > Product Packaging Type*.
#. You can create/edit/delete packaging types

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_packaging_type%0Aversion:%2014.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
~~~~~~~~~~~~

* `Camptocamp <https://www.camptocamp.com>`_

* Damien Crier <damien.crier@camptocamp.com>
* Hiep (Nguyen Hoang) <hiepnh@trobz.com>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Camptocamp

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.

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/14.0/product_packaging_type>`_ 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 product_packaging_type/__init__.py
@@ -0,0 +1 @@
from . import models
22 changes: 22 additions & 0 deletions product_packaging_type/__manifest__.py
@@ -0,0 +1,22 @@
# Copyright 2019-2020 Camptocamp (<https://www.camptocamp.com>).
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

{
"name": "Product Packaging Type",
"version": "14.0.0.1.0",
"development_status": "Beta",
"category": "Product",
"summary": "Product Packaging Type",
"author": "Camptocamp, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"license": "LGPL-3",
"depends": ["product", "stock"],
"data": [
"data/product_packaging_type.xml",
"security/ir.model.access.csv",
"views/product_packaging_type_view.xml",
"views/product_packaging_view.xml",
],
"installable": True,
"auto_install": False,
}
9 changes: 9 additions & 0 deletions product_packaging_type/data/product_packaging_type.xml
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="product_packaging_type_default" model="product.packaging.type">
<field name="name">Default Type</field>
<field name="code">DEFAULT</field>
<field name="sequence">1</field>
<field name="is_default" eval="True" />
</record>
</odoo>
158 changes: 158 additions & 0 deletions product_packaging_type/i18n/es.po
@@ -0,0 +1,158 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_packaging_type
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-10-14 14:08+0000\n"
"Last-Translator: claudiagn <claudia.gargallo@qubiq.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 3.10\n"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__active
msgid "Active"
msgstr "Activo"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging__barcode_required_for_gtin
msgid "Barcode Required For Gtin"
msgstr "Código de barras obligatorio para Gtin"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__code
msgid "Code"
msgstr "Código"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__create_date
msgid "Created on"
msgstr "Creado el"

#. module: product_packaging_type
#: model:product.packaging.type,name:product_packaging_type.product_packaging_type_default
msgid "Default Type"
msgstr "Tipo predeterminado"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__has_gtin
msgid "Has Gtin"
msgstr "Tiene Gtin"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__id
msgid "ID"
msgstr "ID"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__is_default
msgid "Is Default"
msgstr "Es predeterminado"

#. module: product_packaging_type
#: code:addons/product_packaging_type/models/product_packaging_type.py:0
#, python-format
msgid ""
"It is forbidden to have different packagings with the same type for a given "
"product ({})."
msgstr ""
"Está prohibido tener diferentes embalajes con el mismo tipo para un producto "
"determinado ({})."

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type____last_update
msgid "Last Modified on"
msgstr "Última modificación el"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__name
msgid "Name"
msgstr "Nombre"

#. module: product_packaging_type
#: code:addons/product_packaging_type/models/product_packaging_type.py:0
#, python-format
msgid "Only one product packaging type can be set as \"Is Default\"."
msgstr ""
"Solo se puede establecer un tipo de empaque de producto como \""
"Predeterminado\"."

#. module: product_packaging_type
#: model_terms:ir.ui.view,arch_db:product_packaging_type.product_packaging_tree_view_inherit
msgid "Packaging"
msgstr "Empaquetado"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging__packaging_type_id
#: model_terms:ir.ui.view,arch_db:product_packaging_type.view_product_packaging_type_form
msgid "Packaging Type"
msgstr "Tipo de empaquetado"

#. module: product_packaging_type
#: model:ir.model,name:product_packaging_type.model_product_packaging
msgid "Product Packaging"
msgstr "Empaquetado de producto"

#. module: product_packaging_type
#: model:ir.actions.act_window,name:product_packaging_type.act_open_product_packaging_type_view
#: model:ir.ui.menu,name:product_packaging_type.menu_product_packaging_type
#: model_terms:ir.ui.view,arch_db:product_packaging_type.view_product_packaging_type_form
#: model_terms:ir.ui.view,arch_db:product_packaging_type.view_product_packaging_type_search
#: model_terms:ir.ui.view,arch_db:product_packaging_type.view_product_packaging_type_tree
msgid "Product Packaging Type"
msgstr "Tipo de empaquetado de producto"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging__qty_per_type
msgid "Qty per package type"
msgstr "Cantidad por tipo de paquete"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging_type__sequence
msgid "Sequence"
msgstr "Secuencia"

#. module: product_packaging_type
#: code:addons/product_packaging_type/models/product_packaging_type.py:0
#, python-format
msgid "There must be one product packaging type set as \"Is Default\"."
msgstr ""
"Debe haber un tipo de empaque de producto establecido como \"Es "
"predeterminado\"."

#. module: product_packaging_type
#: model:ir.model,name:product_packaging_type.model_product_packaging_type
msgid "Type management for product.packaging"
msgstr "Tipo de administración para empaquetado de producto"

#. module: product_packaging_type
#: model:ir.model.fields,field_description:product_packaging_type.field_product_packaging__type_sequence
msgid "Type sequence"
msgstr "Tipo de secuencia"

0 comments on commit 821c4ed

Please sign in to comment.