mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 05:58:27 +00:00
refactor: remove accounts freezing settings from accounts settings
This commit is contained in:
@@ -75,10 +75,8 @@
|
|||||||
"book_asset_depreciation_entry_automatically",
|
"book_asset_depreciation_entry_automatically",
|
||||||
"closing_settings_tab",
|
"closing_settings_tab",
|
||||||
"period_closing_settings_section",
|
"period_closing_settings_section",
|
||||||
"acc_frozen_upto",
|
|
||||||
"ignore_account_closing_balance",
|
"ignore_account_closing_balance",
|
||||||
"column_break_25",
|
"column_break_25",
|
||||||
"frozen_accounts_modifier",
|
|
||||||
"tab_break_dpet",
|
"tab_break_dpet",
|
||||||
"show_balance_in_coa",
|
"show_balance_in_coa",
|
||||||
"banking_tab",
|
"banking_tab",
|
||||||
@@ -101,21 +99,6 @@
|
|||||||
"use_legacy_budget_controller"
|
"use_legacy_budget_controller"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
|
||||||
"description": "Accounting entries are frozen up to this date. Nobody can create or modify entries except users with the role specified below",
|
|
||||||
"fieldname": "acc_frozen_upto",
|
|
||||||
"fieldtype": "Date",
|
|
||||||
"in_list_view": 1,
|
|
||||||
"label": "Accounts Frozen Till Date"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Users with this role are allowed to set frozen accounts and create / modify accounting entries against frozen accounts",
|
|
||||||
"fieldname": "frozen_accounts_modifier",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"in_list_view": 1,
|
|
||||||
"label": "Role Allowed to Set Frozen Accounts and Edit Frozen Entries",
|
|
||||||
"options": "Role"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"default": "Billing Address",
|
"default": "Billing Address",
|
||||||
"description": "Address used to determine Tax Category in transactions",
|
"description": "Address used to determine Tax Category in transactions",
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ class AccountsSettings(Document):
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from frappe.types import DF
|
from frappe.types import DF
|
||||||
|
|
||||||
acc_frozen_upto: DF.Date | None
|
|
||||||
add_taxes_from_item_tax_template: DF.Check
|
add_taxes_from_item_tax_template: DF.Check
|
||||||
add_taxes_from_taxes_and_charges_template: DF.Check
|
add_taxes_from_taxes_and_charges_template: DF.Check
|
||||||
allow_multi_currency_invoices_against_single_party_account: DF.Check
|
allow_multi_currency_invoices_against_single_party_account: DF.Check
|
||||||
@@ -50,7 +49,6 @@ class AccountsSettings(Document):
|
|||||||
enable_party_matching: DF.Check
|
enable_party_matching: DF.Check
|
||||||
exchange_gain_loss_posting_date: DF.Literal["Invoice", "Payment", "Reconciliation Date"]
|
exchange_gain_loss_posting_date: DF.Literal["Invoice", "Payment", "Reconciliation Date"]
|
||||||
fetch_valuation_rate_for_internal_transaction: DF.Check
|
fetch_valuation_rate_for_internal_transaction: DF.Check
|
||||||
frozen_accounts_modifier: DF.Link | None
|
|
||||||
general_ledger_remarks_length: DF.Int
|
general_ledger_remarks_length: DF.Int
|
||||||
ignore_account_closing_balance: DF.Check
|
ignore_account_closing_balance: DF.Check
|
||||||
ignore_is_opening_check_for_reporting: DF.Check
|
ignore_is_opening_check_for_reporting: DF.Check
|
||||||
|
|||||||
Reference in New Issue
Block a user