Prevents the modification of the company type of res.partner:
- if partner is a public or a position profile
- if the partner has position profiles attached
Also synchronize the company type between main and public profiles.
Hides from the partner public form view the fields and data not
considered as relevant for public profile. The public profile aims to
protect the contact data, but not to replace the other ones which are
considered as "administrative" data.