Remove old MODEL_IGNORE protection
This commit is contained in:
parent
387671e8ad
commit
79f6959ce8
|
@ -244,9 +244,9 @@ def lookup_model( muid, recurse = False ):
|
|||
|
||||
def lookup( model, domains, recurse = False ):
|
||||
eprint( "> Lookup many: %s %s" % (model,domains) )
|
||||
if model in MODEL_IGNORE:
|
||||
eprint( 'IGNORED' )
|
||||
return
|
||||
# if model in MODEL_IGNORE:
|
||||
# eprint( 'IGNORED' )
|
||||
# return
|
||||
Model = odoo.env[model]
|
||||
ids = Model.search( domains )
|
||||
# rfields = rel_fields( model )
|
||||
|
|
Loading…
Reference in New Issue