[tryton-debian-vcs] tryton-modules-commission branch upstream updated. upstream/4.0.1-1-g64e8d1f

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Jul 12 13:04:10 UTC 2016


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

commit 64e8d1f2bd1d56c2b2b2e705f10c3a3c179823a7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Jul 11 19:04:45 2016 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index 124e87c..dcf2187 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.2 - 2016-07-05
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.1 - 2016-05-11
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 905296d..f9b2cdb 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_commission
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module for commission
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/invoice.py b/invoice.py
index cfad166..b1b3b84 100644
--- a/invoice.py
+++ b/invoice.py
@@ -20,7 +20,7 @@ class Invoice:
             ('company', '=', Eval('company', -1)),
             ],
         states={
-            'invisible': Eval('type').in_(['in_invoice', 'in_credit_note']),
+            'invisible': Eval('type') == 'in',
             'readonly': Eval('state', '') != 'draft',
             },
         depends=['type', 'company', 'state'])
diff --git a/tryton.cfg b/tryton.cfg
index 6fb2c03..0eab09e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.1
+version=4.0.2
 depends:
     account
     account_invoice
diff --git a/trytond_commission.egg-info/PKG-INFO b/trytond_commission.egg-info/PKG-INFO
index 52627df..bc5691c 100644
--- a/trytond_commission.egg-info/PKG-INFO
+++ b/trytond_commission.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-commission
-Version: 4.0.1
+Version: 4.0.2
 Summary: Tryton module for commission
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-commission



More information about the tryton-debian-vcs mailing list