Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
670e3c4
rename product_dimensions -> product_dimension
lepistone Aug 3, 2015
573ea91
Add missing default oca icons
yvaucher Aug 18, 2015
24a2c47
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
128afc0
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
80725dd
[FIX] product_dimension: Now domain on dimensional_uom_id is working …
hugosantosred Jan 5, 2016
0988ff0
[FIX] flake 8 error on modules product_dimension, product_gtin, produ…
bealdav Jan 13, 2016
90a02c4
ADD test case with product template
jjscarafia Jan 26, 2016
00862d8
[ADD] Dimensions fields in product.template
Sep 11, 2015
ba3ab5f
Module structure, views & license headers
leemannd May 26, 2016
933ade2
[MIG] product_dimension: Migration to 11.0
Mar 12, 2018
11cdcc2
[9.0][product_dimension][FIX] Fix volume being incorrectly calculated…
ivantodorovich Mar 12, 2018
07b63a5
[MIG]: Adding suggested changes
Mar 15, 2018
11e64da
[MIG] product_dimension: Adding missing po files and improvemnets
Apr 20, 2018
6696ace
[MIG] product_dimension: Adding lambda to domain function, Update readme
May 1, 2018
98190b3
[IMP] product_dimension: Code cleanup/improvements during migration t…
May 2, 2018
db82a33
[IMP] product_dimension: Reset volume when parameters not valid
May 3, 2018
8dbfdee
[MIG] product_dimension: Migration to 12.0
rvalyi May 25, 2019
ad6fc1b
[IMP] product_dimension: Works with many variants and split Readme
clementmbr Oct 11, 2019
79dab9a
Update translation files
oca-transbot Dec 3, 2019
26c1bfa
Translated using Weblate (Spanish)
Galoperd Dec 26, 2019
373f33d
[FIX] rename length to product_length
emagdalenaC2i Mar 7, 2020
7e1f0a3
[UPD] README.rst
OCA-git-bot Mar 12, 2020
785fe30
Update translation files
oca-transbot Mar 12, 2020
ad0c8c0
Added translation using Weblate (Portuguese)
pedrocs-exo Mar 23, 2020
06c7b7e
Translated using Weblate (Portuguese)
pedrocs-exo Mar 23, 2020
42a0dbf
[IMP] product_dimension: black, isort, prettier
EmailsGmails Apr 15, 2020
af65e76
[MIG] product_dimension: Migration To 13.0
Tatider Apr 16, 2020
30344de
[UPD] README.rst
OCA-git-bot May 19, 2020
8fcc73c
Translated using Weblate (German)
didierdonze Jul 22, 2020
75ce6a0
Translated using Weblate (French)
didierdonze Jul 22, 2020
c4a3a3e
Update translation files
oca-transbot Aug 16, 2020
9790227
[IMP] product_dimension: black, isort, prettier
emagdalenaC2i Oct 13, 2020
ceb51a0
[MIG] product_dimension: Migration to 14.0
emagdalenaC2i Oct 13, 2020
a06ff5e
[UPD] README.rst
OCA-git-bot Oct 19, 2020
64fafe8
Translated using Weblate (French)
Yvesldff Feb 18, 2021
7f33ea0
[FIX] [13.0] product_dimension Contributors website
emagdalenaC2i Sep 3, 2020
c060231
[UPD] README.rst
OCA-git-bot Nov 23, 2021
837a6d6
[MIG] product_dimension: Migration to 15.0
celm1990 Dec 16, 2021
d6b88b9
[MOV] product_dimension: split models per file
celm1990 Jan 29, 2022
2a5f6a3
[UPD] README.rst
OCA-git-bot Feb 4, 2022
f95d66a
product_dimension 15.0.1.0.1
OCA-git-bot Feb 4, 2022
89accf5
Translated using Weblate (Catalan)
Noel000 Mar 21, 2022
4012686
[MIG] product_dimension: Migration to 16.0
FrancoMaxime Oct 11, 2022
191b554
[UPD] README.rst
OCA-git-bot Nov 22, 2022
d59c607
product_dimension 16.0.1.0.1
OCA-git-bot Nov 22, 2022
41f9d77
[IMP] product_dimension: Remove onchange method to computed readonly …
rousseldenis Nov 23, 2022
3a1ab37
[IMP] product_dimension: Allow to create product template with dimens…
rousseldenis Nov 23, 2022
1dd26ff
product_dimension 16.0.1.1.0
OCA-git-bot Nov 29, 2022
4649e6f
Update translation files
weblate Nov 29, 2022
bdf9d50
Added translation using Weblate (Italian)
PicchiSeba Apr 27, 2023
490ecba
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
603bd0f
[UPD] README.rst
OCA-git-bot Sep 3, 2023
d716d4e
Update translation files
weblate Oct 9, 2023
6477da8
[IMP] product_dimension: pre-commit auto fixes
thaolt99 Dec 1, 2023
eda0c24
[MIG] product_dimension: Migration to 17.0
thaolt99 Dec 1, 2023
45e4ba3
[REF] product_dimension: updated linting of description
achulii Mar 1, 2024
410ba90
[MIG] product_dimension: Migration to 18.0
StefanRijnhart Oct 10, 2024
666286b
[UPD] Update product_dimension.pot
Oct 23, 2024
552fe66
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
708fca1
[IMP] product_dimension: pre-commit auto fixes
hieulucky111 Oct 1, 2025
2ff7c80
[MIG] product_dimension: Migration to 19.0
hieulucky111 Oct 1, 2025
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
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:33b715207dfb67e71c10e259f9ba52e6d1bab082fc6e9f805a351d54f17c7462
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/product-attribute-18-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=18.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:%2018.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/18.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
16 changes: 16 additions & 0 deletions product_dimension/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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": "19.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