[tryton-debian-vcs] tryton-modules-stock branch upstream-4.2 updated. upstream/4.2.4-1-ge399619

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


The following commit has been merged in the upstream-4.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=upstream/4.2.4-1-ge399619

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

    Adding upstream version 4.2.5.
    
    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 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