[tryton-debian-vcs] tryton-modules-stock branch upstream-4.4 created. upstream/4.4.4

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Nov 15 09:49:03 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-stock.git;a=commitdiff;h=upstream/4.4.4
commit 9e5b0d21b376c89e33a0d2fb351bad8b696505fe
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Nov 11 18:03:21 2017 +0100

    Adding upstream version 4.4.4.
    
    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 0b0dc67..cafb219 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.4 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.3 - 2017-10-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 7105358..90d7f21 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 4.4.3
+Version: 4.4.4
 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 19e2a04..f7a8c82 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 472b545..beff735 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.3
+version=4.4.4
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index c25e83b..1b599be 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.4.3
+Version: 4.4.4
 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 3e27da6..7a96dfd 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
@@ -132,12 +144,14 @@ 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/scenario_stock_shipment_out_same_storage_output.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