Update to 4.8 [CI SKIP]

This commit is contained in:
Javier Uribe 2018-07-23 10:44:53 +02:00
parent ca3b0eedbe
commit 5db24d5b63
4 changed files with 8 additions and 4 deletions

View file

@ -7,7 +7,8 @@ pipeline:
image: ${IMAGE} image: ${IMAGE}
environment: environment:
- CFLAGS=-O0 - CFLAGS=-O0
- TOX_TESTENV_PASSENV=CFLAGS - DB_CACHE=/cache
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/ - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
commands: commands:
- pip install tox - pip install tox

View file

@ -6,10 +6,12 @@ from .sale import SaleLine
def register(): def register():
Pool.register(
SaleLine,
module='stock_last_price', type_='model',
depends=['sale'])
Pool.register( Pool.register(
Move, Move,
ShipmentIn, ShipmentIn,
ShipmentOut, ShipmentOut,
SaleLine,
module='stock_last_price', type_='model') module='stock_last_price', type_='model')

View file

@ -7,6 +7,7 @@ deps =
{py27,py34,py35,py36}-postgresql: psycopg2 >= 2.5 {py27,py34,py35,py36}-postgresql: psycopg2 >= 2.5
pypy-postgresql: psycopg2cffi >= 2.5 pypy-postgresql: psycopg2cffi >= 2.5
mysql: MySQL-python mysql: MySQL-python
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://}

View file

@ -1,5 +1,5 @@
[tryton] [tryton]
version=4.2.0 version=4.8.0
depends: depends:
ir ir
res res