mirror of
https://gitlab.com/datalifeit/trytond-stock_last_price
synced 2023-12-14 04:52:59 +01:00
Update to 4.8 [CI SKIP]
This commit is contained in:
parent
ca3b0eedbe
commit
5db24d5b63
4 changed files with 8 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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')
|
||||||
|
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -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://}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[tryton]
|
[tryton]
|
||||||
version=4.2.0
|
version=4.8.0
|
||||||
depends:
|
depends:
|
||||||
ir
|
ir
|
||||||
res
|
res
|
||||||
|
|
Loading…
Reference in a new issue