fix: linting issues

(cherry picked from commit c88f6d1fa7)
This commit is contained in:
Gursheen Anand
2023-09-21 17:41:59 +05:30
committed by ruthra kumar
parent 2d13dda49c
commit 6c8a65e03b

View File

@@ -533,7 +533,8 @@ class PurchaseInvoice(BuyingController):
if hasattr(self, "repost_required"):
fields_to_check = [
"cash_bank_account",
"write_off_account" "unrealized_profit_loss_account",
"write_off_account",
"unrealized_profit_loss_account",
]
child_tables = {"items": ("expense_account",), "taxes": ("account_head",)}
self.needs_repost = self.check_if_fields_updated(fields_to_check, child_tables)