Remove old MODEL_IGNORE protection

This commit is contained in:
DiG 2022-02-06 18:15:59 +01:00
parent 387671e8ad
commit 79f6959ce8
1 changed files with 3 additions and 3 deletions

View File

@ -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 )