Browse Source

[IMP] p_p_select_all: tick in_portal checkbox

pull/715/head
robin.keunen 6 years ago
parent
commit
6af4c8bb4a
  1. 3
      portal_partner_select_all/wizard/portal_wizard.py

3
portal_partner_select_all/wizard/portal_wizard.py

@ -24,4 +24,5 @@ class PortalWizard(models.TransientModel):
)
else:
not_in_portal = self.user_ids.filtered(lambda x: not x.in_portal)
not_in_portal.write({'in_portal': True})
for user in not_in_portal:
user.in_portal = True
Loading…
Cancel
Save