[fix] [minor] fixes in test cases for is_pos
diff --git a/accounts/doctype/sales_invoice/test_sales_invoice.py b/accounts/doctype/sales_invoice/test_sales_invoice.py
index 5976ce4..5e13af6 100644
--- a/accounts/doctype/sales_invoice/test_sales_invoice.py
+++ b/accounts/doctype/sales_invoice/test_sales_invoice.py
@@ -257,7 +257,9 @@
self.assertEquals(w.doc.outstanding_amount, w.doc.grand_total)
def test_payment(self):
+ webnotes.conn.sql("""delete from `tabGL Entry`""")
w = self.make()
+
from accounts.doctype.journal_voucher.test_journal_voucher \
import test_records as jv_test_records
@@ -706,6 +708,7 @@
{
"naming_series": "_T-Sales Invoice-",
"company": "_Test Company",
+ "is_pos": 0,
"conversion_rate": 1.0,
"currency": "INR",
"debit_to": "_Test Customer - _TC",
@@ -769,6 +772,7 @@
{
"naming_series": "_T-Sales Invoice-",
"company": "_Test Company",
+ "is_pos": 0,
"conversion_rate": 1.0,
"currency": "INR",
"debit_to": "_Test Customer - _TC",
@@ -822,6 +826,7 @@
{
"naming_series": "_T-Sales Invoice-",
"company": "_Test Company",
+ "is_pos": 0,
"conversion_rate": 1.0,
"currency": "INR",
"debit_to": "_Test Customer - _TC",
@@ -947,6 +952,7 @@
{
"naming_series": "_T-Sales Invoice-",
"company": "_Test Company",
+ "is_pos": 0,
"conversion_rate": 1.0,
"currency": "INR",
"debit_to": "_Test Customer - _TC",