[tryton-debian-vcs] tryton-modules-account-invoice branch debian-jessie-2.8 updated. debian/2.8.9-1-2-gf429ca4

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Dec 23 16:50:42 UTC 2015


The following commit has been merged in the debian-jessie-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=debian/2.8.9-1-2-gf429ca4

commit f429ca401bf77b007726cb5c709ec1b5789d8432
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 14:47:05 2015 +0100

    Releasing debian version 2.8.10-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 0f245e8..baf81f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-account-invoice (2.8.10-1) unstable; urgency=medium
+
+  * Merging upstream version 2.8.10.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 23 Dec 2015 14:47:05 +0100
+
 tryton-modules-account-invoice (2.8.9-1) unstable; urgency=medium
 
   * Merging upstream version 2.8.9.
commit 7a15ff306f497bdb6bec7b7daa1dfe6687a95d64
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 14:47:04 2015 +0100

    Merging upstream version 2.8.10.

diff --git a/CHANGELOG b/CHANGELOG
index 37c77bb..21aa925 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.10 - 2015-12-22
+* Bug fixes (see mercurial logs for details)
+
 Version 2.8.9 - 2015-03-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 4bed52a..1d05a14 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 2.8.9
+Version: 2.8.10
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index d4a3362..b7a01ff 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2451,7 +2451,7 @@ class PayInvoiceAsk(ModelView):
         states={
             'invisible': Eval('type') != 'writeoff',
             }, on_change=['lines', 'amount', 'currency', 'currency_writeoff',
-            'invoice'],
+            'invoice', 'payment_lines'],
         depends=['lines_to_pay', 'type'])
     payment_lines = fields.Many2Many('account.move.line', None, None,
         'Payment Lines', readonly=True,
@@ -2476,6 +2476,8 @@ class PayInvoiceAsk(ModelView):
         res['amount_writeoff'] = Decimal('0.0')
         for line in self.lines:
             res['amount_writeoff'] += line.debit - line.credit
+        for line in self.payment_lines:
+            res['amount_writeoff'] += line.debit - line.credit
         if self.invoice.type in ('in_invoice', 'out_credit_note'):
             res['amount_writeoff'] = - res['amount_writeoff'] - amount
         else:
diff --git a/tryton.cfg b/tryton.cfg
index 816ad74..0755365 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.8.9
+version=2.8.10
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index 220491f..f2b1aea 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: 2.8.9
+Version: 2.8.10
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-account-invoice



More information about the tryton-debian-vcs mailing list