Migrate to 4.8
This commit is contained in:
parent
002eb0fcd7
commit
2db06ce2d4
|
@ -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
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
from trytond.pool import Pool
|
||||
from .sale import *
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
SaleLine,
|
||||
|
|
4
sale.py
4
sale.py
|
@ -1,5 +1,5 @@
|
|||
#The COPYRIGHT file at the top level of this repository contains the full
|
||||
#copyright notices and license terms.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from trytond.pool import PoolMeta
|
||||
from trytond.model import fields
|
||||
from trytond.pyson import Eval
|
||||
|
|
3
sale.xml
3
sale.xml
|
@ -1,3 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- The COPYRIGHT file at the top level of this repository contains the full
|
||||
copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="sale_line_view_form">
|
||||
|
|
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=3.9.0
|
||||
version=4.8.0
|
||||
depends:
|
||||
sale
|
||||
stock_lot
|
||||
|
|
Loading…
Reference in New Issue