[tryton-debian-vcs] tryton-modules-sale-stock-quantity branch upstream updated. upstream/4.2.0-1-gf2a710e
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Jun 7 13:35:53 UTC 2017
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-sale-stock-quantity.git;a=commitdiff;h=upstream/4.2.0-1-gf2a710e
commit f2a710ebf18c1ea283689319548dcec068b56142
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jun 7 15:26:59 2017 +0200
Adding upstream version 4.4.0.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index c24086c..06cff4e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.0 - 2017-05-01
+* 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..407c951 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_sale_stock_quantity
-Version: 4.2.0
+Version: 4.4.0
Summary: Tryton module to add stock warning on sale
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
Description: trytond_sale_stock_quantity
===========================
@@ -52,7 +52,7 @@ Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Legal Industry
Classifier: Intended Audience :: Manufacturing
-Classifier: License :: OSI Approved :: GNU General Public License (GPL)
+Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: Bulgarian
Classifier: Natural Language :: Catalan
Classifier: Natural Language :: Chinese (Simplified)
diff --git a/locale/ca.po b/locale/ca.po
index 04935a9..1fac73f 100644
--- a/locale/ca.po
+++ b/locale/ca.po
@@ -12,4 +12,4 @@ msgstr ""
msgctxt "model:res.group,name:group_sale_stock_quantity"
msgid "Sale Stock Quantity"
-msgstr "Quantitat estoc en venda"
+msgstr "Quantitat existències en venda"
diff --git a/locale/es.po b/locale/es.po
index 469bb0c..4d78764 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -12,4 +12,4 @@ msgstr ""
msgctxt "model:res.group,name:group_sale_stock_quantity"
msgid "Sale Stock Quantity"
-msgstr "Cantidad stock en venta"
+msgstr "Cantidad existencias en venta"
diff --git a/locale/lo.po b/locale/lo.po
index d78115f..4124a42 100644
--- a/locale/lo.po
+++ b/locale/lo.po
@@ -7,7 +7,9 @@ msgid ""
"The forcast quantity %(forecast_quantity)s%(default_uom)s of \"%(line)s\" is"
" lower than %(quantity)s%(unit)s."
msgstr ""
+"ການຄາດຄະເນຈຳນວນ %(forecast_quantity)s%(default_uom)s ຂອງ \"%(line)s\" "
+"ຕໍ່າກວ່າ %(quantity)s%(unit)s."
msgctxt "model:res.group,name:group_sale_stock_quantity"
msgid "Sale Stock Quantity"
-msgstr ""
+msgstr "ຈຳນວນຂາຍຈາກສາງ"
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.py b/setup.py
index a8f9fb4..1da15c4 100644
--- a/setup.py
+++ b/setup.py
@@ -88,7 +88,7 @@ setup(name=name,
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Legal Industry',
'Intended Audience :: Manufacturing',
- 'License :: OSI Approved :: GNU General Public License (GPL)',
+ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: Bulgarian',
'Natural Language :: Catalan',
'Natural Language :: Chinese (Simplified)',
diff --git a/tryton.cfg b/tryton.cfg
index 70a0551..8bfb99b 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.2.0
+version=4.4.0
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..7663d96 100644
--- a/trytond_sale_stock_quantity.egg-info/PKG-INFO
+++ b/trytond_sale_stock_quantity.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-sale-stock-quantity
-Version: 4.2.0
+Version: 4.4.0
Summary: Tryton module to add stock warning on sale
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/4.2/
+Download-URL: http://downloads.tryton.org/4.4/
Description: trytond_sale_stock_quantity
===========================
@@ -52,7 +52,7 @@ Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Legal Industry
Classifier: Intended Audience :: Manufacturing
-Classifier: License :: OSI Approved :: GNU General Public License (GPL)
+Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: Bulgarian
Classifier: Natural Language :: Catalan
Classifier: Natural Language :: Chinese (Simplified)
diff --git a/trytond_sale_stock_quantity.egg-info/requires.txt b/trytond_sale_stock_quantity.egg-info/requires.txt
index d84233e..52ecc88 100644
--- a/trytond_sale_stock_quantity.egg-info/requires.txt
+++ b/trytond_sale_stock_quantity.egg-info/requires.txt
@@ -1,4 +1,4 @@
-trytond_product >= 4.2, < 4.3
-trytond_sale >= 4.2, < 4.3
-trytond_stock >= 4.2, < 4.3
-trytond >= 4.2, < 4.3
+trytond_product >= 4.4, < 4.5
+trytond_sale >= 4.4, < 4.5
+trytond_stock >= 4.4, < 4.5
+trytond >= 4.4, < 4.5
--
tryton-modules-sale-stock-quantity
More information about the tryton-debian-vcs
mailing list