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:
1 parent
1ebe29a3b0
commit
8df23a3561
1 file changed
-3
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user