WA Account: Restrict to Allowed Companies [('allowed_company_ids', 'in', company_ids)] WA Composer: Restrict to Own [('create_uid', '=', user.id)] WA Message: Restrict to Own [('create_uid', '=', user.id)] WA Message: Un-restrict for WA Admins [(1, '=', 1)] WA Preview: Restrict to Own [('create_uid', '=', user.id)] WA Template: Restrict to Allowed Companies ['|', ('wa_account_id', '=', False), ('wa_account_id.allowed_company_ids', 'in', company_ids)] WA Template: Restrict to Allowed Users ['|', ('allowed_user_ids', '=', False), ('allowed_user_ids', '=', user.id)] WA Template: Un-restrict for WA Admins [(1, '=', 1)] WA Template Button: Restrict to Allowed Companies ['|', ('wa_template_id.wa_account_id', '=', False), ('wa_template_id.wa_account_id.allowed_company_ids', 'in', company_ids)] WA Template Button: Restrict to Allowed Users ['|', ('wa_template_id.allowed_user_ids', '=', False), ('wa_template_id.allowed_user_ids', '=', user.id)] WA Template Button: Un-restrict for WA Admins [(1, '=', 1)] WA Template Variable: Restrict to Allowed Companies ['|', ('wa_template_id.wa_account_id', '=', False), ('wa_template_id.wa_account_id.allowed_company_ids', 'in', company_ids)] WA Template Variable: Restrict to Allowed Users ['|', ('wa_template_id.allowed_user_ids', '=', False), ('wa_template_id.allowed_user_ids', '=', user.id)] WA Template Variable: Un-restrict for WA Admins [(1, '=', 1)]