[tryton-debian-vcs] tryton-modules-stock branch debian-stretch-4.2 updated. debian/4.2.4-1-2-geabf802

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Nov 12 16:35:52 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-stock.git;a=commitdiff;h=debian/4.2.4-1-2-geabf802

commit eabf802392785511086af3d9aa5e014dee51aa62
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 18:01:46 2017 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 3e391d3..f511a79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-stock (4.2.5-1) unstable; urgency=medium
+
+  * Merging upstream version 4.2.5.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 11 Nov 2017 18:01:46 +0100
+
 tryton-modules-stock (4.2.4-1) unstable; urgency=medium
 
   * Use the preferred https URL format in the copyright file.
commit d88005b26e028603cbec013f9dc34e6c6bb40155
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 18:01:45 2017 +0100

    Merging upstream version 4.2.5.

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 dbf291c..c487779 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.5 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.2.4 - 2017-10-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 8a0b07e..1824e0f 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 4.2.4
+Version: 4.2.5
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/inventory.py b/inventory.py
index 17ca0a8..4fef065 100644
--- a/inventory.py
+++ b/inventory.py
@@ -358,7 +358,7 @@ class InventoryLine(ModelSQL, ModelView):
 
     @classmethod
     def search_rec_name(cls, name, clause):
-        return [('product',) + tuple(clause[1:])]
+        return [('product.rec_name',) + tuple(clause[1:])]
 
     def get_uom(self, name):
         return self.product.default_uom.id
diff --git a/move.py b/move.py
index 0c7fa94..c9d92d6 100644
--- a/move.py
+++ b/move.py
@@ -527,7 +527,7 @@ class Move(Workflow, ModelSQL, ModelView):
 
     @classmethod
     def search_rec_name(cls, name, clause):
-        return [('product',) + tuple(clause[1:])]
+        return [('product.rec_name',) + tuple(clause[1:])]
 
     def _update_product_cost_price(self, direction):
         """
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 196d020..0a9713a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.2.4
+version=4.2.5
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index 79592fb..e945803 100644
--- a/trytond_stock.egg-info/PKG-INFO
+++ b/trytond_stock.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-stock
-Version: 4.2.4
+Version: 4.2.5
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_stock.egg-info/SOURCES.txt b/trytond_stock.egg-info/SOURCES.txt
index a2710e7..4150969 100644
--- a/trytond_stock.egg-info/SOURCES.txt
+++ b/trytond_stock.egg-info/SOURCES.txt
@@ -1,24 +1,36 @@
+.drone.yml
+.hgtags
 CHANGELOG
 COPYRIGHT
 INSTALL
 LICENSE
 MANIFEST.in
 README
+__init__.py
+configuration.py
 configuration.xml
 customer_return_restocking_list.odt
 delivery_note.odt
 internal_shipment.odt
+inventory.py
 inventory.xml
+location.py
 location.xml
+move.py
 move.xml
+party.py
 party.xml
+period.py
 period.xml
 picking_list.odt
+product.py
 product.xml
 setup.py
+shipment.py
 shipment.xml
 stock.xml
 supplier_restocking_list.odt
+tox.ini
 tryton.cfg
 ./__init__.py
 ./configuration.py
@@ -131,11 +143,13 @@ locale/pt_BR.po
 locale/ru.po
 locale/sl.po
 locale/zh_CN.po
+tests/__init__.py
 tests/scenario_stock_average_cost_price.rst
 tests/scenario_stock_inventory.rst
 tests/scenario_stock_reporting.rst
 tests/scenario_stock_shipment_internal.rst
 tests/scenario_stock_shipment_out.rst
+tests/test_stock.py
 trytond_stock.egg-info/PKG-INFO
 trytond_stock.egg-info/SOURCES.txt
 trytond_stock.egg-info/dependency_links.txt
-- 
tryton-modules-stock



More information about the tryton-debian-vcs mailing list