changeset 13412529d353 in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset&node=13412529d353
description:
        Remove unused get_party_required method on general ledger line

        issue5480 changed the field from Function to Boolean without removing 
the
        getter method.
diffstat:

 account.py |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (13 lines):

diff -r f9a6bfe75660 -r 13412529d353 account.py
--- a/account.py        Wed Mar 31 16:02:44 2021 +0200
+++ b/account.py        Fri Apr 02 12:38:19 2021 +0200
@@ -2067,9 +2067,6 @@
             ).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
 

Reply via email to