mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
feat: Add Failed error logs
fix: set defaults
This commit is contained in:
@@ -28,14 +28,17 @@
|
|||||||
"vouchers",
|
"vouchers",
|
||||||
"accounts_section",
|
"accounts_section",
|
||||||
"default_warehouse",
|
"default_warehouse",
|
||||||
"round_off_account",
|
"default_round_off_account",
|
||||||
"column_break_21",
|
"column_break_21",
|
||||||
"default_cost_center",
|
"default_cost_center",
|
||||||
"day_book_section",
|
"day_book_section",
|
||||||
"day_book_data",
|
"day_book_data",
|
||||||
"column_break_27",
|
"column_break_27",
|
||||||
"is_day_book_data_processed",
|
"is_day_book_data_processed",
|
||||||
"is_day_book_data_imported"
|
"is_day_book_data_imported",
|
||||||
|
"import_log_section",
|
||||||
|
"failed_import_log",
|
||||||
|
"failed_import_preview"
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
@@ -57,6 +60,7 @@
|
|||||||
"fieldname": "tally_creditors_account",
|
"fieldname": "tally_creditors_account",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "Tally Creditors Account",
|
"label": "Tally Creditors Account",
|
||||||
|
"read_only_depends_on": "eval:doc.is_master_data_processed==1",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -69,6 +73,7 @@
|
|||||||
"fieldname": "tally_debtors_account",
|
"fieldname": "tally_debtors_account",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "Tally Debtors Account",
|
"label": "Tally Debtors Account",
|
||||||
|
"read_only_depends_on": "eval:doc.is_master_data_processed==1",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -92,7 +97,7 @@
|
|||||||
"fieldname": "erpnext_company",
|
"fieldname": "erpnext_company",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "ERPNext Company",
|
"label": "ERPNext Company",
|
||||||
"read_only_depends_on": "eval:doc.is_master_data_processed == 1"
|
"read_only_depends_on": "eval:doc.is_master_data_processed==1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "processed_files_section",
|
"fieldname": "processed_files_section",
|
||||||
@@ -136,6 +141,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "is_master_data_imported",
|
"depends_on": "is_master_data_imported",
|
||||||
|
"description": "The accounts are set by the system automatically but do confirm these defaults",
|
||||||
"fieldname": "accounts_section",
|
"fieldname": "accounts_section",
|
||||||
"fieldtype": "Section Break",
|
"fieldtype": "Section Break",
|
||||||
"label": "Accounts"
|
"label": "Accounts"
|
||||||
@@ -146,12 +152,6 @@
|
|||||||
"label": "Default Warehouse",
|
"label": "Default Warehouse",
|
||||||
"options": "Warehouse"
|
"options": "Warehouse"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"fieldname": "round_off_account",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"label": "Round Off Account",
|
|
||||||
"options": "Account"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"fieldname": "column_break_21",
|
"fieldname": "column_break_21",
|
||||||
"fieldtype": "Column Break"
|
"fieldtype": "Column Break"
|
||||||
@@ -212,11 +212,36 @@
|
|||||||
"fieldname": "default_uom",
|
"fieldname": "default_uom",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Default UOM",
|
"label": "Default UOM",
|
||||||
"options": "UOM"
|
"options": "UOM",
|
||||||
|
"read_only_depends_on": "eval:doc.is_master_data_imported==1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "[]",
|
||||||
|
"fieldname": "failed_import_log",
|
||||||
|
"fieldtype": "Code",
|
||||||
|
"hidden": 1,
|
||||||
|
"label": "Failed Import Log",
|
||||||
|
"options": "JSON"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "failed_import_preview",
|
||||||
|
"fieldtype": "HTML",
|
||||||
|
"label": "Failed Import Log"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "import_log_section",
|
||||||
|
"fieldtype": "Section Break",
|
||||||
|
"label": "Import Log"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "default_round_off_account",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Default Round Off Account",
|
||||||
|
"options": "Account"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2020-04-16 13:03:28.894919",
|
"modified": "2020-04-22 16:01:13.718842",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "ERPNext Integrations",
|
"module": "ERPNext Integrations",
|
||||||
"name": "Tally Migration",
|
"name": "Tally Migration",
|
||||||
|
|||||||
Reference in New Issue
Block a user