From f26daa7dbaefff731d77867926d8d5347f3f4b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 19 Sep 2018 00:15:58 +0200 Subject: [PATCH] Replace self by cls in classmethod issue7630 review74341002 --- currency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/currency.py b/currency.py index 4dc21c24f7..264dcbe702 100644 --- a/currency.py +++ b/currency.py @@ -244,7 +244,7 @@ class Rate(ModelSQL, ModelView): return Date.today() @classmethod - def check_xml_record(self, records, values): + def check_xml_record(cls, records, values): return True def get_rec_name(self, name):