[tryton-debian-vcs] tryton-modules-currency branch upstream updated. upstream/3.0.0-1-gef4f511

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Apr 22 13:07:35 UTC 2014


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-currency.git;a=commitdiff;h=upstream/3.0.0-1-gef4f511

commit ef4f511d65eb2a1dfcc368be95100a451bd417d5
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Apr 22 14:21:57 2014 +0200

    Adding upstream version 3.2.0.

diff --git a/CHANGELOG b/CHANGELOG
index b4bbd84..7c4d480 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.0 - 2014-04-21
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.0 - 2013-10-21
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 9192c97..5134c09 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2013 Cédric Krier.
+Copyright (C) 2008-2014 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2013 B2CK SPRL.
+Copyright (C) 2008-2014 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/INSTALL b/INSTALL
index 00b7a6a..ac69353 100644
--- a/INSTALL
+++ b/INSTALL
@@ -4,7 +4,7 @@ Installing trytond_currency
 Prerequisites
 -------------
 
- * Python 2.6 or later (http://www.python.org/)
+ * Python 2.7 or later (http://www.python.org/)
  * trytond (http://www.tryton.org/)
 
 Installation
diff --git a/MANIFEST.in b/MANIFEST.in
index 2f34bcd..cca6bbb 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,13 +1,11 @@
 include INSTALL
 include README
-include TODO
 include CHANGELOG
 include COPYRIGHT
 include LICENSE
 include tryton.cfg
 include *.xml
 include view/*.xml
-include *.odt
 include locale/*.po
 include doc/*
 include icons/*
diff --git a/PKG-INFO b/PKG-INFO
index 70e6637..a8cf621 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_currency
-Version: 3.0.0
+Version: 3.2.0
 Summary: Tryton module with currencies
 Home-page: http://www.tryton.org/
 Author: Tryton
-Author-email: UNKNOWN
+Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.0/
+Download-URL: http://downloads.tryton.org/3.2/
 Description: trytond_currency
         ================
         
@@ -43,7 +43,8 @@ Description: trytond_currency
         
           http://www.tryton.org/
         
-Platform: UNKNOWN
+Keywords: tryton currency
+Platform: any
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Plugins
 Classifier: Framework :: Tryton
@@ -63,6 +64,5 @@ Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Topic :: Office/Business
diff --git a/currency.py b/currency.py
index 05afa36..e8e1b50 100644
--- a/currency.py
+++ b/currency.py
@@ -18,8 +18,8 @@ class Currency(ModelSQL, ModelView):
     symbol = fields.Char('Symbol', size=10, required=True)
     code = fields.Char('Code', size=3, required=True)
     numeric_code = fields.Char('Numeric Code', size=3)
-    rate = fields.Function(fields.Numeric('Current rate', digits=(12, 6),
-        on_change_with=['rates']), 'get_rate')
+    rate = fields.Function(fields.Numeric('Current rate', digits=(12, 6)),
+        'get_rate')
     rates = fields.One2Many('currency.currency.rate', 'currency', 'Rates')
     rounding = fields.Numeric('Rounding factor', digits=(12, 6), required=True)
     digits = fields.Integer('Display Digits', required=True)
@@ -134,6 +134,12 @@ class Currency(ModelSQL, ModelView):
         return True
 
     @classmethod
+    def search_global(cls, text):
+        for id_, rec_name, icon in super(Currency, cls).search_global(text):
+            icon = icon or 'tryton-currency'
+            yield id_, rec_name, icon
+
+    @classmethod
     def search_rec_name(cls, name, clause):
         currencies = None
         field = None
@@ -145,6 +151,7 @@ class Currency(ModelSQL, ModelView):
             return [(field,) + tuple(clause[1:])]
         return [(cls._rec_name,) + tuple(clause[1:])]
 
+    @fields.depends('rates')
     def on_change_with_rate(self):
         now = datetime.date.today()
         closer = datetime.date.min
@@ -187,16 +194,7 @@ class Currency(ModelSQL, ModelView):
         return res
 
     def round(self, amount, rounding=ROUND_HALF_EVEN):
-        '''
-        Round the amount depending of the currency
-
-        :param cursor: the database cursor
-        :param user: the user id
-        :param currency: a BrowseRecord of currency.currency
-        :param amout: a Decimal
-        :param rounding: the rounding option
-        :return: a Decimal
-        '''
+        'Round the amount depending of the currency'
         return (amount / self.rounding).quantize(Decimal('1.'),
                 rounding=rounding) * self.rounding
 
diff --git a/locale/ca_ES.po b/locale/ca_ES.po
index 6a51388..dac967e 100644
--- a/locale/ca_ES.po
+++ b/locale/ca_ES.po
@@ -12,13 +12,13 @@ msgstr "La taxa de canvi de la moneda ha de ser més gran o igual a 0."
 
 msgctxt "error:currency.currency:"
 msgid "Invalid grouping \"%(grouping)s\" on  currency \"%(currency)s\"."
-msgstr "Agrupació \"%(grouping)s\" de la moneda \"%(currency)s\" no és correcta."
+msgstr "L'agrupació \"%(grouping)s\" de la moneda \"%(currency)s\" no és correcta."
 
 msgctxt "error:currency.currency:"
 msgid "No rate found for currency \"%(currency)s\" on \"%(date)s\""
 msgstr ""
 "No s'ha trobat cap taxa de canvi per a la moneda \"%(currency)s\" a la data "
-"\"%(date)s\""
+"\"%(date)s\"."
 
 msgctxt "field:currency.currency,active:"
 msgid "Active"
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 337e8e2..8cedbad 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -36,7 +36,7 @@ msgstr "Erstellt durch"
 
 msgctxt "field:currency.currency,digits:"
 msgid "Display Digits"
-msgstr "Angezeigte Stellen"
+msgstr "Angezeigte Nachkommastellen"
 
 msgctxt "field:currency.currency,id:"
 msgid "ID"
@@ -56,11 +56,11 @@ msgstr "Tausendertrennzeichen Währung"
 
 msgctxt "field:currency.currency,n_cs_precedes:"
 msgid "Negative Currency Symbol Precedes"
-msgstr "Negativer Wert: Symbol führend"
+msgstr "Negativer Wert mit führendem Symbol"
 
 msgctxt "field:currency.currency,n_sep_by_space:"
 msgid "Negative Separate by Space"
-msgstr "Negativer Wert: durch Leerzeichen getrennt"
+msgstr "Negativer Wert durch Leerzeichen getrennt"
 
 msgctxt "field:currency.currency,n_sign_posn:"
 msgid "Negative Sign Position"
@@ -80,11 +80,11 @@ msgstr "Numerischer Code"
 
 msgctxt "field:currency.currency,p_cs_precedes:"
 msgid "Positive Currency Symbol Precedes"
-msgstr "Positiver Wert: Symbol führend"
+msgstr "Positiver Wert mit führendem Symbol"
 
 msgctxt "field:currency.currency,p_sep_by_space:"
 msgid "Positive Separate by Space"
-msgstr "Positiver Wert: durch Leerzeichen getrennt"
+msgstr "Positiver Wert durch Leerzeichen getrennt"
 
 msgctxt "field:currency.currency,p_sign_posn:"
 msgid "Positive Sign Position"
diff --git a/locale/es_AR.po b/locale/es_AR.po
index 45905a3..6473387 100644
--- a/locale/es_AR.po
+++ b/locale/es_AR.po
@@ -874,7 +874,7 @@ msgstr "Código reservado para pruebas"
 
 msgctxt "model:currency.currency,name:xxx"
 msgid "No currency"
-msgstr "Sin moneda"
+msgstr "Sin divisa"
 
 msgctxt "model:currency.currency,name:yer"
 msgid "Yemeni Rial"
diff --git a/locale/es_ES.po b/locale/es_ES.po
index a6e362f..7470d82 100644
--- a/locale/es_ES.po
+++ b/locale/es_ES.po
@@ -874,7 +874,7 @@ msgstr "Código reservado para pruebas"
 
 msgctxt "model:currency.currency,name:xxx"
 msgid "No currency"
-msgstr "Sin moneda"
+msgstr "Sin divisa"
 
 msgctxt "model:currency.currency,name:yer"
 msgid "Yemeni Rial"
diff --git a/locale/fr_FR.po b/locale/fr_FR.po
index 55f2052..7ce7760 100644
--- a/locale/fr_FR.po
+++ b/locale/fr_FR.po
@@ -900,7 +900,7 @@ msgstr "Devises"
 
 msgctxt "model:ir.ui.menu,name:menu_currency"
 msgid "Currency"
-msgstr "Devises"
+msgstr "Devise"
 
 msgctxt "model:ir.ui.menu,name:menu_currency_form"
 msgid "Currencies"
@@ -908,7 +908,7 @@ msgstr "Devises"
 
 msgctxt "model:res.group,name:group_currency_admin"
 msgid "Currency Administration"
-msgstr "Administration Devises"
+msgstr "Administration des devises"
 
 msgctxt "view:currency.currency.rate:"
 msgid "Rate"
diff --git a/locale/sl_SI.po b/locale/sl_SI.po
index 8f11bad..468fe0d 100644
--- a/locale/sl_SI.po
+++ b/locale/sl_SI.po
@@ -164,299 +164,299 @@ msgstr "Valuta"
 
 msgctxt "model:currency.currency,name:aed"
 msgid "UAE Dirham"
-msgstr "Dirham"
+msgstr "dirham"
 
 msgctxt "model:currency.currency,name:afn"
 msgid "Afghani"
-msgstr "Afgani"
+msgstr "afgani"
 
 msgctxt "model:currency.currency,name:all"
 msgid "Lek"
-msgstr "Lek"
+msgstr "albanski lek"
 
 msgctxt "model:currency.currency,name:amd"
 msgid "Armenian Dram"
-msgstr "Armenski dram"
+msgstr "armenski dram"
 
 msgctxt "model:currency.currency,name:ang"
 msgid "Netherlands Antillian Guilder"
-msgstr "Nizozemsko-antilski gulden"
+msgstr "gulden Nizozemskih Antilov"
 
 msgctxt "model:currency.currency,name:aoa"
 msgid "Kwanza"
-msgstr "Kvanza"
+msgstr "kvanza"
 
 msgctxt "model:currency.currency,name:ars"
 msgid "Argentine Peso"
-msgstr "Argentinski peso"
+msgstr "argentinski peso"
 
 msgctxt "model:currency.currency,name:aud"
 msgid "Australian Dollar"
-msgstr "Avstralski dolar"
+msgstr "avstralski dolar"
 
 msgctxt "model:currency.currency,name:awg"
 msgid "Aruban Guilder"
-msgstr "Arubski gulden"
+msgstr "arubski gulden"
 
 msgctxt "model:currency.currency,name:azn"
 msgid "Azerbaijanian Manat"
-msgstr "Azerbajdžanski manat"
+msgstr "azerbajdžanski manat"
 
 msgctxt "model:currency.currency,name:bam"
 msgid "Convertible Marks"
-msgstr "Konvertibilna marka"
+msgstr "konvertibilna marka"
 
 msgctxt "model:currency.currency,name:bbd"
 msgid "Barbados Dollar"
-msgstr "Barbadoški dolar"
+msgstr "barbadoški dolar"
 
 msgctxt "model:currency.currency,name:bdt"
 msgid "Taka"
-msgstr "Taka"
+msgstr "taka"
 
 msgctxt "model:currency.currency,name:bgn"
 msgid "Bulgarian Lev"
-msgstr "Bolgarski lev"
+msgstr "bolgarski lev"
 
 msgctxt "model:currency.currency,name:bhd"
 msgid "Bahraini Dinar"
-msgstr "Bahrainski dinar"
+msgstr "bahrajnski dinar"
 
 msgctxt "model:currency.currency,name:bif"
 msgid "Burundi Franc"
-msgstr "Burundijski frank"
+msgstr "burundijski frank"
 
 msgctxt "model:currency.currency,name:bmd"
 msgid "Bermudian Dollar"
-msgstr "Bermudski dolar"
+msgstr "bermudski dolar"
 
 msgctxt "model:currency.currency,name:bnd"
 msgid "Brunei Dollar"
-msgstr "Brunejski dolar"
+msgstr "brunejski dolar"
 
 msgctxt "model:currency.currency,name:bob"
 msgid "Boliviano"
-msgstr "Boliviano"
+msgstr "boliviano"
 
 msgctxt "model:currency.currency,name:bov"
 msgid "Mvdol"
-msgstr "Mvdol"
+msgstr "mvdol"
 
 msgctxt "model:currency.currency,name:brl"
 msgid "Brazilian Real"
-msgstr "Brazilski real"
+msgstr "brazilski real"
 
 msgctxt "model:currency.currency,name:bsd"
 msgid "Bahamian Dollar"
-msgstr "Bahamski dolar"
+msgstr "bahamski dolar"
 
 msgctxt "model:currency.currency,name:btn"
 msgid "Ngultrum"
-msgstr "Ngultrum"
+msgstr "ngultrum"
 
 msgctxt "model:currency.currency,name:bwp"
 msgid "Pula"
-msgstr "Pula"
+msgstr "bocvanska pula"
 
 msgctxt "model:currency.currency,name:byr"
 msgid "Belarussian Ruble"
-msgstr "Beloruski rubelj"
+msgstr "beloruski rubelj"
 
 msgctxt "model:currency.currency,name:bzd"
 msgid "Belize Dollar"
-msgstr "Belizejski dolar"
+msgstr "belizejski dolar"
 
 msgctxt "model:currency.currency,name:cad"
 msgid "Canadian Dollar"
-msgstr "Kanadski dolar"
+msgstr "kanadski dolar"
 
 msgctxt "model:currency.currency,name:cdf"
 msgid "Congolese Franc"
-msgstr "Kongoški frank"
+msgstr "kongoški frank"
 
 msgctxt "model:currency.currency,name:che"
 msgid "WIR Euro"
-msgstr "WIR evro"
+msgstr "WIR-evro"
 
 msgctxt "model:currency.currency,name:chf"
 msgid "Swiss Franc"
-msgstr "Švicarski frank"
+msgstr "švicarski frank"
 
 msgctxt "model:currency.currency,name:chw"
 msgid "WIR Franc"
-msgstr "WIR frank"
+msgstr "WIR-frank"
 
 msgctxt "model:currency.currency,name:clf"
 msgid "Unidades de fomento"
-msgstr "Unidades de fomento"
+msgstr "čilski unidades de fomento"
 
 msgctxt "model:currency.currency,name:clp"
 msgid "Chilean Peso"
-msgstr "Čilski peso"
+msgstr "čilski peso"
 
 msgctxt "model:currency.currency,name:cny"
 msgid "Yuan Renminbi"
-msgstr "Kitajski juan renminbi"
+msgstr "kitajski juan renminbi"
 
 msgctxt "model:currency.currency,name:cop"
 msgid "Colombian Peso"
-msgstr "Kolumbijski peso"
+msgstr "kolumbijski peso"
 
 msgctxt "model:currency.currency,name:cou"
 msgid "Unidad de Valor Real"
-msgstr "Kolumbijska revalorizirana enota"
+msgstr "kolumbijski unidad de valor real"
 
 msgctxt "model:currency.currency,name:crc"
 msgid "Costa Rican Colon"
-msgstr "Kostariški kolon"
+msgstr "kostariški kolon"
 
 msgctxt "model:currency.currency,name:cup"
 msgid "Cuban Peso"
-msgstr "Kubanski peso"
+msgstr "kubanski peso"
 
 msgctxt "model:currency.currency,name:cve"
 msgid "Cape Verde Escudo"
-msgstr "Zelenrtski eskudo"
+msgstr "zelenortski eskudo"
 
 msgctxt "model:currency.currency,name:cyp"
 msgid "Cyprus Pound"
-msgstr "Ciperski funt"
+msgstr "ciprski funt"
 
 msgctxt "model:currency.currency,name:czk"
 msgid "Czech Koruna"
-msgstr "Češka krona"
+msgstr "češka krona"
 
 msgctxt "model:currency.currency,name:djf"
 msgid "Djibouti Franc"
-msgstr "Džibutski frank"
+msgstr "džibutijski frank"
 
 msgctxt "model:currency.currency,name:dkk"
 msgid "Danish Krone"
-msgstr "Danska krona"
+msgstr "danska krona"
 
 msgctxt "model:currency.currency,name:dop"
 msgid "Dominican Peso"
-msgstr "Dominikanski peso"
+msgstr "dominikanski peso"
 
 msgctxt "model:currency.currency,name:dzd"
 msgid "Algerian Dinar"
-msgstr "Alžirski dinar"
+msgstr "alžirski dinar"
 
 msgctxt "model:currency.currency,name:eek"
 msgid "Kroon"
-msgstr "Kroon"
+msgstr "estonska krona"
 
 msgctxt "model:currency.currency,name:egp"
 msgid "Egyptian Pound"
-msgstr "Egiptovski funt"
+msgstr "egiptovski funt"
 
 msgctxt "model:currency.currency,name:ern"
 msgid "Nakfa"
-msgstr "Nakfa"
+msgstr "nakfa"
 
 msgctxt "model:currency.currency,name:etb"
 msgid "Ethiopian Birr"
-msgstr "Etiopski bir"
+msgstr "etiopski bir"
 
 msgctxt "model:currency.currency,name:eur"
 msgid "Euro"
-msgstr "Evro"
+msgstr "evro"
 
 msgctxt "model:currency.currency,name:fjd"
 msgid "Fiji Dollar"
-msgstr "Fidžijski dolar"
+msgstr "fidžijski dolar"
 
 msgctxt "model:currency.currency,name:fkp"
 msgid "Falkland Islands Pound"
-msgstr "Falklandski funt"
+msgstr "falklandski funt"
 
 msgctxt "model:currency.currency,name:gbp"
 msgid "Pound Sterling"
-msgstr "Britanski funt"
+msgstr "britanski funt"
 
 msgctxt "model:currency.currency,name:gel"
 msgid "Lari"
-msgstr "Lari"
+msgstr "lari"
 
 msgctxt "model:currency.currency,name:ghs"
 msgid "Ghana Cedi"
-msgstr "Ganski cedi"
+msgstr "ganski cedi"
 
 msgctxt "model:currency.currency,name:gip"
 msgid "Gibraltar Pound"
-msgstr "Gibraltarski funt"
+msgstr "gibraltarski funt"
 
 msgctxt "model:currency.currency,name:gmd"
 msgid "Dalasi"
-msgstr "Dalasi"
+msgstr "dalasi"
 
 msgctxt "model:currency.currency,name:gnf"
 msgid "Guinea Franc"
-msgstr "Gvinejski frank"
+msgstr "gvinejski frank"
 
 msgctxt "model:currency.currency,name:gtq"
 msgid "Quetzal"
-msgstr "Kecal"
+msgstr "kecal"
 
 msgctxt "model:currency.currency,name:gyd"
 msgid "Guyana Dollar"
-msgstr "Gvajanski dolar"
+msgstr "gvajanski dolar"
 
 msgctxt "model:currency.currency,name:hkd"
 msgid "Hong Kong Dollar"
-msgstr "Hongkonški dolar"
+msgstr "hongkonški dolar"
 
 msgctxt "model:currency.currency,name:hnl"
 msgid "Lempira"
-msgstr "Lempira"
+msgstr "lempira"
 
 msgctxt "model:currency.currency,name:hrk"
 msgid "Croatian Kuna"
-msgstr "Hrvaška kuna"
+msgstr "hrvaška kuna"
 
 msgctxt "model:currency.currency,name:htg"
 msgid "Gourde"
-msgstr "Gurd"
+msgstr "gurd"
 
 msgctxt "model:currency.currency,name:huf"
 msgid "Forint"
-msgstr "Forint"
+msgstr "madžarski forint"
 
 msgctxt "model:currency.currency,name:idr"
 msgid "Rupiah"
-msgstr "Indonezijska rupija"
+msgstr "indonezijska rupija"
 
 msgctxt "model:currency.currency,name:ils"
 msgid "New Israeli Sheqel"
-msgstr "Novi izraelski šekel"
+msgstr "novi izraelski šekel"
 
 msgctxt "model:currency.currency,name:inr"
 msgid "Indian Rupee"
-msgstr "Indijska rupija"
+msgstr "indijska rupija"
 
 msgctxt "model:currency.currency,name:iqd"
 msgid "Iraqi Dinar"
-msgstr "Iraški dinar"
+msgstr "iraški dinar"
 
 msgctxt "model:currency.currency,name:irr"
 msgid "Iranian Rial"
-msgstr "Iranski rial"
+msgstr "iranski rial"
 
 msgctxt "model:currency.currency,name:isk"
 msgid "Iceland Krona"
-msgstr "Islandska krona"
+msgstr "islandska krona"
 
 msgctxt "model:currency.currency,name:jmd"
 msgid "Jamaican Dollar"
-msgstr "Jamajški dolar"
+msgstr "jamajški dolar"
 
 msgctxt "model:currency.currency,name:jod"
 msgid "Jordanian Dinar"
-msgstr "Jordanski dinar"
+msgstr "jordanski dinar"
 
 msgctxt "model:currency.currency,name:jpy"
 msgid "Yen"
-msgstr "Japonski jen"
+msgstr "jen"
 
 msgctxt "model:currency.currency,name:kes"
 msgid "Kenyan Shilling"
@@ -464,431 +464,431 @@ msgstr "Kenijski šiling"
 
 msgctxt "model:currency.currency,name:kgs"
 msgid "Som"
-msgstr "Som"
+msgstr "som"
 
 msgctxt "model:currency.currency,name:khr"
 msgid "Riel"
-msgstr "Riel"
+msgstr "riel"
 
 msgctxt "model:currency.currency,name:kmf"
 msgid "Comoro Franc"
-msgstr "Komorski frank"
+msgstr "komorski frank"
 
 msgctxt "model:currency.currency,name:kpw"
 msgid "North Korean Won"
-msgstr "Severnokorejski won"
+msgstr "severnokorejski von"
 
 msgctxt "model:currency.currency,name:krw"
 msgid "Won"
-msgstr "Južnokorejski won"
+msgstr "von"
 
 msgctxt "model:currency.currency,name:kwd"
 msgid "Kuwaiti Dinar"
-msgstr "Kuvajtski dinar"
+msgstr "kuvajtski dinar"
 
 msgctxt "model:currency.currency,name:kyd"
 msgid "Cayman Islands Dollar"
-msgstr "Kajmanski dolar"
+msgstr "dolar Kajmanskih otokov"
 
 msgctxt "model:currency.currency,name:kzt"
 msgid "Tenge"
-msgstr "Tenge"
+msgstr "tenge"
 
 msgctxt "model:currency.currency,name:lak"
 msgid "Kip"
-msgstr "Kip"
+msgstr "kip"
 
 msgctxt "model:currency.currency,name:lbp"
 msgid "Lebanese Pound"
-msgstr "Libanonski funt"
+msgstr "libanonski funt"
 
 msgctxt "model:currency.currency,name:lkr"
 msgid "Sri Lanka Rupee"
-msgstr "Šrilanška rupija"
+msgstr "šrilanška rupija"
 
 msgctxt "model:currency.currency,name:lrd"
 msgid "Liberian Dollar"
-msgstr "Liberijski dolar"
+msgstr "liberijski dolar"
 
 msgctxt "model:currency.currency,name:lsl"
 msgid "Loti"
-msgstr "Loti"
+msgstr "loti"
 
 msgctxt "model:currency.currency,name:ltl"
 msgid "Lithuanian Litas"
-msgstr "Litvanski litas"
+msgstr "litvanski litas"
 
 msgctxt "model:currency.currency,name:lvl"
 msgid "Latvian Lats"
-msgstr "Latvijski lats"
+msgstr "latvijski lats"
 
 msgctxt "model:currency.currency,name:lyd"
 msgid "Libyan Dinar"
-msgstr "Libijski dinar"
+msgstr "libijski dinar"
 
 msgctxt "model:currency.currency,name:mad"
 msgid "Moroccan Dirham"
-msgstr "Maroški dirham"
+msgstr "maroški dirham"
 
 msgctxt "model:currency.currency,name:mdl"
 msgid "Moldovan Leu"
-msgstr "Moldavijski leu"
+msgstr "moldavski leu"
 
 msgctxt "model:currency.currency,name:mga"
 msgid "Malagasy Ariary"
-msgstr "Madagaskarski ariary"
+msgstr "madagaskarski ariary"
 
 msgctxt "model:currency.currency,name:mkd"
 msgid "Denar"
-msgstr "Denar"
+msgstr "makedonski denar"
 
 msgctxt "model:currency.currency,name:mmk"
 msgid "Kyat"
-msgstr "Kiat"
+msgstr "kiat"
 
 msgctxt "model:currency.currency,name:mnt"
 msgid "Tugrik"
-msgstr "Tugrik"
+msgstr "tugrik"
 
 msgctxt "model:currency.currency,name:mop"
 msgid "Pataca"
-msgstr "Pataka"
+msgstr "pataka"
 
 msgctxt "model:currency.currency,name:mro"
 msgid "Ouguiya"
-msgstr "Uguija"
+msgstr "uguija"
 
 msgctxt "model:currency.currency,name:mtl"
 msgid "Maltese Lira"
-msgstr "Malteška lira"
+msgstr "malteška lira"
 
 msgctxt "model:currency.currency,name:mur"
 msgid "Mauritius Rupee"
-msgstr "Mauricijska rupija"
+msgstr "mavricijska rupija"
 
 msgctxt "model:currency.currency,name:mvr"
 msgid "Rufiyaa"
-msgstr "Rufija"
+msgstr "rufija"
 
 msgctxt "model:currency.currency,name:mwk"
 msgid "Kwacha"
-msgstr "Kvača"
+msgstr "kvača"
 
 msgctxt "model:currency.currency,name:mxn"
 msgid "Mexican Peso"
-msgstr "Mehiški peso"
+msgstr "mehiški peso"
 
 msgctxt "model:currency.currency,name:mxv"
 msgid "Mexican Unidad de Inversion (UDI)"
-msgstr "Mehiška enota za naložbe"
+msgstr "mehiški unidad de inversion (UID)"
 
 msgctxt "model:currency.currency,name:myr"
 msgid "Malaysian Ringgit"
-msgstr "Malezijski ringgit"
+msgstr "malezijski ringit"
 
 msgctxt "model:currency.currency,name:mzn"
 msgid "Metical"
-msgstr "Metikal"
+msgstr "metikal"
 
 msgctxt "model:currency.currency,name:nad"
 msgid "Namibia Dollar"
-msgstr "Namibijski dolar"
+msgstr "namibijski dolar"
 
 msgctxt "model:currency.currency,name:ngn"
 msgid "Naira"
-msgstr "Naira"
+msgstr "naira"
 
 msgctxt "model:currency.currency,name:nio"
 msgid "Cordoba Oro"
-msgstr "Zlata kordova"
+msgstr "zlata kordova"
 
 msgctxt "model:currency.currency,name:nok"
 msgid "Norwegian Krone"
-msgstr "Norveška krona"
+msgstr "norveška krona"
 
 msgctxt "model:currency.currency,name:npr"
 msgid "Nepalese Rupee"
-msgstr "Nepalska rupija"
+msgstr "nepalska rupija"
 
 msgctxt "model:currency.currency,name:nzd"
 msgid "New Zealand Dollar"
-msgstr "Novozelandski dolar"
+msgstr "novozelandski dolar"
 
 msgctxt "model:currency.currency,name:omr"
 msgid "Rial Omani"
-msgstr "Omanski rial"
+msgstr "omanski rial"
 
 msgctxt "model:currency.currency,name:pab"
 msgid "Balboa"
-msgstr "Balboa"
+msgstr "balboa"
 
 msgctxt "model:currency.currency,name:pen"
 msgid "Nuevo Sol"
-msgstr "Novi sol"
+msgstr "novi sol"
 
 msgctxt "model:currency.currency,name:pgk"
 msgid "Kina"
-msgstr "Kina"
+msgstr "kina"
 
 msgctxt "model:currency.currency,name:php"
 msgid "Philippine Peso"
-msgstr "Filipinski peso"
+msgstr "filipinski peso"
 
 msgctxt "model:currency.currency,name:pkr"
 msgid "Pakistan Rupee"
-msgstr "Pakistanska rupija"
+msgstr "pakistanska rupija"
 
 msgctxt "model:currency.currency,name:pln"
 msgid "Zloty"
-msgstr "Poljski zlot"
+msgstr "zlot"
 
 msgctxt "model:currency.currency,name:pyg"
 msgid "Guarani"
-msgstr "Gvarani"
+msgstr "gvarani"
 
 msgctxt "model:currency.currency,name:qar"
 msgid "Qatari Rial"
-msgstr "Katarski rial"
+msgstr "katarski rial"
 
 msgctxt "model:currency.currency,name:ron"
 msgid "New Leu"
-msgstr "Novi romunski lev"
+msgstr "novi leu"
 
 msgctxt "model:currency.currency,name:rsd"
 msgid "Serbian Dinar"
-msgstr "Srbski dinar"
+msgstr "srbski dinar"
 
 msgctxt "model:currency.currency,name:rub"
 msgid "Russian Ruble"
-msgstr "Ruski rubelj"
+msgstr "ruski rubelj"
 
 msgctxt "model:currency.currency,name:rwf"
 msgid "Rwanda Franc"
-msgstr "Ruandski frank"
+msgstr "ruandski frank"
 
 msgctxt "model:currency.currency,name:sar"
 msgid "Saudi Riyal"
-msgstr "Saudski rial"
+msgstr "savdski rial"
 
 msgctxt "model:currency.currency,name:sbd"
 msgid "Solomon Islands Dollar"
-msgstr "Salomonovootoški dolar"
+msgstr "dolar Solomonovih otokov"
 
 msgctxt "model:currency.currency,name:scr"
 msgid "Seychelles Rupee"
-msgstr "Sejšelska rupija"
+msgstr "sejšelska rupija"
 
 msgctxt "model:currency.currency,name:sdg"
 msgid "Sudanese Pound"
-msgstr "Sudanski funt"
+msgstr "sudanski funt"
 
 msgctxt "model:currency.currency,name:sek"
 msgid "Swedish Krona"
-msgstr "Švedska krona"
+msgstr "švedska krona"
 
 msgctxt "model:currency.currency,name:sgd"
 msgid "Singapore Dollar"
-msgstr "Singapurski dolar"
+msgstr "singapurski dolar"
 
 msgctxt "model:currency.currency,name:shp"
 msgid "Saint Helena Pound"
-msgstr "Funt Svete Helene"
+msgstr "funt Sv. Helene"
 
 msgctxt "model:currency.currency,name:sll"
 msgid "Leone"
-msgstr "Leone"
+msgstr "sieraleonski leone"
 
 msgctxt "model:currency.currency,name:sos"
 msgid "Somali Shilling"
-msgstr "Somalijski šiling"
+msgstr "somalski šiling"
 
 msgctxt "model:currency.currency,name:srd"
 msgid "Surinam Dollar"
-msgstr "Surinamski dolar"
+msgstr "surinamski dolar"
 
 msgctxt "model:currency.currency,name:std"
 msgid "Dobra"
-msgstr "Dobra"
+msgstr "dobra"
 
 msgctxt "model:currency.currency,name:svc"
 msgid "El Salvador Colon"
-msgstr "Salvadorski kolon"
+msgstr "salvadorski kolon"
 
 msgctxt "model:currency.currency,name:syp"
 msgid "Syrian Pound"
-msgstr "Sirijski funt"
+msgstr "sirski funt"
 
 msgctxt "model:currency.currency,name:szl"
 msgid "Lilangeni"
-msgstr "Lilangeni"
+msgstr "lilangeni"
 
 msgctxt "model:currency.currency,name:thb"
 msgid "Baht"
-msgstr "Baht"
+msgstr "bat"
 
 msgctxt "model:currency.currency,name:tjs"
 msgid "Somoni"
-msgstr "Somoni"
+msgstr "somoni"
 
 msgctxt "model:currency.currency,name:tmm"
 msgid "Manat"
-msgstr "Turkmenski manat"
+msgstr "manat"
 
 msgctxt "model:currency.currency,name:tnd"
 msgid "Tunisian Dinar"
-msgstr "Tunizijski dinar"
+msgstr "tunizijski dinar"
 
 msgctxt "model:currency.currency,name:top"
 msgid "Pa'anga"
-msgstr "Paanga"
+msgstr "paanga"
 
 msgctxt "model:currency.currency,name:try"
 msgid "New Turkish Lira"
-msgstr "Nova turška lira"
+msgstr "nova turška lira"
 
 msgctxt "model:currency.currency,name:ttd"
 msgid "Trinidad and Tobago Dollar"
-msgstr "Dolar Trinidada in Tobaga"
+msgstr "dolar Trinidada in Tobaga"
 
 msgctxt "model:currency.currency,name:twd"
 msgid "New Taiwan Dollar"
-msgstr "Novi tajvanski dolar"
+msgstr "novi tajvanski dolar"
 
 msgctxt "model:currency.currency,name:tzs"
 msgid "Tanzanian Shilling"
-msgstr "Tanzanijski šiling"
+msgstr "tanzanijski šiling"
 
 msgctxt "model:currency.currency,name:uah"
 msgid "Hryvnia"
-msgstr "Hryvnia"
+msgstr "hryvnia"
 
 msgctxt "model:currency.currency,name:ugx"
 msgid "Uganda Shilling"
-msgstr "Ugandski šiling"
+msgstr "ugandski šiling"
 
 msgctxt "model:currency.currency,name:usd"
 msgid "US Dollar"
-msgstr "Ameriški dolar"
+msgstr "ameriški dolar"
 
 msgctxt "model:currency.currency,name:usn"
 msgid "US Dollar (Next day)"
-msgstr "Ameriški dolar (naslednji dan)"
+msgstr "ameriški dolar (naslednji dan)"
 
 msgctxt "model:currency.currency,name:uss"
 msgid "US Dollar (Same day)"
-msgstr "Ameriški dolar (isti dan)"
+msgstr "ameriški dolar (isti dan)"
 
 msgctxt "model:currency.currency,name:uyi"
 msgid "Uruguay Peso en Unidades Indexadas"
-msgstr "Urugvajski peso v indeksiranih enotah"
+msgstr "urugvajski peso en unidades indexadas"
 
 msgctxt "model:currency.currency,name:uyu"
 msgid "Peso Uruguayo"
-msgstr "Urugvajski peso"
+msgstr "urugvajski peso"
 
 msgctxt "model:currency.currency,name:uzs"
 msgid "Uzbekistan Sum"
-msgstr "Uzbekistanski sum"
+msgstr "uzbekistanski sum"
 
 msgctxt "model:currency.currency,name:vef"
 msgid "Bolivar Fuerte"
-msgstr "Bolivar fuerte"
+msgstr "bolivar fuerte"
 
 msgctxt "model:currency.currency,name:vnd"
 msgid "Dong"
-msgstr "Dong"
+msgstr "dong"
 
 msgctxt "model:currency.currency,name:vuv"
 msgid "Vatu"
-msgstr "Vatu"
+msgstr "vatu"
 
 msgctxt "model:currency.currency,name:wst"
 msgid "Tala"
-msgstr "Tala"
+msgstr "tala"
 
 msgctxt "model:currency.currency,name:xaf"
 msgid "CFA Franc BEAC"
-msgstr "CFA frank BEAC"
+msgstr "frank CFA (zahodnoafriški)"
 
 msgctxt "model:currency.currency,name:xag"
 msgid "Silver"
-msgstr "Srebro"
+msgstr "srebro"
 
 msgctxt "model:currency.currency,name:xau"
 msgid "Gold"
-msgstr "Zlato"
+msgstr "zlato"
 
 msgctxt "model:currency.currency,name:xba"
 msgid "European Composite Unit (EURCO)"
-msgstr "Evropska skupna enota (EURCO)"
+msgstr "evropska sestavljena enota (EURCO)"
 
 msgctxt "model:currency.currency,name:xbb"
 msgid "European Monetary Unit (E.M.U.-6)"
-msgstr "Evropska monetarna enota (E.M.U.-6)"
+msgstr "evropska denarna enota (EMU-6)"
 
 msgctxt "model:currency.currency,name:xbc"
 msgid "European Unit of Account 9 (E.U.A.-9)"
-msgstr "Evropska računovodska enota 9 (E.U.A.-9)"
+msgstr "evropska obračunska enota 9 (EUA-9)"
 
 msgctxt "model:currency.currency,name:xbd"
 msgid "European Unit of Account 17 (E.U.A.-17)"
-msgstr "Evropska računovodska enota 17 (E.U.A.-17)"
+msgstr "evropska obračunska enota (EUA-17)"
 
 msgctxt "model:currency.currency,name:xcd"
 msgid "East Caribbean Dollar"
-msgstr "Vzhodnokaribski dolar"
+msgstr "vzhodnokaribski dolar"
 
 msgctxt "model:currency.currency,name:xdr"
 msgid "Special Drawing Rights"
-msgstr "Posebno prav.črp."
+msgstr "posebne pravice črpanja"
 
 msgctxt "model:currency.currency,name:xfo"
 msgid "Gold-Franc"
-msgstr "Zlato-frank"
+msgstr "zlati frank"
 
 msgctxt "model:currency.currency,name:xfu"
 msgid "UIC-Franc"
-msgstr "UIC-frank"
+msgstr "frank UIC"
 
 msgctxt "model:currency.currency,name:xof"
 msgid "CFA Franc BCEAO"
-msgstr "CFA frank BCEAO"
+msgstr "frank CFA (srednjeafriški)"
 
 msgctxt "model:currency.currency,name:xpd"
 msgid "Palladium"
-msgstr "Paladij"
+msgstr "paladij"
 
 msgctxt "model:currency.currency,name:xpf"
 msgid "CFP Franc"
-msgstr "CFP frank"
+msgstr "frank CFP"
 
 msgctxt "model:currency.currency,name:xpt"
 msgid "Platinum"
-msgstr "Platina"
+msgstr "platina"
 
 msgctxt "model:currency.currency,name:xts"
 msgid "Code for testing purposes"
-msgstr "Šifra za preizkušanje"
+msgstr "koda za namene preizkušanja"
 
 msgctxt "model:currency.currency,name:xxx"
 msgid "No currency"
-msgstr "Brez valute"
+msgstr "nobena valuta"
 
 msgctxt "model:currency.currency,name:yer"
 msgid "Yemeni Rial"
-msgstr "Jemenski rial"
+msgstr "jemenski rial"
 
 msgctxt "model:currency.currency,name:zar"
 msgid "Rand"
-msgstr "Južnoafriški rand"
+msgstr "rand"
 
 msgctxt "model:currency.currency,name:zmk"
 msgid "Zambian Kwacha"
-msgstr "Zambijska kvača"
+msgstr "zambijska kvača"
 
 msgctxt "model:currency.currency,name:zwd"
 msgid "Zimbabwe Dollar"
-msgstr "Zimbabvejski dolar"
+msgstr "zimbabvejski dolar"
 
 msgctxt "model:currency.currency.rate,name:"
 msgid "Rate"
diff --git a/setup.py b/setup.py
index 6df2271..12f4d53 100644
--- a/setup.py
+++ b/setup.py
@@ -11,33 +11,51 @@ import ConfigParser
 def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
+
+def get_require_version(name):
+    if minor_version % 2:
+        require = '%s >= %s.%s.dev0, < %s.%s'
+    else:
+        require = '%s >= %s.%s, < %s.%s'
+    require %= (name, major_version, minor_version,
+        major_version, minor_version + 1)
+    return require
+
 config = ConfigParser.ConfigParser()
 config.readfp(open('tryton.cfg'))
 info = dict(config.items('tryton'))
 for key in ('depends', 'extras_depend', 'xml'):
     if key in info:
         info[key] = info[key].strip().splitlines()
-major_version, minor_version, _ = info.get('version', '0.0.1').split('.', 2)
+version = info.get('version', '0.0.1')
+major_version, minor_version, _ = version.split('.', 2)
 major_version = int(major_version)
 minor_version = int(minor_version)
+name = 'trytond_currency'
+
+download_url = 'http://downloads.tryton.org/%s.%s/' % (
+    major_version, minor_version)
+if minor_version % 2:
+    version = '%s.%s.dev0' % (major_version, minor_version)
+    download_url = (
+        'hg+http://hg.tryton.org/modules/%s#egg=%s-%s' % (
+            name[8:], name, version))
 
 requires = []
 for dep in info.get('depends', []):
     if not re.match(r'(ir|res|webdav)(\W|$)', dep):
-        requires.append('trytond_%s >= %s.%s, < %s.%s' %
-            (dep, major_version, minor_version, major_version,
-                minor_version + 1))
-requires.append('trytond >= %s.%s, < %s.%s' %
-    (major_version, minor_version, major_version, minor_version + 1))
+        requires.append(get_require_version('trytond_%s' % dep))
+requires.append(get_require_version('trytond'))
 
-setup(name='trytond_currency',
-    version=info.get('version', '0.0.1'),
+setup(name=name,
+    version=version,
     description='Tryton module with currencies',
     long_description=read('README'),
     author='Tryton',
+    author_email='issue_tracker at tryton.org',
     url='http://www.tryton.org/',
-    download_url=("http://downloads.tryton.org/" +
-        info.get('version', '0.0.1').rsplit('.', 1)[0] + '/'),
+    download_url=download_url,
+    keywords='tryton currency',
     package_dir={'trytond.modules.currency': '.'},
     packages=[
         'trytond.modules.currency',
@@ -67,10 +85,10 @@ setup(name='trytond_currency',
         'Natural Language :: Slovenian',
         'Natural Language :: Spanish',
         'Operating System :: OS Independent',
-        'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
         'Topic :: Office/Business',
         ],
+    platforms='any',
     license='GPL-3',
     install_requires=requires,
     zip_safe=False,
diff --git a/tests/test_currency.py b/tests/test_currency.py
index 5cefd34..3218726 100644
--- a/tests/test_currency.py
+++ b/tests/test_currency.py
@@ -1,13 +1,5 @@
-#!/usr/bin/env python
 #This file is part of Tryton.  The COPYRIGHT file at the top level of
 #this repository contains the full copyright notices and license terms.
-import sys
-import os
-DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
-    '..', '..', '..', '..', '..', 'trytond')))
-if os.path.isdir(DIR):
-    sys.path.insert(0, os.path.dirname(DIR))
-
 import unittest
 from decimal import Decimal
 import trytond.tests.test_tryton
@@ -17,9 +9,7 @@ from trytond.transaction import Transaction
 
 
 class CurrencyTestCase(unittest.TestCase):
-    '''
-    Test Currency module.
-    '''
+    'Test Currency module'
 
     def setUp(self):
         trytond.tests.test_tryton.install_module('currency')
@@ -33,21 +23,15 @@ class CurrencyTestCase(unittest.TestCase):
             ], limit=1)[0]
 
     def test0005views(self):
-        '''
-        Test views.
-        '''
+        'Test views'
         test_view('currency')
 
     def test0006depends(self):
-        '''
-        Test depends.
-        '''
+        'Test depends'
         test_depends()
 
     def test0010currencies(self):
-        '''
-        Create currencies
-        '''
+        'Create currencies'
 
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
@@ -66,9 +50,7 @@ class CurrencyTestCase(unittest.TestCase):
             transaction.cursor.commit()
 
     def test0020mon_grouping(self):
-        '''
-        Check grouping
-        '''
+        'Check grouping'
         with Transaction().start(DB_NAME, USER, context=CONTEXT):
             cu1 = self.get_currency('cu1')
 
@@ -85,9 +67,7 @@ class CurrencyTestCase(unittest.TestCase):
                 {'mon_grouping': '[1,"1"]'})
 
     def test0030rate(self):
-        '''
-        Create rates.
-        '''
+        'Create rates'
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
             cu1 = self.get_currency('cu1')
@@ -108,9 +88,7 @@ class CurrencyTestCase(unittest.TestCase):
             transaction.cursor.commit()
 
     def test0040rate_unicity(self):
-        '''
-        Rate unicity
-        '''
+        'Rate unicity'
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
             today = self.date.today()
@@ -136,9 +114,7 @@ class CurrencyTestCase(unittest.TestCase):
             transaction.cursor.rollback()
 
     def test0050compute_simple(self):
-        '''
-        Simple conversion
-        '''
+        'Simple conversion'
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
             cu1 = self.get_currency('cu1')
@@ -153,9 +129,7 @@ class CurrencyTestCase(unittest.TestCase):
             transaction.cursor.commit()
 
     def test0060compute_nonfinite(self):
-        '''
-        Conversion with rounding on non-finite decimal representation
-        '''
+        'Conversion with rounding on non-finite decimal representation'
         with Transaction().start(DB_NAME, USER, context=CONTEXT):
             cu1 = self.get_currency('cu1')
             cu2 = self.get_currency('cu2')
@@ -167,9 +141,7 @@ class CurrencyTestCase(unittest.TestCase):
             self.assertEqual(converted_amount, expected)
 
     def test0070compute_nonfinite_worounding(self):
-        '''
-        Same without rounding
-        '''
+        'Same without rounding'
         with Transaction().start(DB_NAME, USER, context=CONTEXT):
             cu1 = self.get_currency('cu1')
             cu2 = self.get_currency('cu2')
@@ -181,9 +153,7 @@ class CurrencyTestCase(unittest.TestCase):
             self.assertEqual(converted_amount, expected)
 
     def test0080compute_same(self):
-        '''
-        Conversion to the same currency
-        '''
+        'Conversion to the same currency'
         with Transaction().start(DB_NAME, USER, context=CONTEXT):
             cu1 = self.get_currency('cu1')
 
@@ -193,9 +163,7 @@ class CurrencyTestCase(unittest.TestCase):
             self.assertEqual(converted_amount, amount)
 
     def test0090compute_zeroamount(self):
-        '''
-        Conversion with zero amount
-        '''
+        'Conversion with zero amount'
         with Transaction().start(DB_NAME, USER, context=CONTEXT):
             cu1 = self.get_currency('cu1')
             cu2 = self.get_currency('cu2')
@@ -206,9 +174,7 @@ class CurrencyTestCase(unittest.TestCase):
             self.assertEqual(converted_amount, expected)
 
     def test0100compute_zerorate(self):
-        '''
-        Conversion with zero rate
-        '''
+        'Conversion with zero rate'
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
             cu1 = self.get_currency('cu1')
@@ -229,9 +195,7 @@ class CurrencyTestCase(unittest.TestCase):
             transaction.cursor.rollback()
 
     def test0110compute_missingrate(self):
-        '''
-        Conversion with missing rate
-        '''
+        'Conversion with missing rate'
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
             cu1 = self.get_currency('cu1')
@@ -250,9 +214,7 @@ class CurrencyTestCase(unittest.TestCase):
             transaction.cursor.rollback()
 
     def test0120compute_bothmissingrate(self):
-        '''
-        Conversion with both missing rate
-        '''
+        'Conversion with both missing rate'
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
             cu3, cu4 = self.currency.create([{
@@ -272,9 +234,7 @@ class CurrencyTestCase(unittest.TestCase):
             transaction.cursor.rollback()
 
     def test0130delete_cascade(self):
-        '''
-        Test deletion of currency deletes rates
-        '''
+        'Test deletion of currency deletes rates'
         with Transaction().start(DB_NAME, USER,
                 context=CONTEXT) as transaction:
             codes = ['cu%s' % (i + 1) for i in range(2)]
@@ -294,6 +254,3 @@ def suite():
     suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
             CurrencyTestCase))
     return suite
-
-if __name__ == '__main__':
-    unittest.TextTestRunner(verbosity=2).run(suite())
diff --git a/tryton.cfg b/tryton.cfg
index ad0de63..a1e6312 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.0
+version=3.2.0
 depends:
     ir
     res
diff --git a/trytond_currency.egg-info/PKG-INFO b/trytond_currency.egg-info/PKG-INFO
index f30ae67..2f1e85b 100644
--- a/trytond_currency.egg-info/PKG-INFO
+++ b/trytond_currency.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-currency
-Version: 3.0.0
+Version: 3.2.0
 Summary: Tryton module with currencies
 Home-page: http://www.tryton.org/
 Author: Tryton
-Author-email: UNKNOWN
+Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.0/
+Download-URL: http://downloads.tryton.org/3.2/
 Description: trytond_currency
         ================
         
@@ -43,7 +43,8 @@ Description: trytond_currency
         
           http://www.tryton.org/
         
-Platform: UNKNOWN
+Keywords: tryton currency
+Platform: any
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Plugins
 Classifier: Framework :: Tryton
@@ -63,6 +64,5 @@ Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Topic :: Office/Business
diff --git a/trytond_currency.egg-info/requires.txt b/trytond_currency.egg-info/requires.txt
index 36632df..27f5014 100644
--- a/trytond_currency.egg-info/requires.txt
+++ b/trytond_currency.egg-info/requires.txt
@@ -1 +1 @@
-trytond >= 3.0, < 3.1
\ No newline at end of file
+trytond >= 3.2, < 3.3
\ No newline at end of file
-- 
tryton-modules-currency



More information about the tryton-debian-vcs mailing list