mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
feat: Accounts, Selling & Assets Onboarding cleanup (#27112)
* refactor: company form fields arrangement * refactor: accounts onboarding steps * refactor: re-arrange fields & modify labels in company form * feat: onbording steps for accounts module * fix: updated onboarding steps for selling module * fix: remove unwanted steps from accounts * feat: add more onboarding steps * feat: Refactor onboarding-module for accounting workspace * feat: Add basic asset onboarding steps * feat: Add basic asset item form tour * feat: Add basic selling onboarding-steps * feat: Add basic form tour for purchase recipt * feat: Add basic form tour for existing asset * feat: Adding asset category form tour * feat: Add form tour for asset category * feat: Refactor sales taxes and charges template form tour with new method * refactor: Remove old form tour for accounts settings * refactor: Change asset category form tour with new tour method * refactor: Change asset item form tour with new tour method * refactor: Change purchase receipt form tour with new tour method * refactor: Change asset form tour with new tour method * refactor: Remove old form tour for selling settings * refactor: general fix/typo in onboarding steps * Apply suggestions from code review Co-authored-by: Nabin Hait <nabinhait@gmail.com> * refactor: Remove old form tour method for sales order. * fix: removed duplicate section break * fix: Removed duplicate fields Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com> Co-authored-by: Anuja <anuja.pawar20@gmail.com> Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com> Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
125
erpnext/assets/form_tour/asset/asset.json
Normal file
125
erpnext/assets/form_tour/asset/asset.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"creation": "2021-08-24 16:55:10.923434",
|
||||
"docstatus": 0,
|
||||
"doctype": "Form Tour",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"modified": "2021-08-24 16:55:10.923434",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Assets",
|
||||
"name": "Asset",
|
||||
"owner": "Administrator",
|
||||
"reference_doctype": "Asset",
|
||||
"save_on_complete": 0,
|
||||
"steps": [
|
||||
{
|
||||
"description": "Select Naming Series based on which Asset ID will be generated",
|
||||
"field": "",
|
||||
"fieldname": "naming_series",
|
||||
"fieldtype": "Select",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Naming Series",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Naming Series"
|
||||
},
|
||||
{
|
||||
"description": "Select an Asset Item",
|
||||
"field": "",
|
||||
"fieldname": "item_code",
|
||||
"fieldtype": "Link",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Item Code",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Item Code"
|
||||
},
|
||||
{
|
||||
"description": "Select a Location",
|
||||
"field": "",
|
||||
"fieldname": "location",
|
||||
"fieldtype": "Link",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Location",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Location"
|
||||
},
|
||||
{
|
||||
"description": "Check Is Existing Asset",
|
||||
"field": "",
|
||||
"fieldname": "is_existing_asset",
|
||||
"fieldtype": "Check",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Is Existing Asset",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Is Existing Asset?"
|
||||
},
|
||||
{
|
||||
"description": "Set Available for use date",
|
||||
"field": "",
|
||||
"fieldname": "available_for_use_date",
|
||||
"fieldtype": "Date",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Available-for-use Date",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Available For Use Date"
|
||||
},
|
||||
{
|
||||
"description": "Set Gross purchase amount",
|
||||
"field": "",
|
||||
"fieldname": "gross_purchase_amount",
|
||||
"fieldtype": "Currency",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Gross Purchase Amount",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Gross Purchase Amount"
|
||||
},
|
||||
{
|
||||
"description": "Set Purchase Date",
|
||||
"field": "",
|
||||
"fieldname": "purchase_date",
|
||||
"fieldtype": "Date",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Purchase Date",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Purchase Date"
|
||||
},
|
||||
{
|
||||
"description": "Check Calculate Depreciation",
|
||||
"field": "",
|
||||
"fieldname": "calculate_depreciation",
|
||||
"fieldtype": "Check",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Calculate Depreciation",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Calculate Depreciation"
|
||||
},
|
||||
{
|
||||
"description": "Enter depreciation which has already been booked for this asset",
|
||||
"field": "",
|
||||
"fieldname": "opening_accumulated_depreciation",
|
||||
"fieldtype": "Currency",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Opening Accumulated Depreciation",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Accumulated Depreciation"
|
||||
}
|
||||
],
|
||||
"title": "Asset"
|
||||
}
|
||||
65
erpnext/assets/form_tour/asset_category/asset_category.json
Normal file
65
erpnext/assets/form_tour/asset_category/asset_category.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"creation": "2021-08-24 12:48:20.763173",
|
||||
"docstatus": 0,
|
||||
"doctype": "Form Tour",
|
||||
"idx": 0,
|
||||
"is_standard": 1,
|
||||
"modified": "2021-08-24 12:48:20.763173",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Assets",
|
||||
"name": "Asset Category",
|
||||
"owner": "Administrator",
|
||||
"reference_doctype": "Asset Category",
|
||||
"save_on_complete": 0,
|
||||
"steps": [
|
||||
{
|
||||
"description": "Name Asset category. You can create categories based on Asset Types like Furniture, Property, Electronics etc.",
|
||||
"field": "",
|
||||
"fieldname": "asset_category_name",
|
||||
"fieldtype": "Data",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Asset Category Name",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Asset Category Name"
|
||||
},
|
||||
{
|
||||
"description": "Check to enable Capital Work in Progress accounting",
|
||||
"field": "",
|
||||
"fieldname": "enable_cwip_accounting",
|
||||
"fieldtype": "Check",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Enable Capital Work in Progress Accounting",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Enable CWIP Accounting"
|
||||
},
|
||||
{
|
||||
"description": "Add a row to define Depreciation Method and other details. Note that you can leave Finance Book blank to have it's accounting done in the primary books of accounts.",
|
||||
"field": "",
|
||||
"fieldname": "finance_books",
|
||||
"fieldtype": "Table",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Finance Books",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Finance Book Detail"
|
||||
},
|
||||
{
|
||||
"description": "Select the Fixed Asset and Depreciation accounts applicable for this Asset Category type",
|
||||
"field": "",
|
||||
"fieldname": "accounts",
|
||||
"fieldtype": "Table",
|
||||
"has_next_condition": 0,
|
||||
"is_table_field": 0,
|
||||
"label": "Accounts",
|
||||
"parent_field": "",
|
||||
"position": "Bottom",
|
||||
"title": "Accounts"
|
||||
}
|
||||
],
|
||||
"title": "Asset Category"
|
||||
}
|
||||
@@ -13,26 +13,26 @@
|
||||
"documentation_url": "https://docs.erpnext.com/docs/user/manual/en/asset",
|
||||
"idx": 0,
|
||||
"is_complete": 0,
|
||||
"modified": "2020-07-08 14:05:51.828497",
|
||||
"modified": "2021-08-24 17:50:41.573281",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Assets",
|
||||
"name": "Assets",
|
||||
"owner": "Administrator",
|
||||
"steps": [
|
||||
{
|
||||
"step": "Introduction to Assets"
|
||||
"step": "Fixed Asset Accounts"
|
||||
},
|
||||
{
|
||||
"step": "Create a Fixed Asset Item"
|
||||
"step": "Asset Category"
|
||||
},
|
||||
{
|
||||
"step": "Create an Asset Category"
|
||||
"step": "Asset Item"
|
||||
},
|
||||
{
|
||||
"step": "Purchase an Asset Item"
|
||||
"step": "Asset Purchase"
|
||||
},
|
||||
{
|
||||
"step": "Create an Asset"
|
||||
"step": "Existing Asset"
|
||||
}
|
||||
],
|
||||
"subtitle": "Assets, Depreciations, Repairs, and more.",
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"action": "Show Form Tour",
|
||||
"action_label": "Let's review existing Asset Category",
|
||||
"creation": "2021-08-13 14:26:18.656303",
|
||||
"description": "# Asset Category\n\nAn Asset Category classifies different assets of a Company.\n\nYou can create an Asset Category based on the type of assets. For example, all your desktops and laptops can be part of an Asset Category named \"Electronic Equipments\". Create a separate category for furniture. Also, you can update default properties for each category, like:\n - Depreciation type and duration\n - Fixed asset account\n - Depreciation account\n",
|
||||
"docstatus": 0,
|
||||
"doctype": "Onboarding Step",
|
||||
"idx": 0,
|
||||
"is_complete": 0,
|
||||
"is_single": 0,
|
||||
"is_skipped": 0,
|
||||
"modified": "2021-08-24 12:49:37.665239",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Asset Category",
|
||||
"owner": "Administrator",
|
||||
"reference_document": "Asset Category",
|
||||
"show_form_tour": 0,
|
||||
"show_full_form": 0,
|
||||
"title": "Define Asset Category",
|
||||
"validate_action": 1
|
||||
}
|
||||
21
erpnext/assets/onboarding_step/asset_item/asset_item.json
Normal file
21
erpnext/assets/onboarding_step/asset_item/asset_item.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"action": "Show Form Tour",
|
||||
"action_label": "Let's create a new Asset item",
|
||||
"creation": "2021-08-13 14:27:07.277167",
|
||||
"description": "# Asset Item\n\nAsset items are created based on Asset Category. You can create one or multiple items against once Asset Category. The sales and purchase transaction for Asset is done via Asset Item. ",
|
||||
"docstatus": 0,
|
||||
"doctype": "Onboarding Step",
|
||||
"idx": 0,
|
||||
"is_complete": 0,
|
||||
"is_single": 0,
|
||||
"is_skipped": 0,
|
||||
"modified": "2021-08-16 13:59:18.362233",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Asset Item",
|
||||
"owner": "Administrator",
|
||||
"reference_document": "Item",
|
||||
"show_form_tour": 0,
|
||||
"show_full_form": 0,
|
||||
"title": "Create an Asset Item",
|
||||
"validate_action": 1
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"action": "Show Form Tour",
|
||||
"action_label": "Let's create a Purchase Receipt",
|
||||
"creation": "2021-08-13 14:27:53.678621",
|
||||
"description": "# Purchase an Asset\n\nAssets purchases process if done following the standard Purchase cycle. If capital work in progress is enabled in Asset Category, Asset will be created as soon as Purchase Receipt is created for it. You can quickly create a Purchase Receipt for Asset and see its impact on books of accounts.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Onboarding Step",
|
||||
"idx": 0,
|
||||
"is_complete": 0,
|
||||
"is_single": 0,
|
||||
"is_skipped": 0,
|
||||
"modified": "2021-08-24 17:26:57.180637",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Asset Purchase",
|
||||
"owner": "Administrator",
|
||||
"reference_document": "Purchase Receipt",
|
||||
"show_form_tour": 0,
|
||||
"show_full_form": 0,
|
||||
"title": "Purchase an Asset",
|
||||
"validate_action": 1
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"action": "Show Form Tour",
|
||||
"action_label": "Add an existing Asset",
|
||||
"creation": "2021-08-13 14:28:30.650459",
|
||||
"description": "# Add an Existing Asset\n\nIf you are just starting with ERPNext, you will need to enter Assets you already possess. You can add them as existing fixed assets in ERPNext. Please note that you will have to make a Journal Entry separately updating the opening balance in the fixed asset account.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Onboarding Step",
|
||||
"idx": 0,
|
||||
"is_complete": 0,
|
||||
"is_single": 0,
|
||||
"is_skipped": 0,
|
||||
"modified": "2021-08-16 14:03:48.850471",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Existing Asset",
|
||||
"owner": "Administrator",
|
||||
"reference_document": "Asset",
|
||||
"show_form_tour": 0,
|
||||
"show_full_form": 0,
|
||||
"title": "Add an Existing Asset",
|
||||
"validate_action": 1
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"action": "Go to Page",
|
||||
"action_label": "Let's walk-through Chart of Accounts to review setup",
|
||||
"creation": "2021-08-13 14:23:09.297765",
|
||||
"description": "# Fixed Asset Accounts\n\nWith the company, a host of fixed asset accounts are pre-configured. To ensure your asset transactions are leading to correct accounting entries, you can review and set up following asset accounts as per your business requirements.\n - Fixed asset accounts (Asset account)\n - Accumulated depreciation\n - Capital Work in progress (CWIP) account\n - Asset Depreciation account (Expense account)",
|
||||
"docstatus": 0,
|
||||
"doctype": "Onboarding Step",
|
||||
"idx": 0,
|
||||
"is_complete": 0,
|
||||
"is_single": 0,
|
||||
"is_skipped": 0,
|
||||
"modified": "2021-08-24 17:46:37.646174",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Fixed Asset Accounts",
|
||||
"owner": "Administrator",
|
||||
"path": "app/account/view/tree",
|
||||
"show_form_tour": 0,
|
||||
"show_full_form": 0,
|
||||
"title": "Review Fixed Asset Accounts",
|
||||
"validate_action": 1
|
||||
}
|
||||
Reference in New Issue
Block a user