fix: cost center in test_sales_invoice_against_supplier

This commit is contained in:
Saqib Ansari 2021-08-25 21:35:32 +05:30
parent c6c7a8b5cf
commit be7a38b662

View File

@ -2185,7 +2185,7 @@ class TestSalesInvoice(unittest.TestCase):
frappe.db.set_value('Accounts Settings', None, 'enable_common_party_accounting', 1) frappe.db.set_value('Accounts Settings', None, 'enable_common_party_accounting', 1)
# create a sales invoice # create a sales invoice
si = create_sales_invoice(customer=customer) si = create_sales_invoice(customer=customer, parent_cost_center="_Test Cost Center - _TC")
# check outstanding of sales invoice # check outstanding of sales invoice
si.reload() si.reload()