From 2728104ce875fc4960d95c6ad7cbc4f826d12689 Mon Sep 17 00:00:00 2001 From: Juanjo Garcia Date: Fri, 12 May 2023 14:11:36 +0200 Subject: [PATCH] FIX typo. Task #158911 --- plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plot.py b/plot.py index 3f1945b..89d2a3b 100644 --- a/plot.py +++ b/plot.py @@ -97,7 +97,7 @@ class Plantation(ModelSQL, ModelView): def get_varieties(self, name): if not self.parcels: return [] - varieties = [y.variety.name for y in self.parcerls if y.variety] + varieties = [y.variety.name for y in self.parcels if y.variety] return ",".join(list(set(varieties))) def get_remaining_quantity(self, name):