[tryton-debian-vcs] tryton-modules-account-invoice branch upstream-4.0 updated. upstream/4.0.2-1-g456bd92

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-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=upstream/4.0.2-1-g456bd92

commit 456bd921b1926960e69336b861ca2476b11d8801
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Dec 19 11:23:10 2016 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index 6bdc754..61bbe82 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2016-12-17
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.2 - 2016-08-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index c78d1c0..95cee40 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module for invoicing
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index 7964224..a050f1f 100644
--- a/invoice.py
+++ b/invoice.py
@@ -2217,7 +2217,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
 
 
@@ -2471,6 +2471,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 b83ea63..c8c27be 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.2
+version=4.0.3
 depends:
     account
     account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index 0f51b5d..d910810 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: 4.0.2
+Version: 4.0.3
 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