feat(company): add E-Taxes reference sections to Tax Policy tab
Adds six new collapsible sections at the very end of the Tax Policy tab on Company form, each with an HTML field for a reference-data table rendered by invoice_az/client/company.js: - E-Taxes Objects - Cash Registers - POS Terminals - Bank Accounts - Obligation Pacts - Presented Certificates Tax Closing Wizards moved to the bottom (insert_after changed from accounting_method to presented_certificates_list_html) so wizards sit under the new sections. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cf4d66c2d2
commit
5d1e2adee3
|
|
@ -1602,12 +1602,95 @@ def create_custom_fields():
|
||||||
description='Kassa metodu — gəlir və xərclər yalnız ödəniş zamanı tanınır. ƏDV öhdəliyi yalnız ödəniş alındıqda yaranır.\nHesablama metodu — gəlir və xərclər faktura zamanı tanınır.'
|
description='Kassa metodu — gəlir və xərclər yalnız ödəniş zamanı tanınır. ƏDV öhdəliyi yalnız ödəniş alındıqda yaranır.\nHesablama metodu — gəlir və xərclər faktura zamanı tanınır.'
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# === E-TAXES REFERENCE DATA (invoice_az) ===
|
||||||
|
# Anchored at the very end of the Tax Policy tab so these sections
|
||||||
|
# (and Tax Closing Wizards below them) appear after all other Tax
|
||||||
|
# Policy content instead of splitting tax_information_section.
|
||||||
|
dict(
|
||||||
|
fieldname='objects_list_section',
|
||||||
|
label='E-Taxes Objects',
|
||||||
|
fieldtype='Section Break',
|
||||||
|
insert_after='işsizlikdənsığortaüzrə',
|
||||||
|
collapsible=1,
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='objects_list_html',
|
||||||
|
fieldtype='HTML',
|
||||||
|
options='<div id="objects-list-container" class="etaxes-ref-list">Loading...</div>',
|
||||||
|
insert_after='objects_list_section',
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='cash_registers_list_section',
|
||||||
|
label='Cash Registers',
|
||||||
|
fieldtype='Section Break',
|
||||||
|
insert_after='objects_list_html',
|
||||||
|
collapsible=1,
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='cash_registers_list_html',
|
||||||
|
fieldtype='HTML',
|
||||||
|
options='<div id="cash-registers-list-container" class="etaxes-ref-list">Loading...</div>',
|
||||||
|
insert_after='cash_registers_list_section',
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='pos_terminals_list_section',
|
||||||
|
label='POS Terminals',
|
||||||
|
fieldtype='Section Break',
|
||||||
|
insert_after='cash_registers_list_html',
|
||||||
|
collapsible=1,
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='pos_terminals_list_html',
|
||||||
|
fieldtype='HTML',
|
||||||
|
options='<div id="pos-terminals-list-container" class="etaxes-ref-list">Loading...</div>',
|
||||||
|
insert_after='pos_terminals_list_section',
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='bank_accounts_list_section',
|
||||||
|
label='Bank Accounts',
|
||||||
|
fieldtype='Section Break',
|
||||||
|
insert_after='pos_terminals_list_html',
|
||||||
|
collapsible=1,
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='bank_accounts_list_html',
|
||||||
|
fieldtype='HTML',
|
||||||
|
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',
|
||||||
|
collapsible=1,
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
fieldname='presented_certificates_list_html',
|
||||||
|
fieldtype='HTML',
|
||||||
|
options='<div id="presented-certificates-list-container" class="etaxes-ref-list">Loading...</div>',
|
||||||
|
insert_after='presented_certificates_list_section',
|
||||||
|
),
|
||||||
|
|
||||||
# === TAX CLOSING WIZARDS ===
|
# === TAX CLOSING WIZARDS ===
|
||||||
dict(
|
dict(
|
||||||
fieldname='tax_wizards_section',
|
fieldname='tax_wizards_section',
|
||||||
label='Tax Closing Wizards',
|
label='Tax Closing Wizards',
|
||||||
fieldtype='Section Break',
|
fieldtype='Section Break',
|
||||||
insert_after='accounting_method'
|
insert_after='presented_certificates_list_html',
|
||||||
),
|
),
|
||||||
dict(
|
dict(
|
||||||
fieldname='tax_wizards_html',
|
fieldname='tax_wizards_html',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue