[tryton-debian-vcs] tryton-modules-commission branch upstream updated. upstream/4.2.0-1-g8ee5828
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 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-commission.git;a=commitdiff;h=upstream/4.2.0-1-g8ee5828
commit 8ee58284a15d04a43c00f257628101127d9bcb1e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jan 4 12:58:46 2017 +0100
Adding upstream version 4.2.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
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