[tryton-debian-vcs] tryton-modules-account-invoice-history branch upstream updated. upstream/4.0.1-1-g78c204d

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Dec 6 15:17:42 UTC 2016


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

commit 78c204d6143b7e0fa8a3546e5cd87a34c04ec540
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 5 09:34:11 2016 +0100

    Adding upstream version 4.2.0.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 02ebbeb..5a0b879 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
-Version 4.0.1 - 2016-05-11
+Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 
 Version 4.0.0 - 2016-05-02
diff --git a/INSTALL b/INSTALL
index 14688f2..4718db8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -24,7 +24,7 @@ site-packages directory on your system.
 For advanced options, please refer to the easy_install and/or the distutils
 documentation:
 
-  http://peak.telecommunity.com/DevCenter/EasyInstall
+  http://setuptools.readthedocs.io/en/latest/easy_install.html
   http://docs.python.org/inst/inst.html
 
 To use without installation, extract the archive into ``trytond/modules`` with
diff --git a/PKG-INFO b/PKG-INFO
index 866abfb..cec1583 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice_history
-Version: 4.0.1
+Version: 4.2.0
 Summary: Tryton module to historize invoices
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/4.0/
+Download-URL: http://downloads.tryton.org/4.2/
 Description: trytond_account_invoice_history
         ===============================
         
@@ -62,6 +62,7 @@ Classifier: Natural Language :: French
 Classifier: Natural Language :: German
 Classifier: Natural Language :: Hungarian
 Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Polish
 Classifier: Natural Language :: Portuguese (Brazilian)
 Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
diff --git a/invoice.py b/invoice.py
index 0f5f847..3e8a7cf 100644
--- a/invoice.py
+++ b/invoice.py
@@ -26,11 +26,12 @@ class Invoice:
         if 'open_date' not in cls.payment_term.depends:
             cls.payment_term.depends.append('open_date')
 
-    def set_number(self):
-        set_open_date = not self.number
-        super(Invoice, self).set_number()
+    @classmethod
+    def set_number(cls, invoices):
+        set_open_date = [i for i in invoices if not i.number]
+        super(Invoice, cls).set_number(invoices)
         if set_open_date:
