[tryton-debian-vcs] tryton-modules-account-invoice branch debian-stretch-3.6 updated. debian/3.6.1-1-5-g61ee06c

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


The following commit has been merged in the debian-stretch-3.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=debian/3.6.1-1-5-g61ee06c

commit 61ee06c4edc2d57f7a6f63f214cb1b9045dda67f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 14:51:16 2015 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 94df971..2c7121c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-modules-account-invoice (3.6.2-1) unstable; urgency=medium
+
+  * Adapting section naming in gbp.conf to current git-buildpackage.
+  * Improving description why we can not run the module test suites.
+  * Setting the branch in the watch file to the fixed version 3.6.
+  * Merging upstream version 3.6.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 23 Dec 2015 14:51:15 +0100
+
 tryton-modules-account-invoice (3.6.1-1) unstable; urgency=medium
 
   * Updating year of debian copyright.
commit 5848c3b96f1156ee9d25f38c02e37ada08c76fc4
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Dec 23 14:51:14 2015 +0100

    Merging upstream version 3.6.2.

diff --git a/CHANGELOG b/CHANGELOG
index 52d2372..042a2d3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.2 - 2015-12-22
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.1 - 2015-05-22
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index c3973b3..d96689a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 3.6.1
+Version: 3.6.2
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index cd846c5..739ef00 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2408,7 +2408,7 @@ class PayInvoiceAsk(ModelView):
         return 'partial'
 
     @fields.depends('lines', 'amount', 'currency', 'currency_writeoff',
-        'invoice')
+        'invoice', 'payment_lines')
     def on_change_lines(self):
         Currency = Pool().get('currency.currency')
 
@@ -2419,6 +2419,8 @@ class PayInvoiceAsk(ModelView):
         self.amount_writeoff = Decimal('0.0')
         for line in self.lines:
             self.amount_writeoff += line.debit - line.credit
+        for line in self.payment_lines:
+            self.amount_writeoff += line.debit - line.credit
         if self.invoice.type in ('in_invoice', 'out_credit_note'):
             self.amount_writeoff = - self.amount_writeoff - amount
         else:
diff --git a/tryton.cfg b/tryton.cfg
index eb8404a..c6d9da1 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.6.1
+version=3.6.2
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index 9cedb2d..5e42c1a 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.6.1
+Version: 3.6.2
 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