When I create a company, one partner is also created
How can I detect which partner is created by company?
I tried printing self._context in res.partner's create function but there is nothing to indicate this partner was created from the company.
Or how to send context value to res.partner when I create company?
I am using Odoo version 15.
Thanks!