From 3e2f9d7c6633588bf17f6d36956edb97c7225f9f Mon Sep 17 00:00:00 2001 From: Ali <010109ali@gmail.com> Date: Wed, 20 May 2026 16:58:05 +0000 Subject: [PATCH] chore(custom-fields): remove dead 'Setting up VAT calculation hooks' print MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last line of create_custom_fields() was a print() with no code under it — a leftover heading for setup that was never written. It only produced a misleading line in the migrate log; VAT calculation is actually wired up by patch_sales_documents(), an unrelated function. Co-Authored-By: Claude Opus 4.7 (1M context) --- jey_erp/custom_fields.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jey_erp/custom_fields.py b/jey_erp/custom_fields.py index 54565a1..d524b20 100644 --- a/jey_erp/custom_fields.py +++ b/jey_erp/custom_fields.py @@ -2119,5 +2119,4 @@ def create_custom_fields(): frappe.clear_cache(doctype="Salary Slip") # Коммит всех изменений - frappe.db.commit() - print("Setting up VAT calculation hooks...") \ No newline at end of file + frappe.db.commit() \ No newline at end of file