fix: Test cases for accounting dimensions

This commit is contained in:
deepeshgarg007 2019-07-23 08:32:37 +05:30
parent 0ce2afc9bc
commit aa92df4ddc

View File

@ -27,14 +27,13 @@ class TestAccountingDimension(unittest.TestCase):
dimension1 = frappe.get_doc({
"doctype": "Accounting Dimension",
"document_type": "Location",
"mandatory_for_pl": 1
})
dimension1.append("dimension_defaults", {
"company": "_Test Company",
"reference_document": "Location",
"default_dimension": "Block 1",
"mandatory_for_pl": 1
"mandatory_for_bs": 1
})
dimension1.insert()