From 70af8c60895430a29e9312ca5b4229918b9b33c3 Mon Sep 17 00:00:00 2001 From: houssine Date: Mon, 20 Apr 2020 13:08:16 +0200 Subject: [PATCH] [FIX] fix wrong function call --- easy_my_coop/models/operation_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_my_coop/models/operation_request.py b/easy_my_coop/models/operation_request.py index df86f00..b31dabe 100644 --- a/easy_my_coop/models/operation_request.py +++ b/easy_my_coop/models/operation_request.py @@ -297,7 +297,7 @@ class operation_request(models.Model): if self.partner_id_to.cooperator_register_number == 0: sub_reg_num = int(sequence_id.next_by_id()) partner_vals['cooperator_register_number'] = sub_reg_num - partner_vals.replace(sub_request.get_eater_vals( + partner_vals.update(sub_request.get_eater_vals( self.partner_id_to, self.share_product_id)) partner_vals['old_member'] = False