[tryton-debian-vcs] tryton-modules-account-invoice branch debian-wheezy-2.6 updated. debian/2.6.7-1-3-gcf58d90

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Mar 27 13:46:31 UTC 2014


The following commit has been merged in the debian-wheezy-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=debian/2.6.7-1-3-gcf58d90

commit cf58d90f2295b3bd902bd5de294a57baca47040f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Mar 27 14:46:12 2014 +0100

    Releasing debian version 2.6.8-1.

diff --git a/debian/changelog b/debian/changelog
index 86f74dc..f533f89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-account-invoice (2.6.8-1) unstable; urgency=medium
+
+  * Merging upstream version 2.6.8.
+  * Updating copyright.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 26 Mar 2014 21:59:11 +0100
+
 tryton-modules-account-invoice (2.6.7-1) unstable; urgency=medium
 
   * Merging upstream version 2.6.7.
commit 923abbc6d90606190f38b0d623c3455a239c15fa
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Mar 26 21:58:46 2014 +0100

    Updating copyright.

diff --git a/debian/copyright b/debian/copyright
index 2edb2f6..d526444 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
-Copyright: 2008-2013 Cédric Krier
+Copyright: 2008-2014 Cédric Krier
            2008-2012 Bertrand Chenal
-           2008-2013 B2CK SPRL
+           2008-2014 B2CK SPRL
            2004-2008 Tiny SPRL
 License: GPL-3+
 
commit 86aa22dbe9ca756cc63308717f4ff087ed757b0b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Mar 26 21:54:48 2014 +0100

    Merging upstream version 2.6.8.

diff --git a/CHANGELOG b/CHANGELOG
index a2217ed..29417a5 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.8 - 2014-03-22
+* Bug fixes (see mercurial logs for details)
+
 Version 2.6.7 - 2014-01-18
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 6e948f6..c552c67 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2013 Cédric Krier.
+Copyright (C) 2008-2014 Cédric Krier.
 Copyright (C) 2008-2012 Bertrand Chenal.
-Copyright (C) 2008-2013 B2CK SPRL.
+Copyright (C) 2008-2014 B2CK SPRL.
 Copyright (C) 2004-2008 Tiny SPRL.
 
 This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index 35f7542..bf6c32b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 2.6.7
+Version: 2.6.8
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/account.py b/account.py
index d6d74c9..8e69051 100644
--- a/account.py
+++ b/account.py
@@ -202,7 +202,7 @@ class Period:
                 for period in periods:
                     sequence = getattr(period, sequence_name)
                     if (sequence and
-                            sequence.id != vals[sequence]):
+                            sequence.id != vals[sequence_name]):
                         if Invoice.search([
                                     ('invoice_date', '>=', period.start_date),
                                     ('invoice_date', '<=', period.end_date),
diff --git a/invoice.py b/invoice.py
index c08f664..af77e89 100644
--- a/invoice.py
+++ b/invoice.py
@@ -831,10 +831,10 @@ class Invoice(Workflow, ModelSQL, ModelView):
             term_lines = [(Date.today(), total)]
         for date, amount in term_lines:
             val = self._get_move_line(date, amount)
-            remainder_total_currency -= val['amount_second_currency']
+            remainder_total_currency += val['amount_second_currency']
             move_lines.append(val)
         if not self.currency.is_zero(remainder_total_currency):
-            move_lines[-1]['amount_second_currency'] += \
+            move_lines[-1]['amount_second_currency'] -= \
                 remainder_total_currency
 
         accounting_date = self.accounting_date or self.invoice_date
@@ -1325,7 +1325,7 @@ class InvoiceLine(ModelSQL, ModelView):
         on_change=['product', 'unit', 'quantity', 'description',
             '_parent_invoice.type', '_parent_invoice.party',
             '_parent_invoice.currency', '_parent_invoice.currency_date',
-            'party', 'currency', 'invoice'],
+            'party', 'currency', 'invoice', 'invoice_type'],
         depends=['type'])
     product_uom_category = fields.Function(
         fields.Many2One('product.uom.category', 'Product Uom Category',
@@ -2213,7 +2213,7 @@ class PayInvoiceAsk(ModelView):
     lines = fields.Many2Many('account.move.line', None, None, 'Lines',
         domain=[
             ('id', 'in', Eval('lines_to_pay')),
-            ('reconciliation', '=', False),
+            ('reconciliation', '=', None),
             ],
         states={
             'invisible': Eval('type') != 'writeoff',
diff --git a/tryton.cfg b/tryton.cfg
index 4b926f5..e819f84 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.6.7
+version=2.6.8
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index ef799a1..26486f7 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.6.7
+Version: 2.6.8
 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