[tryton-debian-vcs] tryton-modules-account-invoice branch debian-jessie-3.0 updated. debian/3.0.5-1-4-g1481038

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Mar 4 00:29:35 UTC 2015


The following commit has been merged in the debian-jessie-3.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=debian/3.0.5-1-4-g1481038

commit 148103856c201efcf0d75dd445b612e4810713ef
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Mar 3 11:35:13 2015 +0100

    Releasing debian version 3.0.6-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 23c3354..25d4f27 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-account-invoice (3.0.6-1) unstable; urgency=medium
+
+  * Adding actual upstream signing key.
+  * Merging upstream version 3.0.6.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 03 Mar 2015 11:35:13 +0100
+
 tryton-modules-account-invoice (3.0.5-1) unstable; urgency=medium
 
   * Adding actual upstream signing key.
commit 7ce5b66681ceec0120be280e44c66f34d213e6ef
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Mar 3 11:35:12 2015 +0100

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 1585a99..5612f85 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2008-2014 Cédric Krier
+Copyright: 2008-2015 Cédric Krier
            2008-2013 Bertrand Chenal
-           2008-2014 B2CK SPRL
+           2008-2015 B2CK SPRL
            2004-2008 Tiny SPRL
 License: GPL-3+
 
commit 8fd0914938fe5985476f62f3dc95df646ea5b6b0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Mar 3 11:35:12 2015 +0100

    Merging upstream version 3.0.6.

diff --git a/CHANGELOG b/CHANGELOG
index 7aa133a..fbdb607 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.6 - 2015-03-02
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.5 - 2014-11-06
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 77715d8..3a28212 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2014 Cédric Krier.
+Copyright (C) 2008-2015 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2014 B2CK SPRL.
+Copyright (C) 2008-2015 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index dd7d8a3..c7f8f09 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 3.0.5
+Version: 3.0.6
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index 3ca6d53..f51bb31 100644
--- a/invoice.py
+++ b/invoice.py
@@ -1342,10 +1342,10 @@ class Invoice(Workflow, ModelSQL, ModelView):
         for invoice in invoices:
             invoice.set_number()
             moves.append(invoice.create_move())
-        cls.write(invoices, {
+        cls.write([i for i in invoices if i.state != 'posted'], {
                 'state': 'posted',
                 })
-        Move.post(moves)
+        Move.post([m for m in moves if m.state != 'posted'])
         for invoice in invoices:
             if invoice.type in ('out_invoice', 'out_credit_note'):
                 invoice.print_invoice()
diff --git a/setup.py b/setup.py
index 7bb618d..e920ffb 100644
--- a/setup.py
+++ b/setup.py
@@ -30,6 +30,9 @@ for dep in info.get('depends', []):
 requires.append('trytond >= %s.%s, < %s.%s' %
         (major_version, minor_version, major_version, minor_version + 1))
 
+tests_require = ['proteus >= %s.%s, < %s.%s' %
+    (major_version, minor_version, major_version, minor_version + 1)]
+
 setup(name='trytond_account_invoice',
     version=info.get('version', '0.0.1'),
     description='Tryton module for invoicing',
@@ -81,4 +84,5 @@ setup(name='trytond_account_invoice',
     """,
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
+    tests_require=tests_require,
     )
diff --git a/tryton.cfg b/tryton.cfg
index 4b50895..aca17d5 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.5
+version=3.0.6
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index 07b5286..b04d856 100644
--- a/trytond_account_invoice.egg-info/PKG-INFO
+++ b/trytond_account_invoice.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-invoice
-Version: 3.0.5
+Version: 3.0.6
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account-invoice



More information about the tryton-debian-vcs mailing list