[tryton-debian-vcs] tryton-modules-sale-stock-quantity branch debian-stretch-4.2 updated. debian/4.2.0-1-5-g913107c

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Jun 11 22:38:05 UTC 2017


The following commit has been merged in the debian-stretch-4.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale-stock-quantity.git;a=commitdiff;h=debian/4.2.0-1-5-g913107c

commit 913107c3c56919dce5bd6c1affc95956e27fc8e0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:11:49 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 8c58495..c076480 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-modules-sale-stock-quantity (4.2.1-1) unstable; urgency=medium
+
+  * Add the actual upstream maintainer key to signing-key.asc.
+  * Setting the branch in the watch file to the fixed version 4.2.
+  * Merging upstream version 4.2.1.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sun, 11 Jun 2017 22:11:48 +0200
+
 tryton-modules-sale-stock-quantity (4.2.0-1) unstable; urgency=medium
 
   * Updating to Standards-Version: 3.9.8, no changes needed.
commit 0a6979544fecdac244be76e9db49992de8fb82b0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:11:48 2017 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index c8bda81..7a3d5ab 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,8 +1,8 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2015-2016 Cédric Krier
-           2015-2016 B2CK SPRL
+Copyright: 2015-2017 Cédric Krier
+           2015-2017 B2CK SPRL
 License: GPL-3+
 
 Files: debian/*
commit bb99f3e93c3cb187554a8b91e0afecdd783bd52a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sun Jun 11 22:11:48 2017 +0200

    Merging upstream version 4.2.1.

diff --git a/CHANGELOG b/CHANGELOG
index c24086c..d00fb22 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.1 - 2017-06-06
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index be9339f..f568502 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2015-2016 Cédric Krier.
-Copyright (C) 2015-2016 B2CK SPRL.
+Copyright (C) 2015-2017 Cédric Krier.
+Copyright (C) 2015-2017 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 fd84960..9b16190 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_sale_stock_quantity
-Version: 4.2.0
+Version: 4.2.1
 Summary: Tryton module to add stock warning on sale
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/sale.py b/sale.py
index 549696e..c74cffc 100644
--- a/sale.py
+++ b/sale.py
@@ -57,7 +57,8 @@ class Sale:
         except KeyError:
             PurchaseRequest = None
 
-        if PurchaseRequest and product.purchasable:
+        if (getattr(PurchaseRequest, 'get_supply_dates', None)
+                and product.purchasable):
             return PurchaseRequest.get_supply_dates(product)[0]
         else:
             # TODO compute supply date for production
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tryton.cfg b/tryton.cfg
index 70a0551..5495e3f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.0
+version=4.2.1
 depends:
     product
     sale
diff --git a/trytond_sale_stock_quantity.egg-info/PKG-INFO b/trytond_sale_stock_quantity.egg-info/PKG-INFO
index 14db090..2f5cce3 100644
--- a/trytond_sale_stock_quantity.egg-info/PKG-INFO
+++ b/trytond_sale_stock_quantity.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-sale-stock-quantity
-Version: 4.2.0
+Version: 4.2.1
 Summary: Tryton module to add stock warning on sale
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-sale-stock-quantity



More information about the tryton-debian-vcs mailing list