[tryton-debian-vcs] tryton-modules-account-dunning branch upstream-3.6 updated. upstream/3.6.1-1-g19d1dbf

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Nov 12 16:29:08 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-account-dunning.git;a=commitdiff;h=upstream/3.6.1-1-g19d1dbf

commit 19d1dbfd877ff24bbdca2ae06c9a943c22652dd5
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 13:16:57 2017 +0100

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

diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..9d7c769
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,9 @@
+image: python2.7
+env:
+  - POSTGRESQL_URI=postgresql://postgres@127.0.0.1:5432/
+  - MYSQL_URI=mysql://root@127.0.0.1:3306/
+script:
+  - pip install tox
+  - tox -e "py27-{sqlite,postgresql}"
+services:
+  - postgres
diff --git a/CHANGELOG b/CHANGELOG
index 18a178d..6f6ebda 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.2 - 2017-11-08
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.1 - 2016-12-17
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 20bd036..4d643a0 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2013-2016 Cédric Krier.
-Copyright (C) 2013-2016 B2CK SPRL.
+Copyright (C) 2013-2017 Cédric Krier.
+Copyright (C) 2013-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 f056088..fb2873d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_dunning
-Version: 3.6.1
+Version: 3.6.2
 Summary: Tryton module for account dunning
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/dunning.py b/dunning.py
index 2a5ec42..dfa8380 100644
--- a/dunning.py
+++ b/dunning.py
@@ -136,7 +136,7 @@ class Dunning(ModelSQL, ModelView):
 
     @classmethod
     def search_line_field(cls, name, clause):
-        return [('line.' + name,) + tuple(clause[1:])]
+        return [('line.' + clause[0],) + tuple(clause[1:])]
 
     def get_amount(self, name):
         return self.line.debit - self.line.credit
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..e9d2876
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+envlist = py27-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql}
+
+[testenv]
+commands = {envpython} setup.py test
+deps =
+    py27-postgresql: psycopg2 >= 2.0
+    pypy-postgresql: psycopg2cffi >= 2.5
+    mysql: MySQL-python
+setenv =
+    sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
+    postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
+    mysql: TRYTOND_DATABASE_URI={env:MYSQL_URI:mysql://}
+    sqlite: DB_NAME={env:SQLITE_NAME::memory:}
+    postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
+    mysql: DB_NAME={env:MYSQL_NAME:test}
+install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
diff --git a/tryton.cfg b/tryton.cfg
index 58b02a8..894a844 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.6.1
+version=3.6.2
 depends:
     account
     company
diff --git a/trytond_account_dunning.egg-info/PKG-INFO b/trytond_account_dunning.egg-info/PKG-INFO
index 11caec8..6860f09 100644
--- a/trytond_account_dunning.egg-info/PKG-INFO
+++ b/trytond_account_dunning.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-account-dunning
-Version: 3.6.1
+Version: 3.6.2
 Summary: Tryton module for account dunning
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_account_dunning.egg-info/SOURCES.txt b/trytond_account_dunning.egg-info/SOURCES.txt
index 65f7904..f430f2d 100644
--- a/trytond_account_dunning.egg-info/SOURCES.txt
+++ b/trytond_account_dunning.egg-info/SOURCES.txt
@@ -1,13 +1,20 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+account.py
 account.xml
+dunning.py
 dunning.xml
+party.py
 party.xml
 setup.py
+tox.ini
 tryton.cfg
 ./__init__.py
 ./account.py
@@ -48,7 +55,9 @@ locale/es_EC.po
 locale/es_ES.po
 locale/fr_FR.po
 locale/sl_SI.po
+tests/__init__.py
 tests/scenario_account_dunning.rst
+tests/test_account_dunning.py
 trytond_account_dunning.egg-info/PKG-INFO
 trytond_account_dunning.egg-info/SOURCES.txt
 trytond_account_dunning.egg-info/dependency_links.txt
-- 
tryton-modules-account-dunning



More information about the tryton-debian-vcs mailing list