fix: linting issues

This commit is contained in:
Gursheen Anand 2023-09-21 17:41:59 +05:30
parent 23470bf52d
commit c88f6d1fa7

View File

@ -526,7 +526,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)