diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-03-06 10:59:32 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-03-06 10:59:32 +0100 |
| commit | afe013330295b5f069a0df8529d1f1f0d12f2b3f (patch) | |
| tree | e9e39304f0e797c0cd8b4314c173948e90181a90 /addons/portal/wizard | |
| parent | b5885f0cb02ba6853e17eb93009b1ebad2ff8d35 (diff) | |
| parent | 3e54704e669441e655b1fe19ee0fa0646cdbf8d5 (diff) | |
[MERGE] forward port branch saas-11.3 up to 3e54704e669
Diffstat (limited to 'addons/portal/wizard')
| -rw-r--r-- | addons/portal/wizard/portal_wizard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/portal/wizard/portal_wizard.py b/addons/portal/wizard/portal_wizard.py index ee5b82eecda..2f17441f451 100644 --- a/addons/portal/wizard/portal_wizard.py +++ b/addons/portal/wizard/portal_wizard.py @@ -35,7 +35,7 @@ class PortalWizard(models.TransientModel): contact_ids = set() user_changes = [] for partner in self.env['res.partner'].sudo().browse(partner_ids): - contact_partners = partner.child_ids or [partner] + contact_partners = partner.child_ids | partner for contact in contact_partners: # make sure that each contact appears at most once in the list if contact.id not in contact_ids: |
