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 ):
|
def lookup( model, domains, recurse = False ):
|
||||||
eprint( "> Lookup many: %s %s" % (model,domains) )
|
eprint( "> Lookup many: %s %s" % (model,domains) )
|
||||||
if model in MODEL_IGNORE:
|
# if model in MODEL_IGNORE:
|
||||||
eprint( 'IGNORED' )
|
# eprint( 'IGNORED' )
|
||||||
return
|
# return
|
||||||
Model = odoo.env[model]
|
Model = odoo.env[model]
|
||||||
ids = Model.search( domains )
|
ids = Model.search( domains )
|
||||||
# rfields = rel_fields( model )
|
# rfields = rel_fields( model )
|
||||||
|
|
Loading…
Reference in New Issue