mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 08:17:15 +00:00
fix: minor issues (#21203)
This commit is contained in:
@@ -97,7 +97,7 @@ def build_forest(data):
|
||||
return [parent_account]
|
||||
elif account_name == child:
|
||||
parent_account_list = return_parent(data, parent_account)
|
||||
if not parent_account_list:
|
||||
if not parent_account_list and parent_account:
|
||||
frappe.throw(_("The parent account {0} does not exists")
|
||||
.format(parent_account))
|
||||
return [child] + parent_account_list
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"description": "This tool helps you to update or fix the quantity and valuation of stock in the system. It is typically used to synchronise the system values and what actually exists in your warehouses.",
|
||||
"doctype": "DocType",
|
||||
"document_type": "Document",
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"naming_series",
|
||||
"company",
|
||||
@@ -44,11 +45,11 @@
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"default": "Stock Reconciliation",
|
||||
"fieldname": "purpose",
|
||||
"fieldtype": "Select",
|
||||
"label": "Purpose",
|
||||
"options": "Opening Stock\nStock Reconciliation"
|
||||
"options": "\nOpening Stock\nStock Reconciliation",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "col1",
|
||||
@@ -153,7 +154,7 @@
|
||||
"idx": 1,
|
||||
"is_submittable": 1,
|
||||
"max_attachments": 1,
|
||||
"modified": "2019-05-26 09:03:09.542141",
|
||||
"modified": "2020-04-08 17:02:47.196206",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Stock",
|
||||
"name": "Stock Reconciliation",
|
||||
|
||||
Reference in New Issue
Block a user