From 1744f1d4e490076845f2dfe7a833adfad3672a33 Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Fri, 10 Mar 2023 15:49:53 +0530 Subject: [PATCH] refactor: add remarks to column as well --- erpnext/patches/v14_0/migrate_gl_to_payment_ledger.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erpnext/patches/v14_0/migrate_gl_to_payment_ledger.py b/erpnext/patches/v14_0/migrate_gl_to_payment_ledger.py index c641b6bfb9..72c8c074d2 100644 --- a/erpnext/patches/v14_0/migrate_gl_to_payment_ledger.py +++ b/erpnext/patches/v14_0/migrate_gl_to_payment_ledger.py @@ -61,6 +61,9 @@ def get_columns(): "finance_book", ] + if frappe.db.has_column("Payment Ledger Entry", "remarks"): + columns.append("remarks") + dimensions_and_defaults = get_dimensions() if dimensions_and_defaults: for dimension in dimensions_and_defaults[0]: