[fix] [minor] fixes in test cases for is_pos
This commit is contained in:
parent
2cf1496a2d
commit
335cdeaf7d
@ -257,7 +257,9 @@ class TestSalesInvoice(unittest.TestCase):
|
|||||||
self.assertEquals(w.doc.outstanding_amount, w.doc.grand_total)
|
self.assertEquals(w.doc.outstanding_amount, w.doc.grand_total)
|
||||||
|
|
||||||
def test_payment(self):
|
def test_payment(self):
|
||||||
|
webnotes.conn.sql("""delete from `tabGL Entry`""")
|
||||||
w = self.make()
|
w = self.make()
|
||||||
|
|
||||||
from accounts.doctype.journal_voucher.test_journal_voucher \
|
from accounts.doctype.journal_voucher.test_journal_voucher \
|
||||||
import test_records as jv_test_records
|
import test_records as jv_test_records
|
||||||
|
|
||||||
@ -706,6 +708,7 @@ test_records = [
|
|||||||
{
|
{
|
||||||
"naming_series": "_T-Sales Invoice-",
|
"naming_series": "_T-Sales Invoice-",
|
||||||
"company": "_Test Company",
|
"company": "_Test Company",
|
||||||
|
"is_pos": 0,
|
||||||
"conversion_rate": 1.0,
|
"conversion_rate": 1.0,
|
||||||
"currency": "INR",
|
"currency": "INR",
|
||||||
"debit_to": "_Test Customer - _TC",
|
"debit_to": "_Test Customer - _TC",
|
||||||
@ -769,6 +772,7 @@ test_records = [
|
|||||||
{
|
{
|
||||||
"naming_series": "_T-Sales Invoice-",
|
"naming_series": "_T-Sales Invoice-",
|
||||||
"company": "_Test Company",
|
"company": "_Test Company",
|
||||||
|
"is_pos": 0,
|
||||||
"conversion_rate": 1.0,
|
"conversion_rate": 1.0,
|
||||||
"currency": "INR",
|
"currency": "INR",
|
||||||
"debit_to": "_Test Customer - _TC",
|
"debit_to": "_Test Customer - _TC",
|
||||||
@ -822,6 +826,7 @@ test_records = [
|
|||||||
{
|
{
|
||||||
"naming_series": "_T-Sales Invoice-",
|
"naming_series": "_T-Sales Invoice-",
|
||||||
"company": "_Test Company",
|
"company": "_Test Company",
|
||||||
|
"is_pos": 0,
|
||||||
"conversion_rate": 1.0,
|
"conversion_rate": 1.0,
|
||||||
"currency": "INR",
|
"currency": "INR",
|
||||||
"debit_to": "_Test Customer - _TC",
|
"debit_to": "_Test Customer - _TC",
|
||||||
@ -947,6 +952,7 @@ test_records = [
|
|||||||
{
|
{
|
||||||
"naming_series": "_T-Sales Invoice-",
|
"naming_series": "_T-Sales Invoice-",
|
||||||
"company": "_Test Company",
|
"company": "_Test Company",
|
||||||
|
"is_pos": 0,
|
||||||
"conversion_rate": 1.0,
|
"conversion_rate": 1.0,
|
||||||
"currency": "INR",
|
"currency": "INR",
|
||||||
"debit_to": "_Test Customer - _TC",
|
"debit_to": "_Test Customer - _TC",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user