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}
|
||||
environment:
|
||||
- CFLAGS=-O0
|
||||
- TOX_TESTENV_PASSENV=CFLAGS
|
||||
- DB_CACHE=/cache
|
||||
- TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
|
||||
- POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
|
||||
commands:
|
||||
- pip install tox
|
||||
|
|
|
@ -6,10 +6,12 @@ from .sale import SaleLine
|
|||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
SaleLine,
|
||||
module='stock_last_price', type_='model',
|
||||
depends=['sale'])
|
||||
Pool.register(
|
||||
Move,
|
||||
ShipmentIn,
|
||||
ShipmentOut,
|
||||
SaleLine,
|
||||
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
|
||||
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://}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=4.2.0
|
||||
version=4.8.0
|
||||
depends:
|
||||
ir
|
||||
res
|
||||
|
|
Loading…
Reference in a new issue