Migrate to py3
This commit is contained in:
parent
a2e3687039
commit
89054a9970
|
@ -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')
|
||||
|
|
5
setup.py
5
setup.py
|
@ -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 = {}
|
||||
|
||||
|
|
|
@ -6,8 +6,7 @@ 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):
|
||||
|
|
Loading…
Reference in New Issue