diff --git a/wizard/scop_bordereau_update_liasse_wizard.py b/wizard/scop_bordereau_update_liasse_wizard.py index 6932df5cf5b77650f5863c5280b1cddd610112f1..5ef8c70f8c31420911fe6df976ea538355a0e224 100644 --- a/wizard/scop_bordereau_update_liasse_wizard.py +++ b/wizard/scop_bordereau_update_liasse_wizard.py @@ -160,9 +160,9 @@ class ScopBordereauChangeLiasse(models.TransientModel): cotiz_ur_idf = cotiz.filtered( lambda i: i.type_contribution_id.id == type_cotisation_ur ) - r.amount_ur_med = sum(cotiz_ur_idf.mapped("amount_total")) + r.amount_ur_idf = sum(cotiz_ur_idf.mapped("amount_total")) else: - r.amount_ur_med = 0 + r.amount_ur_idf = 0 # ------------------------------------------------------ # Onchange