[tryton-debian-vcs] tryton-modules-company branch debian-stretch-4.4 created. debian/4.4.2-1

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


The following commit has been merged in the debian-stretch-4.4 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-company.git;a=commitdiff;h=debian/4.4.2-1
commit 74afb913db12fcc117c008af8bf3097e2489d734
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 14:04:57 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index ac6be39..16086fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-company (4.4.2-1) unstable; urgency=medium
+
+  * Bump the Standards-Version to 4.1.1, no changes needed.
+  * Setting the branch in the watch file to the fixed version 4.4.
+  * Merging upstream version 4.4.2.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 11 Nov 2017 14:04:57 +0100
+
 tryton-modules-company (4.4.1-1) unstable; urgency=medium
 
   * Bump the Standards-Version to 4.1.0, no changes needed.
commit fa39bdf8ddecf8695ec983a2b6485d3f8e91a1f6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 14:04:56 2017 +0100

    Merging upstream version 4.4.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 3176b18..ed786c8 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 b243905..597739c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_company
-Version: 4.4.1
+Version: 4.4.2
 Summary: Tryton module with companies and employees
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/company.py b/company.py
index b89e593..20d4b84 100644
--- a/company.py
+++ b/company.py
@@ -53,7 +53,7 @@ class Company(ModelSQL, ModelView):
 
     @classmethod
     def search_rec_name(cls, name, clause):
-        return [('party',) + tuple(clause[1:])]
+        return [('party.rec_name',) + tuple(clause[1:])]
 
     @classmethod
     def write(cls, companies, values, *args):
@@ -95,7 +95,8 @@ class Employee(ModelSQL, ModelView):
 
     @classmethod
     def search_rec_name(cls, name, clause):
-        return [('party',) + tuple(clause[1:])]
+        return [('party.rec_name',) + tuple(clause[1:])]
+
 
 class UserEmployee(ModelSQL):
     'User - Employee'
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 c7ad4a5..94058df 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.1
+version=4.4.2
 depends:
     currency
     ir
diff --git a/trytond_company.egg-info/PKG-INFO b/trytond_company.egg-info/PKG-INFO
index fe3fcf8..84724d8 100644
--- a/trytond_company.egg-info/PKG-INFO
+++ b/trytond_company.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-company
-Version: 4.4.1
+Version: 4.4.2
 Summary: Tryton module with companies and employees
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_company.egg-info/SOURCES.txt b/trytond_company.egg-info/SOURCES.txt
index d37007e..7c74971 100644
--- a/trytond_company.egg-info/SOURCES.txt
+++ b/trytond_company.egg-info/SOURCES.txt
@@ -1,13 +1,21 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+company.py
 company.xml
+cron.py
 cron.xml
 letter.odt
+model.py
+party.py
 setup.py
+tox.ini
 tryton.cfg
 ./__init__.py
 ./company.py
@@ -69,6 +77,9 @@ locale/pt_BR.po
 locale/ru.po
 locale/sl.po
 locale/zh_CN.po
+tests/__init__.py
+tests/test_company.py
+tests/tools.py
 trytond_company.egg-info/PKG-INFO
 trytond_company.egg-info/SOURCES.txt
 trytond_company.egg-info/dependency_links.txt
commit e9eb2d0dcbdf7408689c1abcf13e672559a1a3c0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon Nov 6 12:26:10 2017 +0100

    Setting the branch in the watch file to the fixed version 4.4.

diff --git a/debian/watch b/debian/watch
index fa96cd0..d9f12fd 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=3
-opts=pgpsigurlmangle=s/$/.asc/ http://downloads.tryton.org/current/ .*trytond_company-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
+opts=pgpsigurlmangle=s/$/.asc/ http://downloads.tryton.org/4.4/ .*trytond_company-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
-- 
tryton-modules-company



More information about the tryton-debian-vcs mailing list