fixed test cases
This commit is contained in:
parent
2f87fb41fa
commit
c994647704
@ -469,7 +469,7 @@ class TestSalesInvoice(unittest.TestCase):
|
||||
pos = copy.deepcopy(test_records[1])
|
||||
pos["is_pos"] = 1
|
||||
pos["update_stock"] = 1
|
||||
pos["posting_time"] = "12:05"
|
||||
# pos["posting_time"] = "12:05"
|
||||
pos["cash_bank_account"] = "_Test Account Bank Account - _TC"
|
||||
pos["paid_amount"] = 600.0
|
||||
|
||||
@ -555,7 +555,7 @@ class TestSalesInvoice(unittest.TestCase):
|
||||
|
||||
si_doc = copy.deepcopy(test_records[1])
|
||||
si_doc["update_stock"] = 1
|
||||
si_doc["posting_time"] = "12:05"
|
||||
# si_doc["posting_time"] = "12:05"
|
||||
si_doc.get("items")[0]["warehouse"] = "_Test Warehouse No Account - _TC"
|
||||
|
||||
si = frappe.copy_doc(si_doc)
|
||||
|
@ -30,7 +30,6 @@
|
||||
"base_net_total": 100.0,
|
||||
"plc_conversion_rate": 1.0,
|
||||
"posting_date": "2013-02-21",
|
||||
"posting_time": "9:00:00",
|
||||
"price_list_currency": "INR",
|
||||
"selling_price_list": "_Test Price List",
|
||||
"status": "Draft",
|
||||
|
@ -97,7 +97,6 @@
|
||||
"is_subcontracted": "Yes",
|
||||
"base_net_total": 5000.0,
|
||||
"posting_date": "2013-02-12",
|
||||
"posting_time": "15:33:30",
|
||||
"items": [
|
||||
{
|
||||
"base_amount": 5000.0,
|
||||
|
@ -43,7 +43,6 @@
|
||||
}
|
||||
],
|
||||
"posting_date": "2013-01-25",
|
||||
"posting_time": "17:15",
|
||||
"purpose": "Material Issue"
|
||||
},
|
||||
|
||||
@ -70,7 +69,6 @@
|
||||
}
|
||||
],
|
||||
"posting_date": "2013-01-25",
|
||||
"posting_time": "17:14:24",
|
||||
"purpose": "Material Transfer"
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user