Skip to Content
Menu
This question has been flagged
3 Replies
5887 Views

You cannot archive a contact linked to an internal user

What does it mean "linked"? As far as I can see the customer contact I created is not linked to anyone. I even mnaged to delete all order history and even all fields.

Avatar
Discard
Best Answer

In v12, there is a condition like

if partner.active and partner.user_ids:
    raise ValidationError(_('You cannot archive a contact linked to an internal user.'))

It means there is a user which is linked with one of the partner and you are trying to archive it.

You can check that partner/customer in "Related Partner" under the user form view.

Hope this will help you.

Avatar
Discard
Author Best Answer

What is a related partner? Where can I see what the related partner to a customer is?

Avatar
Discard
Best Answer

Before archiving User, you should make inactive the related partner of that user. Goto Contacts -> select the related partner of User -> Archive, Then do same for the User.

Avatar
Discard