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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký