refactor(test): unset accounts frozen date
This commit is contained in:
parent
c322e5f381
commit
fc50b174eb
@ -52,10 +52,14 @@ class TestSalesInvoice(FrappeTestCase):
|
||||
create_items(["_Test Internal Transfer Item"], uoms=[{"uom": "Box", "conversion_factor": 10}])
|
||||
create_internal_parties()
|
||||
setup_accounts()
|
||||
self.remove_accounts_frozen_date()
|
||||
|
||||
def tearDown(self):
|
||||
frappe.db.rollback()
|
||||
|
||||
def remove_accounts_frozen_date(self):
|
||||
frappe.db.set_single_value("Accounts Settings", "acc_frozen_upto", None)
|
||||
|
||||
def make(self):
|
||||
w = frappe.copy_doc(test_records[0])
|
||||
w.is_pos = 0
|
||||
|
Loading…
Reference in New Issue
Block a user