Add party parameter to get_parties of Reconcile wizard
issue9458
This commit is contained in:
1 parent
b482786b5c
commit
88c14402e6
1 file changed
+2
-2
+2
-2
@@ -47,7 +47,7 @@ class AccountType(AccountTypeMixin(), metaclass=PoolMeta):
|
||||
class Reconcile(metaclass=PoolMeta):
|
||||
__name__ = 'account.reconcile'
|
||||
|
||||
def get_parties(self, account, _balanced=False):
|
||||
def get_parties(self, account, _balanced=False, party=None):
|
||||
if account.type.deposit:
|
||||
_balanced = True
|
||||
return super().get_parties(account, _balanced=_balanced)
|
||||
return super().get_parties(account, _balanced=_balanced, party=party)
|
||||
Reference in new issue
Block a user