[tryton-debian-vcs] tryton-modules-account-payment-clearing branch upstream updated. upstream/3.4.0-1-g9fbd238
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Mar 4 00:30:16 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-payment-clearing.git;a=commitdiff;h=upstream/3.4.0-1-g9fbd238
commit 9fbd238e6844323331ab1d98c3e6f741dd630a0a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Mar 3 20:48:13 2015 +0100
Adding upstream version 3.4.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index ed74506..d2965de 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,2 +1,5 @@
+Version 3.4.1 - 2015-03-01
+* Bug fixes (see mercurial logs for details)
+
Version 3.4.0 - 2014-10-20
* Initial release
\ No newline at end of file
diff --git a/COPYRIGHT b/COPYRIGHT
index 695be19..a085246 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2014 Cédric Krier.
-Copyright (C) 2014 B2CK SPRL.
+Copyright (C) 2014-2015 Cédric Krier.
+Copyright (C) 2014-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 9ecbccc..eb02d15 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_payment_clearing
-Version: 3.4.0
+Version: 3.4.1
Summary: Tryton module for payment clearing
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/payment.py b/payment.py
index 6be8afe..679b820 100644
--- a/payment.py
+++ b/payment.py
@@ -90,7 +90,8 @@ class Payment:
line.amount_second_currency = (-self.line.amount_second_currency
if self.line.amount_second_currency else None)
line.second_currency = self.line.second_currency
- line.party = self.line.party
+ line.party = (self.line.party
+ if self.line.account.party_required else None)
counterpart = Line()
counterpart.debit = self.amount if self.line.debit else Decimal(0)
counterpart.credit = self.amount if self.line.credit else Decimal(0)
diff --git a/setup.py b/setup.py
index b4cfeb7..29a5060 100644
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,12 @@ for dep in info.get('depends', []):
requires.append(get_require_version('trytond_%s' % dep))
requires.append(get_require_version('trytond'))
-tests_require = [get_require_version('proteus')]
+tests_require = [get_require_version('proteus'),
+ get_require_version('trytond_account_statement')]
+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,
@@ -93,6 +98,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 78f9e22..5d70ad2 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.4.0
+version=3.4.1
depends:
account_payment
ir
diff --git a/trytond_account_payment_clearing.egg-info/PKG-INFO b/trytond_account_payment_clearing.egg-info/PKG-INFO
index 2e194a4..aa37d71 100644
--- a/trytond_account_payment_clearing.egg-info/PKG-INFO
+++ b/trytond_account_payment_clearing.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-payment-clearing
-Version: 3.4.0
+Version: 3.4.1
Summary: Tryton module for payment clearing
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-account-payment-clearing
More information about the tryton-debian-vcs
mailing list