[tryton-debian-vcs] tryton-modules-account-stock-anglo-saxon branch upstream updated. upstream/3.6.0-1-gd5343bb
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun May 24 12:17:10 UTC 2015
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-stock-anglo-saxon.git;a=commitdiff;h=upstream/3.6.0-1-gd5343bb
commit d5343bbac323c3a405cda394c2ed2cb43e0e9557
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 23 20:35:17 2015 +0200
Adding upstream version 3.6.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 0cbd9b6..fe5ddc2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.1 - 2015-05-22
+* Bug fixes (see mercurial logs for details)
+
Version 3.6.0 - 2015-04-20
* Bug fixes (see mercurial logs for details)
* Add support for PyPy
diff --git a/PKG-INFO b/PKG-INFO
index 230090b..7feef54 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_stock_anglo_saxon
-Version: 3.6.0
+Version: 3.6.1
Summary: Tryton module for anglo-saxon real-time stock valuation
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/stock.py b/stock.py
index 4b3022f..fb52aec 100644
--- a/stock.py
+++ b/stock.py
@@ -131,7 +131,7 @@ class Move:
if consumed_qty >= quantity:
break
- if type_ == 'in_supplier':
+ if type_.endswith('supplier'):
with Transaction().set_context(date=move.effective_date):
unit_price = Currency.compute(move.currency,
move.unit_price, move.company.currency, round=False)
diff --git a/tryton.cfg b/tryton.cfg
index 6e63c2a..c001809 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.6.0
+version=3.6.1
depends:
account
account_invoice
diff --git a/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO b/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO
index eab47f6..00b1497 100644
--- a/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO
+++ b/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-stock-anglo-saxon
-Version: 3.6.0
+Version: 3.6.1
Summary: Tryton module for anglo-saxon real-time stock valuation
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-account-stock-anglo-saxon
More information about the tryton-debian-vcs
mailing list