Register classes in __init__

This commit is contained in:
Raimon Esteve 2018-08-31 08:51:52 +02:00
parent 25a30b1aaa
commit ff7d66435b
1 changed files with 3 additions and 3 deletions

View File

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