[tryton-debian-vcs] tryton-modules-purchase branch debian-jessie-2.8 updated. debian/2.8.4-1-3-g088ad99

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Feb 25 00:43:21 UTC 2015


The following commit has been merged in the debian-jessie-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-purchase.git;a=commitdiff;h=debian/2.8.4-1-3-g088ad99

commit 088ad99afcb52c315b3efc91e7c1de28dc384113
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Feb 24 19:35:19 2015 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 568396b..fe7ffde 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-purchase (2.8.5-1) unstable; urgency=medium
+
+  * Merging upstream version 2.8.5.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 24 Feb 2015 19:35:19 +0100
+
 tryton-modules-purchase (2.8.4-1) unstable; urgency=medium
 
   * Merging upstream version 2.8.4.
commit 4cf1d42f6c7a532c41d69ed2fce033defb57142a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Feb 24 19:35:19 2015 +0100

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 6fab0fb..a8d818d 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 fc1794e92f4ea484cb63bc9d59955a104149c3f0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Feb 24 19:35:19 2015 +0100

    Merging upstream version 2.8.5.

diff --git a/CHANGELOG b/CHANGELOG
index afc502b..d666d82 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.5 - 2015-02-21
+* Bug fixes (see mercurial logs for details)
+
 Version 2.8.4 - 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 12de17c..2a0235b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase
-Version: 2.8.4
+Version: 2.8.5
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/purchase.py b/purchase.py
index a57dac7..60234af 100644
--- a/purchase.py
+++ b/purchase.py
@@ -1159,7 +1159,7 @@ class PurchaseLine(ModelSQL, ModelView):
                 quantity -= Uom.compute_qty(old_invoice_line.unit,
                         old_invoice_line.quantity, self.unit)
 
-        rounding = self.unit.rounding if self.unit else 0
+        rounding = self.unit.rounding if self.unit else 0.01
         invoice_line.quantity = Uom.round(quantity, rounding)
         if invoice_line.quantity <= 0:
             return []
diff --git a/setup.py b/setup.py
index 3d962ab..2870720 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_purchase',
     version=info.get('version', '0.0.1'),
     description='Tryton module for purchase',
@@ -80,4 +83,5 @@ setup(name='trytond_purchase',
     """,
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
+    tests_require=tests_require,
     )
diff --git a/tryton.cfg b/tryton.cfg
index b19074d..a5d06f4 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.8.4
+version=2.8.5
 depends:
     account
     account_invoice
diff --git a/trytond_purchase.egg-info/PKG-INFO b/trytond_purchase.egg-info/PKG-INFO
index aec8fbd..e9ec0cc 100644
--- a/trytond_purchase.egg-info/PKG-INFO
+++ b/trytond_purchase.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-purchase
-Version: 2.8.4
+Version: 2.8.5
 Summary: Tryton module for purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-purchase



More information about the tryton-debian-vcs mailing list