[tryton-debian-vcs] tryton-modules-production branch debian-jessie-3.4 updated. debian/3.4.1-1-4-gc5568c7
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun May 24 12:19:12 UTC 2015
The following commit has been merged in the debian-jessie-3.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-production.git;a=commitdiff;h=debian/3.4.1-1-4-gc5568c7
commit c5568c7ae4bc0f25b3b5d3d9bfe44d270172549d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 23 21:12:46 2015 +0200
Releasing debian version 3.4.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 94efd4c..c23fc46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-production (3.4.2-1) unstable; urgency=medium
+
+ * Wrapping and sorting control files (wrap-and-sort -bts).
+ * Setting the branch in the watch file to the fixed version 3.4.
+ * Merging upstream version 3.4.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Sat, 23 May 2015 21:12:46 +0200
+
tryton-modules-production (3.4.1-1) unstable; urgency=medium
* Adding actual upstream signing key.
commit df3a3b3e1d015d09a4f3a1c05086573d48ef65c5
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 23 21:12:45 2015 +0200
Merging upstream version 3.4.2.
diff --git a/CHANGELOG b/CHANGELOG
index 3c86c2e..1f6cb18 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.4.2 - 2015-05-22
+* Bug fixes (see mercurial logs for details)
+
Version 3.4.1 - 2015-02-22
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index d28253f..5abcdb1 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_production
-Version: 3.4.1
+Version: 3.4.2
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/production.py b/production.py
index 2abade3..100eb82 100644
--- a/production.py
+++ b/production.py
@@ -371,7 +371,9 @@ class Production(Workflow, ModelSQL, ModelView):
else:
cost_price = input_.product.cost_price
cost += (Decimal(str(input_.internal_quantity)) * cost_price)
- return cost
+
+ digits = self.__class__.cost.digits
+ return cost.quantize(Decimal(str(10 ** -digits[1])))
@fields.depends('inputs')
def on_change_with_cost(self):
diff --git a/tryton.cfg b/tryton.cfg
index a07c766..432e2a0 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.4.1
+version=3.4.2
depends:
company
ir
diff --git a/trytond_production.egg-info/PKG-INFO b/trytond_production.egg-info/PKG-INFO
index c12f269..5bf8f6d 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.4.1
+Version: 3.4.2
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-production
More information about the tryton-debian-vcs
mailing list