跳至内容
菜单
此问题已终结
3 回复
5894 查看

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.

形象
丢弃
最佳答案

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.

形象
丢弃
编写者 最佳答案

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

形象
丢弃
最佳答案

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.

形象
丢弃