diff --git a/wizard/scop_cotisation_cg_wizard.py b/wizard/scop_cotisation_cg_wizard.py index 6d95f817006e42734621f7ecaea64a64b7538949..bef19b43687a4e8f58f35279ac9ae9781a11efbb 100644 --- a/wizard/scop_cotisation_cg_wizard.py +++ b/wizard/scop_cotisation_cg_wizard.py @@ -51,6 +51,7 @@ class ScopCotisationWizard(models.TransientModel): res = {'domain': { 'partner_ids': [ ('is_company', '=', True), + ('type', '!=', 'facility'), ('id', 'not in', invoiced_members.mapped('id'))] }} return res