[tryton-debian-vcs] tryton-modules-commission branch debian updated. debian/4.2.0-1-2-g4a08f45

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Jan 5 10:51:03 UTC 2017


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

commit 4a08f45707405598abac8635686f4287b3feab5a
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jan 4 12:58:47 2017 +0100

    Releasing debian version 4.2.1-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index a12811c..11c3b42 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-commission (4.2.1-1) unstable; urgency=medium
+
+  * Merging upstream version 4.2.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 04 Jan 2017 12:58:47 +0100
+
 tryton-modules-commission (4.2.0-1) unstable; urgency=medium
 
   * Merging upstream version 4.2.0.
commit 9138d948e252df3dc833478d79e5db92963678a0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jan 4 12:58:47 2017 +0100

    Merging upstream version 4.2.1.

diff --git a/CHANGELOG b/CHANGELOG
index 7ca6ca6..c53c4d2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.1 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.0 - 2016-11-28
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 1f891cc..8af0187 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_commission
-Version: 4.2.0
+Version: 4.2.1
 Summary: Tryton module for commission
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/commission.py b/commission.py
index 3ad2479..7e53860 100644
--- a/commission.py
+++ b/commission.py
@@ -434,13 +434,13 @@ class CreateInvoiceAsk(ModelView):
     __name__ = 'commission.create_invoice.ask'
     from_ = fields.Date('From',
         domain=[
-            If(Bool(Eval('to')), [('from', '<=', Eval('to'))],
+            If(Eval('to') & Eval('from_'), [('from_', '<=', Eval('to'))],
                 []),
             ],
         depends=['to'])
     to = fields.Date('To',
         domain=[
-            If(Bool(Eval('from_')), [('to', '>=', Eval('from_'))],
+            If(Eval('from_') & Eval('to'), [('to', '>=', Eval('from_'))],
                 []),
             ],
         depends=['from_'])
diff --git a/tryton.cfg b/tryton.cfg
index ddd23e4..89617b8 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.0
+version=4.2.1
 depends:
     account
     account_invoice
diff --git a/trytond_commission.egg-info/PKG-INFO b/trytond_commission.egg-info/PKG-INFO
index 0d6a114..fb92f90 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.2.0
+Version: 4.2.1
 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