[tryton-debian-vcs] tryton-modules-commission branch upstream-3.6 updated. upstream/3.6.1-1-g97d9852
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-3.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-commission.git;a=commitdiff;h=upstream/3.6.1-1-g97d9852
commit 97d9852e9d43203650df9327bfb108dcb7b74bbc
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jan 4 12:59:59 2017 +0100
Adding upstream version 3.6.2.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 42fba30..d9fc3a0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.2 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
Version 3.6.1 - 2015-12-22
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index a085246..b707f78 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2014-2015 Cédric Krier.
-Copyright (C) 2014-2015 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 a07a8d9..162a8d8 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_commission
-Version: 3.6.1
+Version: 3.6.2
Summary: Tryton module for commission
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/commission.py b/commission.py
index 1398980..01d29de 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 d710551..f1e52d1 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.6.1
+version=3.6.2
depends:
account
account_invoice
diff --git a/trytond_commission.egg-info/PKG-INFO b/trytond_commission.egg-info/PKG-INFO
index bab9a4b..a33e9c6 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: 3.6.1
+Version: 3.6.2
Summary: Tryton module for commission
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_commission.egg-info/requires.txt b/trytond_commission.egg-info/requires.txt
index f7b8a73..4dceb60 100644
--- a/trytond_commission.egg-info/requires.txt
+++ b/trytond_commission.egg-info/requires.txt
@@ -5,4 +5,4 @@ trytond_account_invoice >= 3.6, < 3.7
trytond_account_product >= 3.6, < 3.7
trytond_party >= 3.6, < 3.7
trytond_product >= 3.6, < 3.7
-trytond >= 3.6, < 3.7
\ No newline at end of file
+trytond >= 3.6, < 3.7
--
tryton-modules-commission
More information about the tryton-debian-vcs
mailing list