[tryton-debian-vcs] tryton-modules-analytic-account branch upstream-4.4 created. upstream/4.4.1
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 15 09:37:37 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-analytic-account.git;a=commitdiff;h=upstream/4.4.1
commit ad97f391351d7bc2204f09f401bc4f312384a84c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Nov 11 14:29:10 2017 +0100
Adding upstream version 4.4.1.
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 35fd9a7..28530f3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-11-08
+* Bug fixes (see mercurial logs for details)
+
Version 4.4.0 - 2017-05-01
* Bug fixes (see mercurial logs for details)
* Add rule engine
diff --git a/PKG-INFO b/PKG-INFO
index bdebceb..9bb11e1 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_analytic_account
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module for analytic accounting
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/line.py b/line.py
index 2d579df..3460323 100644
--- a/line.py
+++ b/line.py
@@ -97,7 +97,7 @@ class Line(ModelSQL, ModelView):
@classmethod
def search_company(cls, name, clause):
- return [('move_line.account.company',) + tuple(clause[1:])]
+ return [('move_line.account.' + clause[0],) + tuple(clause[1:])]
@fields.depends('move_line', '_parent_move_line.date',
'_parent_move_line.debit', '_parent_move_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..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 d095ee9..140623b 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.0
+version=4.4.1
depends:
account
company
diff --git a/trytond_analytic_account.egg-info/PKG-INFO b/trytond_analytic_account.egg-info/PKG-INFO
index 378924d..d0953f4 100644
--- a/trytond_analytic_account.egg-info/PKG-INFO
+++ b/trytond_analytic_account.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-analytic-account
-Version: 4.4.0
+Version: 4.4.1
Summary: Tryton module for analytic accounting
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_analytic_account.egg-info/SOURCES.txt b/trytond_analytic_account.egg-info/SOURCES.txt
index 9fff676..84f1992 100644
--- a/trytond_analytic_account.egg-info/SOURCES.txt
+++ b/trytond_analytic_account.egg-info/SOURCES.txt
@@ -1,14 +1,21 @@
+.drone.yml
+.hgtags
CHANGELOG
COPYRIGHT
INSTALL
LICENSE
MANIFEST.in
README
+__init__.py
+account.py
account.xml
analytic_account.xml
+line.py
line.xml
+rule.py
rule.xml
setup.py
+tox.ini
tryton.cfg
./__init__.py
./account.py
@@ -74,6 +81,9 @@ locale/pt_BR.po
locale/ru.po
locale/sl.po
locale/zh_CN.po
+tests/__init__.py
+tests/scenario_analytic_account.rst
+tests/test_analytic_account.py
trytond_analytic_account.egg-info/PKG-INFO
trytond_analytic_account.egg-info/SOURCES.txt
trytond_analytic_account.egg-info/dependency_links.txt
--
tryton-modules-analytic-account
More information about the tryton-debian-vcs
mailing list