[tryton-debian-vcs] tryton-modules-commission branch upstream-3.8 updated. upstream/3.8.0-1-g387f334

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.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-commission.git;a=commitdiff;h=upstream/3.8.0-1-g387f334

commit 387f334eec67a3753b1c7b54652c0b683be32125
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jan 4 13:01:12 2017 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index 229dc09..1ecfa34 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.1 - 2017-01-03
+* Bug fixes (see mercurial logs for details)
+
 Version 3.8.0 - 2015-11-02
 * Bug fixes (see mercurial logs for details)
 * Rename default_principal property into principal
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 081d78d..5f9c3ba 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_commission
-Version: 3.8.0
+Version: 3.8.1
 Summary: Tryton module for commission
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/commission.py b/commission.py
index e9a8625..bf878fc 100644
--- a/commission.py
+++ b/commission.py
@@ -447,13 +447,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 dfcbb50..03f3419 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.0
+version=3.8.1
 depends:
     account
     account_invoice
diff --git a/trytond_commission.egg-info/PKG-INFO b/trytond_commission.egg-info/PKG-INFO
index afe8817..b83b3df 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.8.0
+Version: 3.8.1
 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 8b537ee..3875975 100644
--- a/trytond_commission.egg-info/requires.txt
+++ b/trytond_commission.egg-info/requires.txt
@@ -5,4 +5,4 @@ trytond_account_invoice >= 3.8, < 3.9
 trytond_account_product >= 3.8, < 3.9
 trytond_party >= 3.8, < 3.9
 trytond_product >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 3.8, < 3.9
-- 
tryton-modules-commission



More information about the tryton-debian-vcs mailing list