[tryton-debian-vcs] tryton-modules-account-invoice branch debian-jessie-3.0 updated. debian/3.0.6-1-2-g8d95adc

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


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

commit 8d95adcfdc90fad48adbc1247f7f4eb87e284964
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 14:48:01 2015 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 25d4f27..267d9fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-account-invoice (3.0.7-1) unstable; urgency=medium
+
+  * Merging upstream version 3.0.7.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 23 Dec 2015 14:48:01 +0100
+
 tryton-modules-account-invoice (3.0.6-1) unstable; urgency=medium
 
   * Adding actual upstream signing key.
commit 582ea34077382ec80d5f22919957f3aeaf7988bc
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 14:48:01 2015 +0100

    Merging upstream version 3.0.7.

diff --git a/CHANGELOG b/CHANGELOG
index fbdb607..e852335 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.7 - 2015-12-22
+* Bug fixes (see mercurial logs for details)
+
 Version 3.0.6 - 2015-03-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index c7f8f09..b5eb9ec 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 3.0.6
+Version: 3.0.7
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index f51bb31..8241f95 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2522,7 +2522,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,
@@ -2547,6 +2547,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 aca17d5..55e1d37 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.0.6
+version=3.0.7
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index b04d856..52d1528 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.0.6
+Version: 3.0.7
 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