[tryton-debian-vcs] tryton-modules-account-asset branch upstream-3.2 updated. upstream/3.2.2-1-g8b2c0cd
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Mar 4 00:28:58 UTC 2015
The following commit has been merged in the upstream-3.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-asset.git;a=commitdiff;h=upstream/3.2.2-1-g8b2c0cd
commit 8b2c0cdd9f250870646a0f883233f1c1750c42fe
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Mar 3 12:50:20 2015 +0100
Adding upstream version 3.2.3.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index e79ce3c..a515ad0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.3 - 2015-03-02
+* Bug fixes (see mercurial logs for details)
+
Version 3.2.2 - 2014-11-06
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index f3f7030..63ab9fa 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,7 +1,7 @@
-Copyright (C) 2012-2014 Nicolas Évrard.
-Copyright (C) 2012-2014 Cédric Krier.
+Copyright (C) 2012-2015 Nicolas Évrard.
+Copyright (C) 2012-2015 Cédric Krier.
Copyright (C) 2012-2013 Bertrand Chenal.
-Copyright (C) 2012-2014 B2CK SPRL.
+Copyright (C) 2012-2015 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 0bcaba2..8391975 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_asset
-Version: 3.2.2
+Version: 3.2.3
Summary: Tryton module for assets management
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/asset.py b/asset.py
index f1b8a82..fe424da 100644
--- a/asset.py
+++ b/asset.py
@@ -234,8 +234,8 @@ class Asset(Workflow, ModelSQL, ModelView):
if invoice.company.currency != invoice.currency:
with Transaction().set_context(date=invoice.currency_date):
new_values['value'] = Currency.compute(
- invoice.company.currency, invoice_line.amount,
- invoice.currency)
+ invoice.currency, invoice_line.amount,
+ invoice.company.currency)
else:
new_values['value'] = invoice_line.amount
if invoice.invoice_date:
diff --git a/setup.py b/setup.py
index 2f27b5a..5513a5b 100644
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,10 @@ for dep in info.get('depends', []):
requires.append(get_require_version('trytond'))
tests_require = [get_require_version('proteus')]
+dependency_links = []
+if minor_version % 2:
+ # Add development index for testing with proteus
+ dependency_links.append('https://trydevpi.tryton.org/')
setup(name=name,
version=version,
@@ -92,6 +96,7 @@ setup(name=name,
],
license='GPL-3',
install_requires=requires,
+ dependency_links=dependency_links,
zip_safe=False,
entry_points="""
[trytond.modules]
diff --git a/tryton.cfg b/tryton.cfg
index fd97bbe..6a7c23f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.2.2
+version=3.2.3
depends:
ir
res
diff --git a/trytond_account_asset.egg-info/PKG-INFO b/trytond_account_asset.egg-info/PKG-INFO
index 5515cfa..a2c7b0e 100644
--- a/trytond_account_asset.egg-info/PKG-INFO
+++ b/trytond_account_asset.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-asset
-Version: 3.2.2
+Version: 3.2.3
Summary: Tryton module for assets management
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-account-asset
More information about the tryton-debian-vcs
mailing list