feat: round off for opening entries

(cherry picked from commit a5b228549c)
This commit is contained in:
ruthra kumar
2024-08-02 11:35:15 +05:30
committed by Mergify
parent 825571ac98
commit 8e6249d361
2 changed files with 9 additions and 1 deletions

View File

@@ -49,6 +49,7 @@
"default_cash_account", "default_cash_account",
"default_receivable_account", "default_receivable_account",
"round_off_account", "round_off_account",
"round_off_for_opening",
"round_off_cost_center", "round_off_cost_center",
"write_off_account", "write_off_account",
"exchange_gain_loss_account", "exchange_gain_loss_account",
@@ -801,6 +802,12 @@
"fieldtype": "Link", "fieldtype": "Link",
"label": "Default Operating Cost Account", "label": "Default Operating Cost Account",
"options": "Account" "options": "Account"
},
{
"fieldname": "round_off_for_opening",
"fieldtype": "Link",
"label": "Round Off for Opening",
"options": "Account"
} }
], ],
"icon": "fa fa-building", "icon": "fa fa-building",
@@ -808,7 +815,7 @@
"image_field": "company_logo", "image_field": "company_logo",
"is_tree": 1, "is_tree": 1,
"links": [], "links": [],
"modified": "2024-07-24 18:17:56.413971", "modified": "2024-08-02 11:34:46.785377",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Setup", "module": "Setup",
"name": "Company", "name": "Company",

View File

@@ -91,6 +91,7 @@ class Company(NestedSet):
rgt: DF.Int rgt: DF.Int
round_off_account: DF.Link | None round_off_account: DF.Link | None
round_off_cost_center: DF.Link | None round_off_cost_center: DF.Link | None
round_off_for_opening: DF.Link | None
sales_monthly_history: DF.SmallText | None sales_monthly_history: DF.SmallText | None
series_for_depreciation_entry: DF.Data | None series_for_depreciation_entry: DF.Data | None
stock_adjustment_account: DF.Link | None stock_adjustment_account: DF.Link | None