Do not use asterisk in imports.
This commit is contained in:
parent
2144dc55cd
commit
d49a162b26
10
__init__.py
10
__init__.py
|
@ -1,15 +1,15 @@
|
|||
#The COPYRIGHT file at the top level of this repository contains the full
|
||||
#copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
from .purchase import *
|
||||
from . import purchase
|
||||
|
||||
|
||||
def register():
|
||||
Pool.register(
|
||||
ProductSupplier,
|
||||
PurchaseRequest,
|
||||
PurchaseLine,
|
||||
purchase.ProductSupplier,
|
||||
purchase.PurchaseRequest,
|
||||
purchase.PurchaseLine,
|
||||
module='stock_supply_minimum', type_='model')
|
||||
Pool.register(
|
||||
CreatePurchase,
|
||||
purchase.CreatePurchase,
|
||||
module='stock_supply_minimum', type_='wizard')
|
||||
|
|
Loading…
Reference in New Issue