mirror of
https://github.com/NaN-tic/trytond-stock_move_warehouse.git
synced 2023-12-14 02:12:53 +01:00
update to 5.2
This commit is contained in:
parent
4edd4442ac
commit
0dc345a23a
3
move.py
3
move.py
|
@ -7,8 +7,7 @@ from trytond.model import fields
|
||||||
__all__ = ['Move']
|
__all__ = ['Move']
|
||||||
|
|
||||||
|
|
||||||
class Move:
|
class Move(metaclass=PoolMeta):
|
||||||
__metaclass__ = PoolMeta
|
|
||||||
__name__ = 'stock.move'
|
__name__ = 'stock.move'
|
||||||
warehouse = fields.Function(fields.Many2One('stock.location',
|
warehouse = fields.Function(fields.Many2One('stock.location',
|
||||||
'Warehouse'), 'get_warehouse')
|
'Warehouse'), 'get_warehouse')
|
||||||
|
|
10
tox.ini
10
tox.ini
|
@ -1,17 +1,15 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = {py27,py33,py34,py35}-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql}
|
envlist = {py35,py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = {envpython} setup.py test
|
commands = {envpython} setup.py test
|
||||||
deps =
|
deps =
|
||||||
{py27,py33,py34,py35}-postgresql: psycopg2 >= 2.5
|
{py35,py36,py37}-postgresql: psycopg2 >= 2.5
|
||||||
pypy-postgresql: psycopg2cffi >= 2.5
|
pypy3-postgresql: psycopg2cffi >= 2.5
|
||||||
mysql: MySQL-python
|
{py35,py36}-sqlite: sqlitebck
|
||||||
setenv =
|
setenv =
|
||||||
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
||||||
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
|
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
|
||||||
mysql: TRYTOND_DATABASE_URI={env:MYSQL_URI:mysql://}
|
|
||||||
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
||||||
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
|
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}
|
install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[tryton]
|
[tryton]
|
||||||
version=4.8.0
|
version=5.2.0
|
||||||
depends:
|
depends:
|
||||||
ir
|
ir
|
||||||
res
|
res
|
||||||
|
|
Loading…
Reference in a new issue