Upgrade to 4.9

This commit is contained in:
Raimon Esteve 2018-10-19 07:44:41 +02:00
parent ce1aee44e4
commit 489e933799
4 changed files with 5 additions and 10 deletions

View File

@ -2,11 +2,10 @@
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import Pool
from .stock import *
from . import stock
def register():
Pool.register(
Lot,
stock.Lot,
module='stock_lot_date', type_='model')

View File

@ -7,10 +7,7 @@ from setuptools import setup
import re
import os
import io
try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
from configparser import ConfigParser
MODULE2PREFIX = {}

View File

@ -7,8 +7,7 @@ from trytond.pool import Pool, PoolMeta
__all__ = ['Lot']
class Lot:
__metaclass__ = PoolMeta
class Lot(metaclass=PoolMeta):
__name__ = 'stock.lot'
lot_date = fields.Date('Date Lot', required=True)

View File

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