[tryton-debian-vcs] tryton-modules-commission branch upstream-4.0 updated. upstream/4.0.2-1-g1bf778e

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


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-commission.git;a=commitdiff;h=upstream/4.0.2-1-g1bf778e

commit 1bf778ea2cc1867f297ce85ff32194463b1a62a9
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jan 4 13:02:23 2017 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index dcf2187..b5534b9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.2 - 2016-07-05
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index a29b425..b707f78 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2014-2016 Cédric Krier.
-Copyright (C) 2014-2016 B2CK SPRL.
+Copyright (C) 2014-2017 Cédric Krier.
+Copyright (C) 2014-2017 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index f9b2cdb..8b97f47 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_commission
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module for commission
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/commission.py b/commission.py
index 0a808a1..9eebe9f 100644
--- a/commission.py
+++ b/commission.py
@@ -441,13 +441,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 0eab09e..71dac45 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.2
+version=4.0.3
 depends:
     account
     account_invoice
diff --git a/trytond_commission.egg-info/PKG-INFO b/trytond_commission.egg-info/PKG-INFO
index bc5691c..2c8b61a 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.2
+Version: 4.0.3
 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