diff --git a/spp_registrant_import/__init__.py b/spp_registrant_import/__init__.py index 6ba09643..274282de 100644 --- a/spp_registrant_import/__init__.py +++ b/spp_registrant_import/__init__.py @@ -6,9 +6,7 @@ def post_init_hook(cr, registry): env = api.Environment(cr, SUPERUSER_ID, {}) contact_model = env.ref("base.model_res_partner") - registrant_id_field = env.ref( - "spp_registrant_import.field_res_partner__spp_id" - ) + registrant_id_field = env.ref("spp_registrant_import.field_res_partner__spp_id") contact_import_match = env["spp.import.match"].search( [("model_id", "=", contact_model.id)] )