From 84900ab6377bc4d0296aa7549202a29ca94cffc1 Mon Sep 17 00:00:00 2001 From: "robin.keunen" Date: Wed, 22 Apr 2020 14:59:33 +0200 Subject: [PATCH] [REF] remove api.one --- easy_my_coop_eater/models/coop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easy_my_coop_eater/models/coop.py b/easy_my_coop_eater/models/coop.py index 7fe6886..e64989f 100644 --- a/easy_my_coop_eater/models/coop.py +++ b/easy_my_coop_eater/models/coop.py @@ -15,9 +15,9 @@ class SubscriptionRequest(models.Model): return vals - @api.one + @api.multi def validate_subscription_request(self): - + self.ensure_one() invoice = super( SubscriptionRequest, self ).validate_subscription_request()[0]