[tryton-debian-vcs] tryton-modules-account-dunning branch upstream-4.4 created. upstream/4.4.2

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Nov 15 09:34:47 UTC 2017


The following commit has been merged in the upstream-4.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-dunning.git;a=commitdiff;h=upstream/4.4.2
commit 8dab12889b15139301455390fa3c5e89e0be0724
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 13:23:57 2017 +0100

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

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 29eee96..e89fd6f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.2 - 2017-11-08
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.1 - 2017-09-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 413f44f..5a1765f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_account_dunning
-Version: 4.4.1
+Version: 4.4.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 c56ad90..68b523b 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.1
+version=4.4.2
 depends:
     account
     company
diff --git a/trytond_account_dunning.egg-info/PKG-INFO b/trytond_account_dunning.egg-info/PKG-INFO
index 6c4fe43..a798566 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.4.1
+Version: 4.4.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