[tryton-debian-vcs] tryton-modules-production branch upstream-3.0 updated. upstream/3.0.0-1-g869150e
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Oct 8 16:52:30 UTC 2014
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-production.git;a=commitdiff;h=upstream/3.0.0-1-g869150e
commit 869150e088b4d57a84530dfa71eed3e82c014585
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Oct 8 14:13:21 2014 +0200
Adding upstream version 3.0.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index d04ed00..61de84f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.1 - 2014-09-29
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.0 - 2013-10-21
* Bug fixes (see mercurial logs for details)
* Add calendar view
diff --git a/COPYRIGHT b/COPYRIGHT
index 7668cfa..5695e54 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2012-2013 Cédric Krier.
-Copyright (C) 2012-2013 B2CK SPRL.
+Copyright (C) 2012-2014 Cédric Krier.
+Copyright (C) 2012-2014 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 f64d1fc..5987d09 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_production
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/bom.py b/bom.py
index 737abc4..b96be63 100644
--- a/bom.py
+++ b/bom.py
@@ -33,6 +33,8 @@ class BOM(ModelSQL, ModelView):
Uom = Pool().get('product.uom')
for output in self.outputs:
if output.product == product:
+ if not output.quantity:
+ return 0.0
quantity = Uom.compute_qty(uom, quantity,
output.uom, round=False)
return quantity / output.quantity
diff --git a/tryton.cfg b/tryton.cfg
index e60bd9e..83353ff 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.0
+version=3.0.1
depends:
company
ir
diff --git a/trytond_production.egg-info/PKG-INFO b/trytond_production.egg-info/PKG-INFO
index a3c7de0..764411b 100644
--- a/trytond_production.egg-info/PKG-INFO
+++ b/trytond_production.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-production
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_production.egg-info/SOURCES.txt b/trytond_production.egg-info/SOURCES.txt
index 5dc27ed..5dbbf7a 100644
--- a/trytond_production.egg-info/SOURCES.txt
+++ b/trytond_production.egg-info/SOURCES.txt
@@ -13,12 +13,49 @@ stock.xml
tryton.cfg
./__init__.py
./bom.py
+./bom.xml
./configuration.py
+./configuration.xml
./product.py
+./product.xml
./production.py
+./production.xml
./stock.py
+./stock.xml
+./tryton.cfg
+./locale/bg_BG.po
+./locale/ca_ES.po
+./locale/cs_CZ.po
+./locale/de_DE.po
+./locale/es_AR.po
+./locale/es_CO.po
+./locale/es_ES.po
+./locale/fr_FR.po
+./locale/nl_NL.po
+./locale/ru_RU.po
+./locale/sl_SI.po
./tests/__init__.py
+./tests/scenario_production.rst
./tests/test_production.py
+./view/assign_failed_form.xml
+./view/bom_form.xml
+./view/bom_input_form.xml
+./view/bom_input_list.xml
+./view/bom_list.xml
+./view/bom_output_form.xml
+./view/bom_output_list.xml
+./view/bom_tree_open_start_form.xml
+./view/bom_tree_open_tree_form.xml
+./view/bom_tree_tree.xml
+./view/configuration_form.xml
+./view/location_form.xml
+./view/product_bom_form.xml
+./view/product_bom_list.xml
+./view/product_bom_list_sequence.xml
+./view/product_form.xml
+./view/production_calendar.xml
+./view/production_form.xml
+./view/production_list.xml
doc/index.rst
locale/bg_BG.po
locale/ca_ES.po
--
tryton-modules-production
More information about the tryton-debian-vcs
mailing list