[fix] tests
This commit is contained in:
parent
3a22fd1535
commit
f2e2e23b6b
@ -11,6 +11,7 @@ QUnit.test("test: purchase order with taxes and charges", function(assert) {
|
|||||||
{is_subcontracted: 'No'},
|
{is_subcontracted: 'No'},
|
||||||
{buying_price_list: 'Test-Buying-USD'},
|
{buying_price_list: 'Test-Buying-USD'},
|
||||||
{currency: 'USD'},
|
{currency: 'USD'},
|
||||||
|
{"schedule_date": frappe.datetime.add_days(frappe.datetime.now_date(), 1)},
|
||||||
{items: [
|
{items: [
|
||||||
[
|
[
|
||||||
{"item_code": 'Test Product 4'},
|
{"item_code": 'Test Product 4'},
|
||||||
|
|||||||
@ -206,6 +206,7 @@ class TestMaterialRequest(unittest.TestCase):
|
|||||||
po_doc = make_purchase_order(mr.name)
|
po_doc = make_purchase_order(mr.name)
|
||||||
po_doc.supplier = "_Test Supplier"
|
po_doc.supplier = "_Test Supplier"
|
||||||
po_doc.transaction_date = "2013-07-07"
|
po_doc.transaction_date = "2013-07-07"
|
||||||
|
po_doc.schedule_date = "2013-07-09"
|
||||||
po_doc.get("items")[0].qty = 27.0
|
po_doc.get("items")[0].qty = 27.0
|
||||||
po_doc.get("items")[1].qty = 1.5
|
po_doc.get("items")[1].qty = 1.5
|
||||||
po_doc.get("items")[0].schedule_date = "2013-07-09"
|
po_doc.get("items")[0].schedule_date = "2013-07-09"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user