From 3704f4804e17c929f3fef2b20c89e8936021389b Mon Sep 17 00:00:00 2001 From: benjamin <benjamin@le-filament.com> Date: Tue, 9 May 2023 14:48:15 +0200 Subject: [PATCH] [fix] error new member amount --- wizard/scop_cotisation_aura_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/scop_cotisation_aura_wizard.py b/wizard/scop_cotisation_aura_wizard.py index caa9114..08d211f 100644 --- a/wizard/scop_cotisation_aura_wizard.py +++ b/wizard/scop_cotisation_aura_wizard.py @@ -102,7 +102,7 @@ class ScopCotisationWizard(models.TransientModel): job_batch=batch ).with_delay().create_contribution_aura( partner=member, - amount=amount_aura / int(self.nb_quarter_aura), + amount=amount_aura * int(self.nb_quarter_aura) / 4, nb_quarter_aura=self.nb_quarter_aura, liasse=liasse, date=False, -- GitLab