[tryton-debian-vcs] tryton-modules-account-invoice branch upstream-3.4 updated. upstream/3.4.4-1-g27908ef

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon Dec 19 18:42:09 UTC 2016


The following commit has been merged in the upstream-3.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=upstream/3.4.4-1-g27908ef

commit 27908ef17a8b62d89e5c7c47c514f22f85c4b9db
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 11:19:46 2016 +0100

    Adding upstream version 3.4.5.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index a733d69..d841a98 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.4.5 - 2016-12-17
+* Bug fixes (see mercurial logs for details)
+
 Version 3.4.4 - 2016-07-05
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 12c346f..39a14ce 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 3.4.4
+Version: 3.4.5
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index f5ee3dc..9b01d2e 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2402,7 +2402,7 @@ class InvoiceTax(ModelSQL, ModelView):
             res[field] = getattr(self, field)
 
         for field in ('account', 'base_code', 'tax_code', 'tax'):
-            res[field] = getattr(self, field).id
+            res[field] = getattr(getattr(self, field), 'id', None)
         return res
 
 
@@ -2666,6 +2666,7 @@ class PayInvoice(Wizard):
                 if not x.reconciliation]
 
         default['amount'] = self.start.amount
+        default['date'] = self.start.date
         default['currency'] = self.start.currency.id
         default['currency_digits'] = self.start.currency_digits
         default['company'] = invoice.company.id
diff --git a/tryton.cfg b/tryton.cfg
index 53b0573..4ba7fc3 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.4.4
+version=3.4.5
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index e7bb3fa..a83d1c3 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.4.4
+Version: 3.4.5
 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