[tryton-debian-vcs] tryton-modules-sale-supply-drop-shipment branch upstream-3.0 updated. upstream/3.0.2-1-gd8ddd48

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


The following commit has been merged in the upstream-3.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale-supply-drop-shipment.git;a=commitdiff;h=upstream/3.0.2-1-gd8ddd48

commit d8ddd483d83f0e948bd2b5a0e987e26d9163530f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Feb 24 21:06:10 2015 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index 46b7431..18da388 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.3 - 2015-02-19
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.2 - 2014-11-06
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 7bcdb7f..196a420 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2011-2014 Cédric Krier.
-Copyright (C) 2011-2014 B2CK SPRL.
+Copyright (C) 2011-2015 Cédric Krier.
+Copyright (C) 2011-2015 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/PKG-INFO b/PKG-INFO
index b959c03..c9f3cc3 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale_supply_drop_shipment
-Version: 3.0.2
+Version: 3.0.3
 Summary: Tryton module for sale supply drop shipment
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/sale.py b/sale.py
index 2021bf7..5507528 100644
--- a/sale.py
+++ b/sale.py
@@ -96,7 +96,7 @@ class SaleLine:
                 line = self.__class__(self.id)
                 if (line.purchase_request and line.purchase_request.customer
                         and self.purchase_request_state != 'cancel'):
-                    return {}
+                    return
         return result
 
     def get_purchase_request(self):
diff --git a/setup.py b/setup.py
index 6c6c63c..239b2be 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_sale_supply_drop_shipment',
     version=info.get('version', '0.0.1'),
     description='Tryton module for sale supply drop shipment',
@@ -80,4 +83,5 @@ setup(name='trytond_sale_supply_drop_shipment',
     """,
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
+    tests_require=tests_require,
     )
diff --git a/tryton.cfg b/tryton.cfg
index 3c4377a..cb37873 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.2
+version=3.0.3
 depends:
     company
     ir
diff --git a/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO b/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO
index bc8a5f6..2656a89 100644
--- a/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO
+++ b/trytond_sale_supply_drop_shipment.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-sale-supply-drop-shipment
-Version: 3.0.2
+Version: 3.0.3
 Summary: Tryton module for sale supply drop shipment
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-sale-supply-drop-shipment



More information about the tryton-debian-vcs mailing list