[tryton-debian-vcs] tryton-modules-account-invoice branch upstream updated. upstream/4.2.1-1-gf26fd82
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Mar 14 12:06:26 UTC 2017
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice.git;a=commitdiff;h=upstream/4.2.1-1-gf26fd82
commit f26fd829be7023fa62cded07a10c964023c960cf
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Mar 14 10:25:26 2017 +0100
Adding upstream version 4.2.2.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index d0b5655..3bf5a00 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.2 - 2017-03-10
+* Bug fixes (see mercurial logs for details)
+
Version 4.2.1 - 2017-02-06
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index dfcf753..3ce5c1f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_invoice
-Version: 4.2.1
+Version: 4.2.2
Summary: Tryton module for invoicing
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/invoice.odt b/invoice.odt
index a9aa400..fcbc3f6 100644
Binary files a/invoice.odt and b/invoice.odt differ
diff --git a/invoice.py b/invoice.py
index 8630a1d..eacdfe1 100644
--- a/invoice.py
+++ b/invoice.py
@@ -1654,6 +1654,10 @@ class InvoiceLine(sequence_ordered(), ModelSQL, ModelView, TaxableMixin):
def default_type():
return 'line'
+ @classmethod
+ def default_invoice_state(cls):
+ return 'draft'
+
@fields.depends('invoice', '_parent_invoice.state')
def on_change_with_invoice_state(self, name=None):
if self.invoice:
diff --git a/tryton.cfg b/tryton.cfg
index 4cfa871..af479b9 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.2.1
+version=4.2.2
depends:
account
account_product
diff --git a/trytond_account_invoice.egg-info/PKG-INFO b/trytond_account_invoice.egg-info/PKG-INFO
index 02cb9e9..5d5b882 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.2.1
+Version: 4.2.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