Skip to content

Commit

Permalink
feat: round off for opening entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Sep 3, 2024
1 parent 07339e2 commit a5b2285
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion erpnext/setup/doctype/company/company.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"default_cash_account",
"default_receivable_account",
"round_off_account",
"round_off_for_opening",
"round_off_cost_center",
"write_off_account",
"exchange_gain_loss_account",
Expand Down Expand Up @@ -785,14 +786,20 @@
"fieldtype": "Link",
"label": "Default Operating Cost Account",
"options": "Account"
},
{
"fieldname": "round_off_for_opening",
"fieldtype": "Link",
"label": "Round Off for Opening",
"options": "Account"
}
],
"icon": "fa fa-building",
"idx": 1,
"image_field": "company_logo",
"is_tree": 1,
"links": [],
"modified": "2024-07-24 18:17:56.413971",
"modified": "2024-08-02 11:34:46.785377",
"modified_by": "Administrator",
"module": "Setup",
"name": "Company",
Expand Down
1 change: 1 addition & 0 deletions erpnext/setup/doctype/company/company.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class Company(NestedSet):
rgt: DF.Int
round_off_account: DF.Link | None
round_off_cost_center: DF.Link | None
round_off_for_opening: DF.Link | None
sales_monthly_history: DF.SmallText | None
series_for_depreciation_entry: DF.Data | None
stock_adjustment_account: DF.Link | None
Expand Down

0 comments on commit a5b2285

Please sign in to comment.