[tryton-debian-vcs] tryton-modules-stock-split branch upstream-2.8 updated. upstream/2.8.0-1-g9032cad

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Nov 12 13:56:17 UTC 2014


The following commit has been merged in the upstream-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-split.git;a=commitdiff;h=upstream/2.8.0-1-g9032cad

commit 9032cadff1e528159a930073e7759a26a26ffb81
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Nov 12 13:35:20 2014 +0100

    Adding upstream version 2.8.1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 3ac4e21..a55a151 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.1 - 2014-11-06
+* Bug fixes (see mercurial logs for details)
+
 Version 2.8.0 - 2013-04-22
 * Bug fixes (see mercurial logs for details)
 
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 6f92569..c08d249 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock_split
-Version: 2.8.0
+Version: 2.8.1
 Summary: Tryton module to split stock move
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/stock.py b/stock.py
index 32fe863..55774cd 100644
--- a/stock.py
+++ b/stock.py
@@ -59,6 +59,7 @@ class Move:
                         'uom': uom.id,
                         }))
             remainder -= quantity
+            remainder = Uom.round(remainder, uom.rounding)
             if count:
                 count -= 1
         assert remainder >= 0
diff --git a/tryton.cfg b/tryton.cfg
index 0f74f32..5ed42bb 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.8.0
+version=2.8.1
 depends:
     ir
     stock
diff --git a/trytond_stock_split.egg-info/PKG-INFO b/trytond_stock_split.egg-info/PKG-INFO
index f918780..699af3a 100644
--- a/trytond_stock_split.egg-info/PKG-INFO
+++ b/trytond_stock_split.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-stock-split
-Version: 2.8.0
+Version: 2.8.1
 Summary: Tryton module to split stock move
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_stock_split.egg-info/SOURCES.txt b/trytond_stock_split.egg-info/SOURCES.txt
index bea2a9c..ae33e0d 100644
--- a/trytond_stock_split.egg-info/SOURCES.txt
+++ b/trytond_stock_split.egg-info/SOURCES.txt
@@ -9,8 +9,23 @@ stock.xml
 tryton.cfg
 ./__init__.py
 ./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
 ./tests/__init__.py
 ./tests/test_stock_split.py
+./view/move_form.xml
+./view/move_tree.xml
+./view/split_start_form.xml
 doc/index.rst
 locale/bg_BG.po
 locale/ca_ES.po
-- 
tryton-modules-stock-split



More information about the tryton-debian-vcs mailing list