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
|
||||
# copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
from .product import *
|
||||
from .production import *
|
||||
from . import product
|
||||
from . import production
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
Process,
|
||||
Step,
|
||||
BOMInput,
|
||||
BOMOutput,
|
||||
Operation,
|
||||
Route,
|
||||
BOM,
|
||||
Production,
|
||||
ProductBom,
|
||||
StockMove,
|
||||
production.Process,
|
||||
production.Step,
|
||||
production.BOMInput,
|
||||
production.BOMOutput,
|
||||
production.Operation,
|
||||
production.Route,
|
||||
production.BOM,
|
||||
production.Production,
|
||||
product.ProductBom,
|
||||
production.StockMove,
|
||||
module='production_process', type_='model')
|
||||
|
|
Loading…
Reference in New Issue