Remove unused get_party_required method on general ledger line

issue5480 changed the field from Function to Boolean without removing the
getter method.
This commit is contained in:
Cédric Krier committed 2021-04-02 12:38:19 +02:00
1 parent 1ebe29a3b0
commit 8df23a3561
1 file changed
-3
-3
View File
@@ -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