Migrate to py3
This commit is contained in:
parent
2263e63b96
commit
8704dc1318
|
@ -1,10 +1,10 @@
|
||||||
# The COPYRIGHT file at the top level of this repository contains the full
|
# The COPYRIGHT file at the top level of this repository contains the full
|
||||||
# copyright notices and license terms.
|
# copyright notices and license terms.
|
||||||
from trytond.pool import Pool
|
from trytond.pool import Pool
|
||||||
from .product import *
|
from . import product
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
Pool.register(
|
Pool.register(
|
||||||
Template,
|
product.Template,
|
||||||
Product,
|
product.Product,
|
||||||
module='product_qty', type_='model')
|
module='product_qty', type_='model')
|
||||||
|
|
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
|
|
||||||
|
|
||||||
MODULE = 'product_qty'
|
MODULE = 'product_qty'
|
||||||
PREFIX = 'trytonzz'
|
PREFIX = 'trytonzz'
|
||||||
|
|
Loading…
Reference in New Issue