[tryton-debian-vcs] tryton-modules-purchase-invoice-line-standalone branch upstream-4.0 updated. upstream/4.0.0-1-g8d1a8b6

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


The following commit has been merged in the upstream-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-purchase-invoice-line-standalone.git;a=commitdiff;h=upstream/4.0.0-1-g8d1a8b6

commit 8d1a8b6f56871ac9b333ba8d8cb02b08e0cf865d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 17:43:23 2017 +0100

    Adding upstream version 4.0.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 cb5a76e..004bbc8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.1 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.0 - 2016-05-02
 * Bug fixes (see mercurial logs for details)
 * Add Python3 support
diff --git a/COPYRIGHT b/COPYRIGHT
index fcc5eeb..5af5413 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2016 Cédric Krier.
+Copyright (C) 2008-2017 Cédric Krier.
 Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2016 B2CK SPRL.
+Copyright (C) 2008-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 f314973..d56b8a2 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_purchase_invoice_line_standalone
-Version: 4.0.0
+Version: 4.0.1
 Summary: Tryton module for standalone invoice line from purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/purchase.py b/purchase.py
index f5573fb..2755faf 100644
--- a/purchase.py
+++ b/purchase.py
@@ -41,7 +41,7 @@ class Purchase:
 
     @classmethod
     def search_invoice_lines(cls, name, clause):
-        return [('lines.invoice_lines',) + tuple(clause[1:])]
+        return [('lines.' + clause[0],) + tuple(clause[1:])]
 
     def create_invoice(self):
         pool = Pool()
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..3dda9ab
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[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
+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 7b669d7..9778050 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.0
+version=4.0.1
 depends:
     account_invoice_line_standalone
     ir
diff --git a/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO b/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO
index 7099b01..5b31f99 100644
--- a/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO
+++ b/trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-purchase-invoice-line-standalone
-Version: 4.0.0
+Version: 4.0.1
 Summary: Tryton module for standalone invoice line from purchase
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_purchase_invoice_line_standalone.egg-info/SOURCES.txt b/trytond_purchase_invoice_line_standalone.egg-info/SOURCES.txt
index 2db57dd..f8b127c 100644
--- a/trytond_purchase_invoice_line_standalone.egg-info/SOURCES.txt
+++ b/trytond_purchase_invoice_line_standalone.egg-info/SOURCES.txt
@@ -1,11 +1,17 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+invoice.py
+purchase.py
 purchase.xml
 setup.py
+tox.ini
 tryton.cfg
 ./__init__.py
 ./invoice.py
@@ -57,7 +63,9 @@ locale/pt_BR.po
 locale/ru_RU.po
 locale/sl_SI.po
 locale/zh_CN.po
+tests/__init__.py
 tests/scenario_purchase_invoice_line_standalone.rst
+tests/test_purchase_invoice_line_standalone.py
 trytond_purchase_invoice_line_standalone.egg-info/PKG-INFO
 trytond_purchase_invoice_line_standalone.egg-info/SOURCES.txt
 trytond_purchase_invoice_line_standalone.egg-info/dependency_links.txt
-- 
tryton-modules-purchase-invoice-line-standalone



More information about the tryton-debian-vcs mailing list