[tryton-debian-vcs] tryton-modules-production branch upstream-3.0 updated. upstream/3.0.3-1-g11fb861
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:04:53 UTC 2016
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.3-1-g11fb861
commit 11fb861c51c32c9a837af8d2d133cdc4811ede42
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 20:43:27 2016 +0200
Adding upstream version 3.0.4.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index ca14996..c17e24d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.4 - 2016-07-05
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.3 - 2015-05-22
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 776aee6..442fb2d 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2012-2015 Cédric Krier.
-Copyright (C) 2012-2015 B2CK SPRL.
+Copyright (C) 2012-2016 Cédric Krier.
+Copyright (C) 2012-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 c3cc945..7673ea8 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_production
-Version: 3.0.3
+Version: 3.0.4
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/production.py b/production.py
index 7089edf..3017af2 100644
--- a/production.py
+++ b/production.py
@@ -433,6 +433,8 @@ class Production(Workflow, ModelSQL, ModelView):
move.unit_price = Decimal(
cost / Decimal(str(quantity))
).quantize(Decimal(str(10 ** -digits[1])))
+ else:
+ move.unit_price = Decimal(0)
move.save()
self._set_move_planned_date()
diff --git a/tryton.cfg b/tryton.cfg
index 73d2798..6fd929f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.3
+version=3.0.4
depends:
company
ir
diff --git a/trytond_production.egg-info/PKG-INFO b/trytond_production.egg-info/PKG-INFO
index 020652a..8da8322 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.3
+Version: 3.0.4
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_production.egg-info/requires.txt b/trytond_production.egg-info/requires.txt
index b24a68f..ef12917 100644
--- a/trytond_production.egg-info/requires.txt
+++ b/trytond_production.egg-info/requires.txt
@@ -1,4 +1,4 @@
trytond_company >= 3.0, < 3.1
trytond_product >= 3.0, < 3.1
trytond_stock >= 3.0, < 3.1
-trytond >= 3.0, < 3.1
\ No newline at end of file
+trytond >= 3.0, < 3.1
--
tryton-modules-production
More information about the tryton-debian-vcs
mailing list