Do not use asterisk in imports.
This commit is contained in:
parent
b1fa4ea64e
commit
5fb0920722
24
__init__.py
24
__init__.py
|
@ -1,20 +1,20 @@
|
||||||
# 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
|
||||||
from .production import *
|
from . import production
|
||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
Pool.register(
|
Pool.register(
|
||||||
Process,
|
production.Process,
|
||||||
Step,
|
production.Step,
|
||||||
BOMInput,
|
production.BOMInput,
|
||||||
BOMOutput,
|
production.BOMOutput,
|
||||||
Operation,
|
production.Operation,
|
||||||
Route,
|
production.Route,
|
||||||
BOM,
|
production.BOM,
|
||||||
Production,
|
production.Production,
|
||||||
ProductBom,
|
product.ProductBom,
|
||||||
StockMove,
|
production.StockMove,
|
||||||
module='production_process', type_='model')
|
module='production_process', type_='model')
|
||||||
|
|
Loading…
Reference in New Issue