-            self.write([self], {
+            cls.write(set_open_date, {
                     'open_date': datetime.datetime.now(),
                     })
 
diff --git a/locale/bg_BG.po b/locale/bg.po
similarity index 100%
rename from locale/bg_BG.po
rename to locale/bg.po
diff --git a/locale/ca_ES.po b/locale/ca.po
similarity index 100%
rename from locale/ca_ES.po
rename to locale/ca.po
diff --git a/locale/cs_CZ.po b/locale/cs.po
similarity index 100%
rename from locale/cs_CZ.po
rename to locale/cs.po
diff --git a/locale/de_DE.po b/locale/de.po
similarity index 100%
rename from locale/de_DE.po
rename to locale/de.po
diff --git a/locale/es_AR.po b/locale/es.po
similarity index 100%
rename from locale/es_AR.po
rename to locale/es.po
diff --git a/locale/es_EC.po b/locale/es_419.po
similarity index 100%
rename from locale/es_EC.po
rename to locale/es_419.po
diff --git a/locale/es_CO.po b/locale/es_CO.po
deleted file mode 100644
index 7875c51..0000000
--- a/locale/es_CO.po
+++ /dev/null
@@ -1,7 +0,0 @@
-# 
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "field:account.invoice,open_date:"
-msgid "Open Date"
-msgstr "Fecha de Apertura"
diff --git a/locale/es_ES.po b/locale/es_ES.po
deleted file mode 100644
index 7286bd8..0000000
--- a/locale/es_ES.po
+++ /dev/null
@@ -1,7 +0,0 @@
-# 
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "field:account.invoice,open_date:"
-msgid "Open Date"
-msgstr "Fecha apertura"
diff --git a/locale/es_MX.po b/locale/es_MX.po
deleted file mode 100644
index 7286bd8..0000000
--- a/locale/es_MX.po
+++ /dev/null
@@ -1,7 +0,0 @@
-# 
-msgid ""
-msgstr "Content-Type: text/plain; charset=utf-8\n"
-
-msgctxt "field:account.invoice,open_date:"
-msgid "Open Date"
-msgstr "Fecha apertura"
diff --git a/locale/fr_FR.po b/locale/fr.po
similarity index 100%
rename from locale/fr_FR.po
rename to locale/fr.po
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 35b8079..8d19030 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -4,4 +4,4 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice,open_date:"
 msgid "Open Date"
-msgstr ""
+msgstr "Data di apertura"
diff --git a/locale/lo_LA.po b/locale/lo.po
similarity index 100%
rename from locale/lo_LA.po
rename to locale/lo.po
diff --git a/locale/lt_LT.po b/locale/lt.po
similarity index 100%
rename from locale/lt_LT.po
rename to locale/lt.po
diff --git a/locale/nl_NL.po b/locale/nl.po
similarity index 100%
rename from locale/nl_NL.po
rename to locale/nl.po
diff --git a/locale/it_IT.po b/locale/pl.po
similarity index 84%
copy from locale/it_IT.po
copy to locale/pl.po
index 35b8079..ed54ce0 100644
--- a/locale/it_IT.po
+++ b/locale/pl.po
@@ -4,4 +4,4 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice,open_date:"
 msgid "Open Date"
-msgstr ""
+msgstr "Data otwarcia"
diff --git a/locale/ru_RU.po b/locale/ru.po
similarity index 100%
rename from locale/ru_RU.po
rename to locale/ru.po
diff --git a/locale/sl_SI.po b/locale/sl.po
similarity index 100%
rename from locale/sl_SI.po
rename to locale/sl.po
diff --git a/setup.py b/setup.py
index c17b666..0ec3719 100644
--- a/setup.py
+++ b/setup.py
@@ -88,6 +88,7 @@ setup(name=name,
         'Natural Language :: German',
         'Natural Language :: Hungarian',
         'Natural Language :: Italian',
+        'Natural Language :: Polish',
         'Natural Language :: Portuguese (Brazilian)',
         'Natural Language :: Russian',
         'Natural Language :: Slovenian',
diff --git a/tryton.cfg b/tryton.cfg
index 569170f..d0a7023 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.2.0
 depends:
     account_invoice
     party
diff --git a/trytond_account_invoice_history.egg-info/PKG-INFO b/trytond_account_invoice_history.egg-info/PKG-INFO
index 635d3b5..492848b 100644
--- a/trytond_account_invoice_history.egg-info/PKG-INFO
+++ b/trytond_account_invoice_history.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-account-invoice-history
-Version: 4.0.1
+Version: 4.2.0
 Summary: Tryton module to historize invoices
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/4.0/
+Download-URL: http://downloads.tryton.org/4.2/
 Description: trytond_account_invoice_history
         ===============================
         
@@ -62,6 +62,7 @@ Classifier: Natural Language :: French
 Classifier: Natural Language :: German
 Classifier: Natural Language :: Hungarian
 Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Polish
 Classifier: Natural Language :: Portuguese (Brazilian)
 Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
diff --git a/trytond_account_invoice_history.egg-info/SOURCES.txt b/trytond_account_invoice_history.egg-info/SOURCES.txt
index 335de2b..d565463 100644
--- a/trytond_account_invoice_history.egg-info/SOURCES.txt
+++ b/trytond_account_invoice_history.egg-info/SOURCES.txt
@@ -11,45 +11,41 @@ tryton.cfg
 ./party.py
 ./payment_term.py
 ./tryton.cfg
-./locale/bg_BG.po
-./locale/ca_ES.po
-./locale/cs_CZ.po
-./locale/de_DE.po
-./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/bg.po
+./locale/ca.po
+./locale/cs.po
+./locale/de.po
+./locale/es.po
+./locale/es_419.po
+./locale/fr.po
 ./locale/hu_HU.po
 ./locale/it_IT.po
 ./locale/ja_JP.po
-./locale/lo_LA.po
-./locale/lt_LT.po
-./locale/nl_NL.po
+./locale/lo.po
+./locale/lt.po
+./locale/nl.po
+./locale/pl.po
 ./locale/pt_BR.po
-./locale/ru_RU.po
-./locale/sl_SI.po
+./locale/ru.po
+./locale/sl.po
 ./locale/zh_CN.po
-locale/bg_BG.po
-locale/ca_ES.po
-locale/cs_CZ.po
-locale/de_DE.po
-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/bg.po
+locale/ca.po
+locale/cs.po
+locale/de.po
+locale/es.po
+locale/es_419.po
+locale/fr.po
 locale/hu_HU.po
 locale/it_IT.po
 locale/ja_JP.po
-locale/lo_LA.po
-locale/lt_LT.po
-locale/nl_NL.po
+locale/lo.po
+locale/lt.po
+locale/nl.po
+locale/pl.po
 locale/pt_BR.po
-locale/ru_RU.po
-locale/sl_SI.po
+locale/ru.po
+locale/sl.po
 locale/zh_CN.po
 trytond_account_invoice_history.egg-info/PKG-INFO
 trytond_account_invoice_history.egg-info/SOURCES.txt
diff --git a/trytond_account_invoice_history.egg-info/requires.txt b/trytond_account_invoice_history.egg-info/requires.txt
index 55a0023..42d57a2 100644
--- a/trytond_account_invoice_history.egg-info/requires.txt
+++ b/trytond_account_invoice_history.egg-info/requires.txt
@@ -1,3 +1,3 @@
-trytond_account_invoice >= 4.0, < 4.1
-trytond_party >= 4.0, < 4.1
-trytond >= 4.0, < 4.1
+trytond_account_invoice >= 4.2, < 4.3
+trytond_party >= 4.2, < 4.3
+trytond >= 4.2, < 4.3
-- 
tryton-modules-account-invoice-history



More information about the tryton-debian-vcs mailing list