[tryton-debian-vcs] tryton-modules-account-invoice branch debian updated. debian/3.8.1-2-3-gc70fe15
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sat Apr 9 18:52:52 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-account-invoice.git;a=commitdiff;h=debian/3.8.1-2-3-gc70fe15
commit c70fe151149f2b1d036b2cdf133f9d70510bc8a2
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Apr 9 19:57:50 2016 +0200
Releasing debian version 3.8.2-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index f311a02..b4a1ae6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-account-invoice (3.8.2-1) unstable; urgency=medium
+
+ * Updating signing-key.asc with the actual upstream maintainer keys.
+ * Merging upstream version 3.8.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Sat, 09 Apr 2016 19:57:50 +0200
+
tryton-modules-account-invoice (3.8.1-2) unstable; urgency=medium
* Updating to standards version 3.9.7, no changes needed.
commit 071ee85bd790bdbb287ea1cb9047e8ae8db67e91
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Apr 9 19:57:50 2016 +0200
Merging upstream version 3.8.2.
diff --git a/CHANGELOG b/CHANGELOG
index d701442..dd479b8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.2 - 2016-04-06
+* Bug fixes (see mercurial logs for details)
+
Version 3.8.1 - 2016-02-06
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index dd7c347..9f88079 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_invoice
-Version: 3.8.1
+Version: 3.8.2
Summary: Tryton module for invoicing
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/invoice.py b/invoice.py
index b77135d..3c61c61 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2503,10 +2503,13 @@ class PayInvoice(Wizard):
if line_id not in default['lines_to_pay']:
default['lines'].remove(line_id)
+ default['payment_lines'] = [x.id for x in invoice.payment_lines
+ if not x.reconciliation]
+
default['amount_writeoff'] = Decimal('0.0')
for line in Line.browse(default['lines']):
default['amount_writeoff'] += line.debit - line.credit
- for line in invoice.payment_lines:
+ for line in Line.browse(default['payment_lines']):
default['amount_writeoff'] += line.debit - line.credit
if invoice.type in ('in_invoice', 'out_credit_note'):
default['amount_writeoff'] = - default['amount_writeoff'] - amount
@@ -2516,8 +2519,6 @@ class PayInvoice(Wizard):
default['currency_writeoff'] = invoice.company.currency.id
default['currency_digits_writeoff'] = invoice.company.currency.digits
default['invoice'] = invoice.id
- default['payment_lines'] = [x.id for x in invoice.payment_lines
- if not x.reconciliation]
if (amount > invoice.amount_to_pay
or invoice.company.currency.is_zero(amount)):
diff --git a/tryton.cfg b/tryton.cfg
index 0d3ddd2..5ef228f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.1
+version=3.8.2
depends:
account
account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index ea6b7a3..55ca2b7 100644
--- a/trytond_account_invoice.egg-info/PKG-INFO
+++ b/trytond_account_invoice.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-invoice
-Version: 3.8.1
+Version: 3.8.2
Summary: Tryton module for invoicing
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_account_invoice.egg-info/requires.txt b/trytond_account_invoice.egg-info/requires.txt
index 65768e2..7a78079 100644
--- a/trytond_account_invoice.egg-info/requires.txt
+++ b/trytond_account_invoice.egg-info/requires.txt
@@ -6,4 +6,4 @@ trytond_company >= 3.8, < 3.9
trytond_currency >= 3.8, < 3.9
trytond_party >= 3.8, < 3.9
trytond_product >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 3.8, < 3.9
--
tryton-modules-account-invoice
More information about the tryton-debian-vcs
mailing list