Revert "fix: auto separate against accounts"

This reverts commit ff0343d2cc9e1818beaf4047b8232183858d09d6.
This commit is contained in:
Deepesh Garg 2024-01-14 11:13:34 +05:30
parent 591de1338b
commit 2249b7c793

View File

@ -968,7 +968,6 @@ class JournalEntry(AccountsController):
def build_gl_map(self):
gl_map = []
self.get_against_accounts()
for d in self.get("accounts"):
if d.debit or d.credit or (self.voucher_type == "Exchange Gain Or Loss"):
r = [d.user_remark, self.remark]
@ -1003,7 +1002,6 @@ class JournalEntry(AccountsController):
item=d,
)
)
return gl_map
def make_gl_entries(self, cancel=0, adv_adj=0):