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 COPYRIGHT file at the top level of this repository contains
|
||||||
#the full copyright notices and license terms.
|
#the full copyright notices and license terms.
|
||||||
from trytond.pool import Pool
|
from trytond.pool import Pool
|
||||||
from .shipment import *
|
from . import shipment
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
Pool.register(
|
Pool.register(
|
||||||
ShipmentOutPacked,
|
shipment.ShipmentOutPacked,
|
||||||
module='stock_picking_kit', type_='wizard')
|
module='stock_picking_kit', type_='wizard')
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -7,10 +7,7 @@ from setuptools import setup
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
import io
|
import io
|
||||||
try:
|
from configparser import ConfigParser
|
||||||
from configparser import ConfigParser
|
|
||||||
except ImportError:
|
|
||||||
from ConfigParser import ConfigParser
|
|
||||||
|
|
||||||
MODULE2PREFIX = {}
|
MODULE2PREFIX = {}
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
#This file is part stock_picking_kit module for Tryton.
|
#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.
|
#the full copyright notices and license terms.
|
||||||
from trytond.pool import Pool, PoolMeta
|
from trytond.pool import Pool, PoolMeta
|
||||||
|
|
||||||
__all__ = [ 'ShipmentOutPacked']
|
__all__ = [ 'ShipmentOutPacked']
|
||||||
|
|
||||||
|
|
||||||
class ShipmentOutPacked:
|
class ShipmentOutPacked(metaclass=PoolMeta):
|
||||||
__metaclass__ = PoolMeta
|
|
||||||
__name__ = 'stock.shipment.out.packed'
|
__name__ = 'stock.shipment.out.packed'
|
||||||
|
|
||||||
def transition_packed(self):
|
def transition_packed(self):
|
||||||
|
|
Loading…
Reference in New Issue