mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
test: pass filters to execute
This commit is contained in:
@@ -53,13 +53,6 @@ def get_columns(filters):
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"width": 140
|
"width": 140
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"label": _("Budget Code"),
|
|
||||||
"options": "Budget",
|
|
||||||
"fieldname": "budget_code",
|
|
||||||
"fieldtype": "Link",
|
|
||||||
"width": 140
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"label": _("Description"),
|
"label": _("Description"),
|
||||||
"fieldname": "description",
|
"fieldname": "description",
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_r
|
|||||||
from erpnext.stock.doctype.warehouse.test_warehouse import create_warehouse
|
from erpnext.stock.doctype.warehouse.test_warehouse import create_warehouse
|
||||||
|
|
||||||
class TestProcurementTracker(unittest.TestCase):
|
class TestProcurementTracker(unittest.TestCase):
|
||||||
maxDiff = None
|
|
||||||
def test_result_for_procurement_tracker(self):
|
def test_result_for_procurement_tracker(self):
|
||||||
filters = {
|
filters = {
|
||||||
'company': '_Test Procurement Company',
|
'company': '_Test Procurement Company',
|
||||||
@@ -60,8 +59,8 @@ class TestProcurementTracker(unittest.TestCase):
|
|||||||
"supplier": "_Test Supplier",
|
"supplier": "_Test Supplier",
|
||||||
"estimated_cost": 0.0,
|
"estimated_cost": 0.0,
|
||||||
"actual_cost": None,
|
"actual_cost": None,
|
||||||
"purchase_order_amt": 0.0,
|
"purchase_order_amt": 5000.0,
|
||||||
"purchase_order_amt_in_company_currency": 0.0,
|
"purchase_order_amt_in_company_currency": 300000.0,
|
||||||
"expected_delivery_date": date_obj,
|
"expected_delivery_date": date_obj,
|
||||||
"actual_delivery_date": date_obj
|
"actual_delivery_date": date_obj
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user