[tryton-debian-vcs] tryton-modules-account-dunning branch debian-stretch-4.2 updated. debian/4.2.1-1-2-g29c9c46

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Nov 12 16:29:07 UTC 2017


The following commit has been merged in the debian-stretch-4.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-dunning.git;a=commitdiff;h=debian/4.2.1-1-2-g29c9c46

commit 29c9c46ba5bb7bcccba699a01f8424baaf658206
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 13:22:22 2017 +0100

    Releasing debian version 4.2.2-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 7d6902d..8be4f95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-account-dunning (4.2.2-1) unstable; urgency=medium
+
+  * Merging upstream version 4.2.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 11 Nov 2017 13:22:22 +0100
+
 tryton-modules-account-dunning (4.2.1-1) unstable; urgency=medium
 
   * Add the actual upstream maintainer key to signing-key.asc.
commit 4a7fff1c7b4c8d6815ec52f49fcfc8af4884dd0f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 13:22:22 2017 +0100

    Merging upstream version 4.2.2.

diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..c4fd423
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,9 @@
+image: python:all
+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,py33,py34,py35}-{sqlite,postgresql}" --skip-missing-interpreters
+services:
+  - postgres
diff --git a/CHANGELOG b/CHANGELOG
index e69fd69..c413b8d 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.2 - 2017-11-08
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.1 - 2017-09-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 9c069e4..be400d8 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_dunning
-Version: 4.2.1
+Version: 4.2.2
 Summary: Tryton module for account dunning
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/dunning.py b/dunning.py
index 1c2d375..318101b 100644
--- a/dunning.py
+++ b/dunning.py
@@ -149,7 +149,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/tox.ini b/tox.ini
new file mode 100644
index 0000000..08e43cf
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,18 @@
+[tox]
+envlist = {py27,py33,py34,py35}-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql}
+
+[testenv]
+commands = {envpython} setup.py test
+deps =
+    {py27,py33,py34,py35}-postgresql: psycopg2 >= 2.5
+    pypy-postgresql: psycopg2cffi >= 2.5
+    mysql: MySQL-python
+    sqlite: sqlitebck
+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 7b02466..2e82a9e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.1
+version=4.2.2
 depends:
     account
     company
diff --git a/trytond_account_dunning.egg-info/PKG-INFO b/trytond_account_dunning.egg-info/PKG-INFO
index 79b238b..8b9964b 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: 4.2.1
+Version: 4.2.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 ee7ecf8..a8ed034 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
@@ -68,7 +75,9 @@ locale/pt_BR.po
 locale/ru.po
 locale/sl.po
 locale/zh_CN.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