[tryton-debian-vcs] tryton-modules-stock-supply branch upstream updated. upstream/3.8.0-1-g3025c5f
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sat Apr 9 18:55:57 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-stock-supply.git;a=commitdiff;h=upstream/3.8.0-1-g3025c5f
commit 3025c5f4f56cdba9cffbee8d9d3779128f65efff
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Apr 9 19:54:24 2016 +0200
Adding upstream version 3.8.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index e1a199d..d4892ef 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.1 - 2016-04-06
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.0 - 2015-11-02
* Bug fixes (see mercurial logs for details)
* Generate purchase requests even if rounding set the quantity to 0
diff --git a/COPYRIGHT b/COPYRIGHT
index 4f0ee3a..4c58e29 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,7 +1,7 @@
Copyright (C) 2013-2015 NaN-tic.
-Copyright (C) 2008-2015 Cédric Krier.
+Copyright (C) 2008-2016 Cédric Krier.
Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2015 B2CK SPRL.
+Copyright (C) 2008-2016 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 bb8b111..fc7adc2 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock_supply
-Version: 3.8.0
+Version: 3.8.1
Summary: Tryton module for stock supply
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/purchase_request.py b/purchase_request.py
index 81b4bc8..4e0eea6 100644
--- a/purchase_request.py
+++ b/purchase_request.py
@@ -515,7 +515,7 @@ class PurchaseRequest(ModelSQL, ModelView):
def create(cls, vlist):
for vals in vlist:
for field_name in ('product', 'quantity', 'uom', 'company'):
- if not vals.get(field_name):
+ if vals.get(field_name) is None:
cls.raise_user_error('create_request')
return super(PurchaseRequest, cls).create(vlist)
diff --git a/tryton.cfg b/tryton.cfg
index 180e232..bd5ce03 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.0
+version=3.8.1
depends:
account
ir
diff --git a/trytond_stock_supply.egg-info/PKG-INFO b/trytond_stock_supply.egg-info/PKG-INFO
index 8703a31..d3f769c 100644
--- a/trytond_stock_supply.egg-info/PKG-INFO
+++ b/trytond_stock_supply.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-stock-supply
-Version: 3.8.0
+Version: 3.8.1
Summary: Tryton module for stock supply
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_stock_supply.egg-info/requires.txt b/trytond_stock_supply.egg-info/requires.txt
index ee0355f..cc6950a 100644
--- a/trytond_stock_supply.egg-info/requires.txt
+++ b/trytond_stock_supply.egg-info/requires.txt
@@ -4,4 +4,4 @@ trytond_party >= 3.8, < 3.9
trytond_product >= 3.8, < 3.9
trytond_purchase >= 3.8, < 3.9
trytond_stock >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 3.8, < 3.9
--
tryton-modules-stock-supply
More information about the tryton-debian-vcs
mailing list