Migrate to py3

This commit is contained in:
Raimon Esteve 2018-09-15 18:14:45 +02:00
parent a2e3687039
commit 89054a9970
3 changed files with 5 additions and 9 deletions

View File

@ -2,9 +2,9 @@
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
from trytond.pool import Pool
from .shipment import *
from . import shipment
def register():
Pool.register(
ShipmentOutPacked,
shipment.ShipmentOutPacked,
module='stock_picking_kit', type_='wizard')

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

@ -1,13 +1,12 @@
#This file is part stock_picking_kit module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
from trytond.pool import Pool, PoolMeta
__all__ = [ 'ShipmentOutPacked']
class ShipmentOutPacked:
__metaclass__ = PoolMeta
class ShipmentOutPacked(metaclass=PoolMeta):
__name__ = 'stock.shipment.out.packed'
def transition_packed(self):