fix: minor changes
This commit is contained in:
parent
225c64a1ad
commit
ab673d9e4b
@ -46,7 +46,6 @@ class TestPOSInvoiceMergeLog(unittest.TestCase):
|
||||
self.assertFalse(pos_inv.consolidated_invoice == pos_inv3.consolidated_invoice)
|
||||
|
||||
finally:
|
||||
|
||||
frappe.set_user("Administrator")
|
||||
frappe.db.sql("delete from `tabPOS Profile`")
|
||||
frappe.db.sql("delete from `tabPOS Invoice`")
|
||||
@ -96,7 +95,6 @@ class TestPOSInvoiceMergeLog(unittest.TestCase):
|
||||
self.assertTrue(frappe.db.get_value("Sales Invoice", pos_inv_cn.consolidated_invoice, "is_return"))
|
||||
|
||||
finally:
|
||||
|
||||
frappe.set_user("Administrator")
|
||||
frappe.db.sql("delete from `tabPOS Profile`")
|
||||
frappe.db.sql("delete from `tabPOS Invoice`")
|
||||
|
@ -826,7 +826,7 @@ def get_regional_round_off_accounts(company, account_list):
|
||||
|
||||
gst_account_list = []
|
||||
for account in ['cgst_account', 'sgst_account', 'igst_account']:
|
||||
if account in gst_accounts.keys():
|
||||
if account in gst_accounts:
|
||||
gst_account_list += gst_accounts.get(account)
|
||||
|
||||
account_list.extend(gst_account_list)
|
||||
|
Loading…
x
Reference in New Issue
Block a user