From 8df23a35612e1ee1c920efe34ee7783d523f317b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 2 Apr 2021 12:38:19 +0200 Subject: [PATCH] Remove unused get_party_required method on general ledger line issue5480 changed the field from Function to Boolean without removing the getter method. --- account.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/account.py b/account.py index 7eb394e3a6..8e02fad7ea 100644 --- a/account.py +++ b/account.py @@ -2067,9 +2067,6 @@ class GeneralLedgerLine(ModelSQL, ModelView): ).join(account, condition=line.account == account.id ).select(*columns, where=line_query) - def get_party_required(self, name): - return self.account.party_required - def get_currency(self, name): return self.company.currency.id