mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 17:45:04 +00:00
[fix] tests
This commit is contained in:
@@ -11,6 +11,7 @@ QUnit.test("test: purchase order with taxes and charges", function(assert) {
|
||||
{is_subcontracted: 'No'},
|
||||
{buying_price_list: 'Test-Buying-USD'},
|
||||
{currency: 'USD'},
|
||||
{"schedule_date": frappe.datetime.add_days(frappe.datetime.now_date(), 1)},
|
||||
{items: [
|
||||
[
|
||||
{"item_code": 'Test Product 4'},
|
||||
|
||||
@@ -206,6 +206,7 @@ class TestMaterialRequest(unittest.TestCase):
|
||||
po_doc = make_purchase_order(mr.name)
|
||||
po_doc.supplier = "_Test Supplier"
|
||||
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")[1].qty = 1.5
|
||||
po_doc.get("items")[0].schedule_date = "2013-07-09"
|
||||
|
||||
Reference in New Issue
Block a user