[tryton-debian-vcs] tryton-modules-stock-lot branch debian updated. debian/4.0.1-1-3-g6f31efa
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Sep 4 17:00:06 UTC 2016
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-lot.git;a=commitdiff;h=debian/4.0.1-1-3-g6f31efa
commit 6f31efa8bb21048bf041d810e0f5dc59a4786c81
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Sep 3 21:15:45 2016 +0200
Releasing debian version 4.0.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index bfe857c..3d25ae7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-stock-lot (4.0.2-1) unstable; urgency=medium
+
+ * Updating to Standards-Version: 3.9.8, no changes needed.
+ * Merging upstream version 4.0.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Sat, 03 Sep 2016 21:15:45 +0200
+
tryton-modules-stock-lot (4.0.1-1) unstable; urgency=medium
* Updating signing-key.asc with the actual upstream maintainer keys.
commit 18b00df0cc14bcb4f0f54beddd3963256aca2943
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Sep 3 21:15:45 2016 +0200
Merging upstream version 4.0.2.
diff --git a/CHANGELOG b/CHANGELOG
index 09b2d11..ff2fc6d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-09-03
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.1 - 2016-05-11
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index c541bf5..0857904 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock_lot
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module for lot of products
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/stock.py b/stock.py
index d1aed4b..af13de7 100644
--- a/stock.py
+++ b/stock.py
@@ -120,16 +120,17 @@ class ShipmentOut:
round=False)
if quantity < out_quantity:
outgoing_moves.extend(Move.copy([out_move], default={
- 'quantity': out_quantity - quantity,
+ 'quantity': out_move.uom.round(
+ out_quantity - quantity),
}))
Move.write([out_move], {
- 'quantity': quantity,
+ 'quantity': out_move.uom.round(quantity),
})
Move.write([out_move], {
'lot': move.lot.id,
})
quantity -= out_quantity
- assert quantity <= 0
+ assert move.uom.round(quantity) <= 0
class ShipmentOutReturn:
diff --git a/tryton.cfg b/tryton.cfg
index f7449d1..3ad86d6 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.1
+version=4.0.2
depends:
ir
product
diff --git a/trytond_stock_lot.egg-info/PKG-INFO b/trytond_stock_lot.egg-info/PKG-INFO
index 3dc6793..4cae8b0 100644
--- a/trytond_stock_lot.egg-info/PKG-INFO
+++ b/trytond_stock_lot.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-stock-lot
-Version: 4.0.1
+Version: 4.0.2
Summary: Tryton module for lot of products
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-stock-lot
More information about the tryton-debian-vcs
mailing list