Fix Error message, add account_type to 'inventories' in Chart Of Acc.
This commit is contained in:
parent
a6a70a5f35
commit
fff1b42f80
@ -29,7 +29,8 @@
|
||||
"Deposit Account": {}
|
||||
},
|
||||
"Inventories": {
|
||||
"Inventories": {}
|
||||
"Inventories": {},
|
||||
"account_type": "Warehouse"
|
||||
},
|
||||
"Other Current Assets": {
|
||||
"Prepaid Insurance": {}
|
||||
|
@ -359,7 +359,7 @@ class BOM(Document):
|
||||
and docstatus = 1 and is_active = 1)""", self.name)
|
||||
|
||||
if act_pbom and act_pbom[0][0]:
|
||||
frappe.throw(_("Cannot deactive or cancle BOM as it is linked with other BOMs"))
|
||||
frappe.throw(_("Cannot deactivate or cancel BOM as it is linked with other BOMs"))
|
||||
|
||||
def get_bom_items_as_dict(bom, qty=1, fetch_exploded=1):
|
||||
item_dict = {}
|
||||
|
Loading…
Reference in New Issue
Block a user