[tryton-debian-vcs] tryton-modules-product-measurements branch debian updated. debian/3.6.0-1-4-gfd69ec6
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 11 11:25:58 UTC 2015
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-product-measurements.git;a=commitdiff;h=debian/3.6.0-1-4-gfd69ec6
commit fd69ec6f9a843f0f679308c048a33794d7f7ec4d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Nov 11 12:11:13 2015 +0100
Merging upstream version 3.8.0.
diff --git a/CHANGELOG b/CHANGELOG
index 9ad7c30..4b59a95 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,11 @@
+Version 3.8.0 - 2015-11-02
+* Bug fixes (see mercurial logs for details)
+* Add volume
+
Version 3.6.0 - 2015-04-20
* Bug fixes (see mercurial logs for details)
* Add support for PyPy
+
Version 3.4.0 - 2014-10-20
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index e3d54f9..911e1d5 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_product_measurements
-Version: 3.6.0
+Version: 3.8.0
Summary: Tryton module to add measurements to product
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/3.6/
+Download-URL: http://downloads.tryton.org/3.8/
Description: trytond_product_measurements
============================
@@ -59,6 +59,9 @@ Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
Classifier: Natural Language :: French
Classifier: Natural Language :: German
+Classifier: Natural Language :: Hungarian
+Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Portuguese (Brazilian)
Classifier: Natural Language :: Russian
Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
diff --git a/locale/bg_BG.po b/locale/bg_BG.po
index a927b4c..644a574 100644
--- a/locale/bg_BG.po
+++ b/locale/bg_BG.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "Мер. ед. за дължина"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Тегло"
diff --git a/locale/ca_ES.po b/locale/ca_ES.po
index b55d717..bb5c330 100644
--- a/locale/ca_ES.po
+++ b/locale/ca_ES.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "UdM de la longitud"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Volum"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Decimals del volum"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "UdM del volum"
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Pes"
diff --git a/locale/cs_CZ.po b/locale/cs_CZ.po
index 997b7d9..fe42530 100644
--- a/locale/cs_CZ.po
+++ b/locale/cs_CZ.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr ""
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr ""
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 803ecc8..73a51a5 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "Länge Maßeinheit"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Volumen"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Nachkommastellen Volumen"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "Volumeneinheit"
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Gewicht"
diff --git a/locale/es_AR.po b/locale/es_AR.po
index b821d50..7dcba49 100644
--- a/locale/es_AR.po
+++ b/locale/es_AR.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "UdM de longitud"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Volumen"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Decimales de volumen"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "UdM de volumen"
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Peso"
diff --git a/locale/es_CO.po b/locale/es_CO.po
index 9f06c93..5f44d28 100644
--- a/locale/es_CO.po
+++ b/locale/es_CO.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "UdM de Largo"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Peso"
diff --git a/locale/es_EC.po b/locale/es_EC.po
index 5385bcf..f288f85 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -8,11 +8,11 @@ msgstr "Alto"
msgctxt "field:product.template,height_digits:"
msgid "Height Digits"
-msgstr "Decimales de Alto"
+msgstr "Decimales de alto"
msgctxt "field:product.template,height_uom:"
msgid "Height Uom"
-msgstr "UdM de Alto"
+msgstr "UdM de alto"
msgctxt "field:product.template,length:"
msgid "Length"
@@ -20,11 +20,23 @@ msgstr "Longitud"
msgctxt "field:product.template,length_digits:"
msgid "Length Digits"
-msgstr "Decimales de Largo"
+msgstr "Decimales de longitud"
msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
-msgstr "UdM de Largo"
+msgstr "UdM de longitud"
+
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Volumen"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Decimales de volumen"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "UdM de volumen"
msgctxt "field:product.template,weight:"
msgid "Weight"
@@ -32,11 +44,11 @@ msgstr "Peso"
msgctxt "field:product.template,weight_digits:"
msgid "Weight Digits"
-msgstr "Decimales de Peso"
+msgstr "Decimales de peso"
msgctxt "field:product.template,weight_uom:"
msgid "Weight Uom"
-msgstr "UdM de Peso"
+msgstr "UdM de peso"
msgctxt "field:product.template,width:"
msgid "Width"
@@ -44,11 +56,11 @@ msgstr "Ancho"
msgctxt "field:product.template,width_digits:"
msgid "Width Digits"
-msgstr "Decimales de Ancho"
+msgstr "Decimales de ancho"
msgctxt "field:product.template,width_uom:"
msgid "Width Uom"
-msgstr "UdM de Ancho"
+msgstr "UdM de ancho"
msgctxt "view:product.template:"
msgid "Measurements"
diff --git a/locale/es_ES.po b/locale/es_ES.po
index 8bd43be..cd007ab 100644
--- a/locale/es_ES.po
+++ b/locale/es_ES.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "UdM de la longitud"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Volumen"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Decimales del volumen"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "UdM del volumen"
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Peso"
diff --git a/locale/es_ES.po b/locale/es_MX.po
similarity index 83%
copy from locale/es_ES.po
copy to locale/es_MX.po
index 8bd43be..3678475 100644
--- a/locale/es_ES.po
+++ b/locale/es_MX.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "UdM de la longitud"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Peso"
@@ -52,4 +64,4 @@ msgstr "UdM del ancho"
msgctxt "view:product.template:"
msgid "Measurements"
-msgstr "Medidas"
+msgstr ""
diff --git a/locale/fr_FR.po b/locale/fr_FR.po
index a32e5a9..ef4c951 100644
--- a/locale/fr_FR.po
+++ b/locale/fr_FR.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "Unités de longueur"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Volume"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Décimales du volume"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "UdM du volume"
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Poids"
diff --git a/locale/cs_CZ.po b/locale/hu_HU.po
similarity index 63%
copy from locale/cs_CZ.po
copy to locale/hu_HU.po
index 997b7d9..474b7e1 100644
--- a/locale/cs_CZ.po
+++ b/locale/hu_HU.po
@@ -4,51 +4,63 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:product.template,height:"
msgid "Height"
-msgstr ""
+msgstr "Magasság"
msgctxt "field:product.template,height_digits:"
msgid "Height Digits"
-msgstr ""
+msgstr "Vessző utáni magasság"
msgctxt "field:product.template,height_uom:"
msgid "Height Uom"
-msgstr ""
+msgstr "Magasság mértékegysége"
msgctxt "field:product.template,length:"
msgid "Length"
-msgstr ""
+msgstr "Hossz"
msgctxt "field:product.template,length_digits:"
msgid "Length Digits"
-msgstr ""
+msgstr "Vessző utáni hossz"
msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
+msgstr "Hossz mértékegysége"
+
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
msgstr ""
msgctxt "field:product.template,weight:"
msgid "Weight"
-msgstr ""
+msgstr "Tömeg"
msgctxt "field:product.template,weight_digits:"
msgid "Weight Digits"
-msgstr ""
+msgstr "Vessző utáni tömeg"
msgctxt "field:product.template,weight_uom:"
msgid "Weight Uom"
-msgstr ""
+msgstr "Tömeg mértékegysége"
msgctxt "field:product.template,width:"
msgid "Width"
-msgstr ""
+msgstr "Szélesség"
msgctxt "field:product.template,width_digits:"
msgid "Width Digits"
-msgstr ""
+msgstr "Vessző utáni tömeg"
msgctxt "field:product.template,width_uom:"
msgid "Width Uom"
-msgstr ""
+msgstr "Szélesség mértékegysége"
msgctxt "view:product.template:"
msgid "Measurements"
diff --git a/locale/cs_CZ.po b/locale/it_IT.po
similarity index 81%
copy from locale/cs_CZ.po
copy to locale/it_IT.po
index 997b7d9..fe42530 100644
--- a/locale/cs_CZ.po
+++ b/locale/it_IT.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr ""
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr ""
diff --git a/locale/cs_CZ.po b/locale/ja_JP.po
similarity index 81%
copy from locale/cs_CZ.po
copy to locale/ja_JP.po
index 997b7d9..fe42530 100644
--- a/locale/cs_CZ.po
+++ b/locale/ja_JP.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr ""
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr ""
diff --git a/locale/cs_CZ.po b/locale/lt_LT.po
similarity index 81%
copy from locale/cs_CZ.po
copy to locale/lt_LT.po
index 997b7d9..fe42530 100644
--- a/locale/cs_CZ.po
+++ b/locale/lt_LT.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr ""
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr ""
diff --git a/locale/nl_NL.po b/locale/nl_NL.po
index 8cc9161..d74a88f 100644
--- a/locale/nl_NL.po
+++ b/locale/nl_NL.po
@@ -27,6 +27,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr ""
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
#, fuzzy
msgctxt "field:product.template,weight:"
msgid "Weight"
diff --git a/locale/es_ES.po b/locale/pt_BR.po
similarity index 62%
copy from locale/es_ES.po
copy to locale/pt_BR.po
index 8bd43be..3224d59 100644
--- a/locale/es_ES.po
+++ b/locale/pt_BR.po
@@ -8,23 +8,35 @@ msgstr "Altura"
msgctxt "field:product.template,height_digits:"
msgid "Height Digits"
-msgstr "Decimales de la altura"
+msgstr "Dígitos decimais da altura"
msgctxt "field:product.template,height_uom:"
msgid "Height Uom"
-msgstr "UdM de la altura"
+msgstr "UDM da altura"
msgctxt "field:product.template,length:"
msgid "Length"
-msgstr "Longitud"
+msgstr "Comprimento"
msgctxt "field:product.template,length_digits:"
msgid "Length Digits"
-msgstr "Decimales de la longitud"
+msgstr "Dígitos decimais do comprimento"
msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
-msgstr "UdM de la longitud"
+msgstr "UDM do comprimento"
+
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Volume"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Dígitos decimais do volume"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "UDM do volume"
msgctxt "field:product.template,weight:"
msgid "Weight"
@@ -32,23 +44,23 @@ msgstr "Peso"
msgctxt "field:product.template,weight_digits:"
msgid "Weight Digits"
-msgstr "Decimales del peso"
+msgstr "Dígitos decimais do peso"
msgctxt "field:product.template,weight_uom:"
msgid "Weight Uom"
-msgstr "UdM del peso"
+msgstr "UDM do peso"
msgctxt "field:product.template,width:"
msgid "Width"
-msgstr "Ancho"
+msgstr "Largura"
msgctxt "field:product.template,width_digits:"
msgid "Width Digits"
-msgstr "Decimales del ancho"
+msgstr "Dígitos decimais da largura"
msgctxt "field:product.template,width_uom:"
msgid "Width Uom"
-msgstr "UdM del ancho"
+msgstr "UDM da largura"
msgctxt "view:product.template:"
msgid "Measurements"
diff --git a/locale/ru_RU.po b/locale/ru_RU.po
index 8cba01d..6648d68 100644
--- a/locale/ru_RU.po
+++ b/locale/ru_RU.po
@@ -27,6 +27,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr ""
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr ""
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr ""
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr ""
+
#, fuzzy
msgctxt "field:product.template,weight:"
msgid "Weight"
diff --git a/locale/sl_SI.po b/locale/sl_SI.po
index fd170af..6549589 100644
--- a/locale/sl_SI.po
+++ b/locale/sl_SI.po
@@ -26,6 +26,18 @@ msgctxt "field:product.template,length_uom:"
msgid "Length Uom"
msgstr "ME za dolžino"
+msgctxt "field:product.template,volume:"
+msgid "Volume"
+msgstr "Prostornina"
+
+msgctxt "field:product.template,volume_digits:"
+msgid "Volume Digits"
+msgstr "Decimalke prostornine"
+
+msgctxt "field:product.template,volume_uom:"
+msgid "Volume Uom"
+msgstr "Enota prostornine"
+
msgctxt "field:product.template,weight:"
msgid "Weight"
msgstr "Teža"
diff --git a/product.py b/product.py
index 535b3a5..06627aa 100644
--- a/product.py
+++ b/product.py
@@ -2,7 +2,7 @@
# this repository contains the full copyright notices and license terms.
from trytond.model import fields
from trytond.pyson import Eval, Bool, Id
-from trytond.pool import PoolMeta
+from trytond.pool import PoolMeta, Pool
__all__ = ['Template']
__metaclass__ = PoolMeta
@@ -58,6 +58,23 @@ class Template:
depends=['type', 'width'])
width_digits = fields.Function(fields.Integer('Width Digits'),
'on_change_with_width_digits')
+ volume = fields.Float('Volume',
+ digits=(16, Eval('volume_digits', 2)),
+ states={
+ 'invisible': Eval('type').in_(NON_MEASURABLE),
+ 'readonly': (Bool(Eval('length'))
+ & Bool(Eval('height')) & Bool(Eval('width'))),
+ },
+ depends=['type', 'volume_digits'])
+ volume_uom = fields.Many2One('product.uom', 'Volume Uom',
+ domain=[('category', '=', Id('product', 'uom_cat_volume'))],
+ states={
+ 'invisible': Eval('type').in_(NON_MEASURABLE),
+ 'required': Bool(Eval('volume')),
+ },
+ depends=['type', 'volume'])
+ volume_digits = fields.Function(fields.Integer('Volume Digits'),
+ 'on_change_with_volume_digits')
weight = fields.Float('Weight',
digits=(16, Eval('weight_digits', 2)),
states={
@@ -101,6 +118,43 @@ class Template:
def default_width_digits():
return 2
+ @fields.depends('volume', 'volume_uom',
+ 'length', 'length_uom',
+ 'height', 'height_uom',
+ 'width', 'width_uom')
+ def on_change_with_volume(self):
+ pool = Pool()
+ ModelData = pool.get('ir.model.data')
+ Uom = pool.get('product.uom')
+
+ if not all([self.volume_uom, self.length, self.length_uom,
+ self.height, self.height_uom, self.width, self.width_uom]):
+ if all([self.length, self.height, self.width]):
+ return
+ return self.volume
+
+ meter = Uom(ModelData.get_id('product', 'uom_meter'))
+ cubic_meter = Uom(ModelData.get_id('product', 'uom_cubic_meter'))
+
+ length = Uom.compute_qty(
+ self.length_uom, self.length, meter, round=False)
+ height = Uom.compute_qty(
+ self.height_uom, self.height, meter, round=False)
+ width = Uom.compute_qty(
+ self.width_uom, self.width, meter, round=False)
+
+ return Uom.compute_qty(
+ cubic_meter, length * height * width, self.volume_uom)
+
+ @fields.depends('volume_uom')
+ def on_change_with_volume_digits(self, name=None):
+ return (self.volume_uom.digits if self.volume_uom
+ else self.default_volume_digits())
+
+ @staticmethod
+ def default_volume_digits():
+ return 2
+
@fields.depends('weight_uom')
def on_change_with_weight_digits(self, name=None):
return (self.weight_uom.digits if self.weight_uom
diff --git a/setup.py b/setup.py
index fd1b48a..4074565 100644
--- a/setup.py
+++ b/setup.py
@@ -80,6 +80,9 @@ setup(name=name,
'Natural Language :: English',
'Natural Language :: French',
'Natural Language :: German',
+ 'Natural Language :: Hungarian',
+ 'Natural Language :: Italian',
+ 'Natural Language :: Portuguese (Brazilian)',
'Natural Language :: Russian',
'Natural Language :: Slovenian',
'Natural Language :: Spanish',
diff --git a/tryton.cfg b/tryton.cfg
index 939432b..b1efcde 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.6.0
+version=3.8.0
depends:
ir
product
diff --git a/trytond_product_measurements.egg-info/PKG-INFO b/trytond_product_measurements.egg-info/PKG-INFO
index 897adcb..bf9b5f3 100644
--- a/trytond_product_measurements.egg-info/PKG-INFO
+++ b/trytond_product_measurements.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-product-measurements
-Version: 3.6.0
+Version: 3.8.0
Summary: Tryton module to add measurements to product
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/3.6/
+Download-URL: http://downloads.tryton.org/3.8/
Description: trytond_product_measurements
============================
@@ -59,6 +59,9 @@ Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
Classifier: Natural Language :: French
Classifier: Natural Language :: German
+Classifier: Natural Language :: Hungarian
+Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Portuguese (Brazilian)
Classifier: Natural Language :: Russian
Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
diff --git a/trytond_product_measurements.egg-info/SOURCES.txt b/trytond_product_measurements.egg-info/SOURCES.txt
index 1c0dabe..a8814c6 100644
--- a/trytond_product_measurements.egg-info/SOURCES.txt
+++ b/trytond_product_measurements.egg-info/SOURCES.txt
@@ -19,8 +19,14 @@ tryton.cfg
./locale/es_CO.po
./locale/es_EC.po
./locale/es_ES.po
+./locale/es_MX.po
./locale/fr_FR.po
+./locale/hu_HU.po
+./locale/it_IT.po
+./locale/ja_JP.po
+./locale/lt_LT.po
./locale/nl_NL.po
+./locale/pt_BR.po
./locale/ru_RU.po
./locale/sl_SI.po
./tests/__init__.py
@@ -35,8 +41,14 @@ locale/es_AR.po
locale/es_CO.po
locale/es_EC.po
locale/es_ES.po
+locale/es_MX.po
locale/fr_FR.po
+locale/hu_HU.po
+locale/it_IT.po
+locale/ja_JP.po
+locale/lt_LT.po
locale/nl_NL.po
+locale/pt_BR.po
locale/ru_RU.po
locale/sl_SI.po
trytond_product_measurements.egg-info/PKG-INFO
diff --git a/trytond_product_measurements.egg-info/requires.txt b/trytond_product_measurements.egg-info/requires.txt
index 110e9bb..1df1302 100644
--- a/trytond_product_measurements.egg-info/requires.txt
+++ b/trytond_product_measurements.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_product >= 3.6, < 3.7
-trytond >= 3.6, < 3.7
\ No newline at end of file
+trytond_product >= 3.8, < 3.9
+trytond >= 3.8, < 3.9
\ No newline at end of file
diff --git a/view/template_form.xml b/view/template_form.xml
index ce01d7c..f4b0cf1 100644
--- a/view/template_form.xml
+++ b/view/template_form.xml
@@ -13,6 +13,9 @@ this repository contains the full copyright notices and license terms. -->
<label name="width"/>
<field name="width"/>
<field name="width_uom"/>
+ <label name="volume"/>
+ <field name="volume"/>
+ <field name="volume_uom"/>
<label name="weight"/>
<field name="weight"/>
<field name="weight_uom"/>
--
tryton-modules-product-measurements
More information about the tryton-debian-vcs
mailing list