i added this field in res.partner:
class ResPartner(models.Model):
_inherit = 'res.partner'
is_foreign=fields.Boolean()
and i added this group :
\<record\ id="group_show_foreign_contacts"\ model="res\.groups"\>
\<field\ name="name"\>Show\ Foreign\ Contacts\</field\>
\<field\ name="implied_ids"\ eval="\[\(4,\ ref\('base\.group_user'\)\)\]"/\>
\</record\>
i need to show the partners which have is_foreign equal True only for users which have this group in odoo16