[tryton-debian-vcs] tryton-modules-stock branch upstream-4.0 updated. upstream/4.0.6-1-g79139e2
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.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=upstream/4.0.6-1-g79139e2
commit 79139e2f1ffa3857755adf8626b961b34ade6bf6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat Nov 11 18:00:07 2017 +0100
Adding upstream version 4.0.7.
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 d0446e0..9b947aa 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.7 - 2017-11-07
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.6 - 2017-08-08
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 24cc91f..8d6b4dc 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_stock
-Version: 4.0.6
+Version: 4.0.7
Summary: Tryton module for stock and inventory
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/move.py b/move.py
index 02e70f2..36d8d4f 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..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 dce77e3..19e8263 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.6
+version=4.0.7
depends:
company
currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index e16bdec..07186ea 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.0.6
+Version: 4.0.7
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 5ff133c..df3ace9 100644
--- a/trytond_stock.egg-info/SOURCES.txt
+++ b/trytond_stock.egg-info/SOURCES.txt
@@ -1,24 +1,35 @@
+.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.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,11 +143,13 @@ locale/pt_BR.po
locale/ru_RU.po
locale/sl_SI.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