Skip to content

Commit

Permalink
Merge PR #1473 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by gurneyalex
  • Loading branch information
OCA-git-bot committed Dec 7, 2023
2 parents 6a88bca + 1eacd27 commit 2c6979e
Show file tree
Hide file tree
Showing 26 changed files with 1,679 additions and 0 deletions.
137 changes: 137 additions & 0 deletions product_dimension/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
=================
Product Dimension
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8ccc0f2b27a1fcb8d8ece5d0f1f90dda73a1d0f056ea47a6602c2d09233aeeab
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/17.0/product_dimension
: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-17-0/product-attribute-17-0-product_dimension
: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/product-attribute&target_branch=17.0
:alt: Try me on Runboat

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

This module extends the functionality of product to support dimensions
(length, width and height). Also computes the volume automatically when
you change one of these dimensions.

This module was previously hosted on
https://github.com/ingadhoc/odoo-addons and before that on
https://launchpad.net/~ingenieria-adhoc.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module :

1. Go to Product View > Inventory
2. Edit Dimensional UoM and the three dimensions

If the product has got more than one variant, the dimensions (and the
volume) are visible only in the variants.

Changelog
=========

| [ The change log. The goal of this file is to help readers
| understand changes between version. The primary audience is end users
and integrators. Purely technical changes such as code refactoring
must not be mentioned here.
This file may contain ONE level of section titles, underlined with the ~
(tilde) character. Other section markers are forbidden and will likely
break the structure of the README.rst or other documents where this
fragment is included. ]

13.0.1.0.0 (2020-04-16)
-----------------------

- [MIG] Migration from Odoo 12.0 to 13.0
- [IMP] Black, isort, prettier

16.0.1.0.0 (2022-10-11)
-----------------------

- [MIG] Migration from Odoo 15.0 to 16.0
- [IMP] Black, isort, prettier (pre-commit)

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_dimension%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
-------

* brain-tec AG
* ADHOC SA
* Camptocamp SA

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

- Juan Jose Scarafia <jjs@ingadhoc.com>
- Leonardo Pistone <leonardo.pistone@camptocamp.com>
- Denis Leemann <denis.leemann@camptocamp.com>
- Kumar Aberer <kumar.aberer@braintec-group.com>
- `C2i Change 2 improve <http://www.c2i.es>`__:

- Eduardo Magdalena <emagdalena@c2i.es>

- Carlos Lopez <celm1990@gmail.com>
- `Trobz <https://trobz.com>`__:

- Thao Le <thaolt@trobz.com>

Other credits
-------------

The migration of this module from 16.0 to 17.0 was 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/17.0/product_dimension>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions product_dimension/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
17 changes: 17 additions & 0 deletions product_dimension/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2018 brain-tec AG (http://www.braintec-group.com)
# Copyright 2015-2016 Camptocamp SA
# Copyright 2015 ADHOC SA (http://www.adhoc.com.ar)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Product Dimension",
"version": "17.0.1.0.0",
"category": "Product",
"author": "brain-tec AG, ADHOC SA, Camptocamp SA, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/product-attribute",
"depends": ["product"],
"data": ["views/product_view.xml"],
"installable": True,
"images": ["static/description/icon.png"],
}
93 changes: 93 additions & 0 deletions product_dimension/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_dimension
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: product-attribute (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-22 01:40+0000\n"
"PO-Revision-Date: 2022-03-21 14:17+0000\n"
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\n"
"Language-Team: Catalan (http://www.transifex.com/oca/OCA-product-"
"attribute-9-0/language/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: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__dimensional_uom_id
#: model:ir.model.fields,field_description:product_dimension.field_product_template__dimensional_uom_id
msgid "Dimensional UoM"
msgstr "UoM dimensional"

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Dimensions"
msgstr "Dimensions"

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Height"
msgstr "Alçada"

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Length"
msgstr "Llargada"

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

#. module: product_dimension
#: model:ir.model,name:product_dimension.model_product_product
msgid "Product Variant"
msgstr ""

#. module: product_dimension
#: model:ir.model.fields,help:product_dimension.field_product_product__dimensional_uom_id
#: model:ir.model.fields,help:product_dimension.field_product_template__dimensional_uom_id
msgid "UoM for length, height, width"
msgstr "UoM per a longitud, alçada i amplada"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__volume
#: model:ir.model.fields,field_description:product_dimension.field_product_template__volume
msgid "Volume"
msgstr ""

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Width"
msgstr "Amplada"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__product_height
#: model:ir.model.fields,field_description:product_dimension.field_product_template__product_height
msgid "height"
msgstr "alçada"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__product_length
#: model:ir.model.fields,field_description:product_dimension.field_product_template__product_length
msgid "length"
msgstr "llargada"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__product_width
#: model:ir.model.fields,field_description:product_dimension.field_product_template__product_width
msgid "width"
msgstr "amplada"

#~ msgid "Product Template"
#~ msgstr "Plantilla de producte"
91 changes: 91 additions & 0 deletions product_dimension/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_dimension
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-03-15 10:11+0000\n"
"PO-Revision-Date: 2020-07-22 11:19+0000\n"
"Last-Translator: c2cdidier <didier.donze@camptocamp.com>\n"
"Language-Team: \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 3.10\n"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__dimensional_uom_id
#: model:ir.model.fields,field_description:product_dimension.field_product_template__dimensional_uom_id
msgid "Dimensional UoM"
msgstr "Einheit d. Abmessungen"

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Dimensions"
msgstr "Abmessungen"

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Height"
msgstr "Höhe"

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Length"
msgstr "Länge"

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

#. module: product_dimension
#: model:ir.model,name:product_dimension.model_product_product
msgid "Product Variant"
msgstr ""

#. module: product_dimension
#: model:ir.model.fields,help:product_dimension.field_product_product__dimensional_uom_id
#: model:ir.model.fields,help:product_dimension.field_product_template__dimensional_uom_id
msgid "UoM for length, height, width"
msgstr "Einheit für Länge, Höhe, Breite"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__volume
#: model:ir.model.fields,field_description:product_dimension.field_product_template__volume
msgid "Volume"
msgstr ""

#. module: product_dimension
#: model_terms:ir.ui.view,arch_db:product_dimension.product_normal_form_view
#: model_terms:ir.ui.view,arch_db:product_dimension.product_template_only_form_view
msgid "Width"
msgstr "Breite"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__product_height
#: model:ir.model.fields,field_description:product_dimension.field_product_template__product_height
msgid "height"
msgstr "Höhe"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__product_length
#: model:ir.model.fields,field_description:product_dimension.field_product_template__product_length
msgid "length"
msgstr "Länge"

#. module: product_dimension
#: model:ir.model.fields,field_description:product_dimension.field_product_product__product_width
#: model:ir.model.fields,field_description:product_dimension.field_product_template__product_width
msgid "width"
msgstr "Breite"

#~ msgid "Product Template"
#~ msgstr "Produktvorlage"
Loading

0 comments on commit 2c6979e

Please sign in to comment.