[tryton-debian-vcs] tryton-modules-production branch upstream-3.8 updated. upstream/3.8.0-1-gfb268f1
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.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-production.git;a=commitdiff;h=upstream/3.8.0-1-gfb268f1
commit fb268f134d3488f5959f6d8e44f2b6765a0fa91a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Jul 11 20:48:16 2016 +0200
Adding upstream version 3.8.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 8230fda..ef3a155 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.1 - 2016-07-05
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.0 - 2015-11-02
* 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 c380a6e..b1f1882 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_production
-Version: 3.8.0
+Version: 3.8.1
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/production.py b/production.py
index da14852..81863ec 100644
--- a/production.py
+++ b/production.py
@@ -415,6 +415,8 @@ class Production(Workflow, ModelSQL, ModelView):
if product == self.product:
move.unit_price = Decimal(
cost / Decimal(str(quantity))).quantize(digit)
+ else:
+ move.unit_price = Decimal(0)
move.save()
self._set_move_planned_date()
diff --git a/tryton.cfg b/tryton.cfg
index 1f6d8ca..a9bacb1 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.0
+version=3.8.1
depends:
company
ir
diff --git a/trytond_production.egg-info/PKG-INFO b/trytond_production.egg-info/PKG-INFO
index 5bd1e17..b5a6a3a 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.8.0
+Version: 3.8.1
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 2aec0fc..8802990 100644
--- a/trytond_production.egg-info/requires.txt
+++ b/trytond_production.egg-info/requires.txt
@@ -2,4 +2,4 @@ python-sql >= 0.4
trytond_company >= 3.8, < 3.9
trytond_product >= 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-production
More information about the tryton-debian-vcs
mailing list