Drop Obligation Pacts section from Company custom fields

The E-Taxes Obligation Pact doctype is being removed; the in-form
list section + HTML field that hosted it on Company are no longer
needed. Cleanup of leftover Custom Field rows on existing sites is
handled by jey_wizard's v0_1_27 patch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali 2026-05-15 16:07:09 +00:00
parent e81f4bc8e8
commit 4f0c26208b
1 changed files with 1 additions and 14 deletions

View File

@ -1769,24 +1769,11 @@ def create_custom_fields():
options='<div id="bank-accounts-list-container" class="etaxes-ref-list">Loading...</div>',
insert_after='bank_accounts_list_section',
),
dict(
fieldname='obligation_pacts_list_section',
label='Obligation Pacts',
fieldtype='Section Break',
insert_after='bank_accounts_list_html',
collapsible=1,
),
dict(
fieldname='obligation_pacts_list_html',
fieldtype='HTML',
options='<div id="obligation-pacts-list-container" class="etaxes-ref-list">Loading...</div>',
insert_after='obligation_pacts_list_section',
),
dict(
fieldname='presented_certificates_list_section',
label='Presented Certificates',
fieldtype='Section Break',
insert_after='obligation_pacts_list_html',
insert_after='bank_accounts_list_html',
collapsible=1,
),
dict(