mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
testcases for reserved qty
This commit is contained in:
36
stock/doctype/delivery_note/test_delivery_note.py
Normal file
36
stock/doctype/delivery_note/test_delivery_note.py
Normal file
@@ -0,0 +1,36 @@
|
||||
test_records = [
|
||||
[
|
||||
{
|
||||
"company": "_Test Company",
|
||||
"conversion_rate": 1.0,
|
||||
"currency": "INR",
|
||||
"customer": "_Test Customer",
|
||||
"customer_name": "_Test Customer",
|
||||
"doctype": "Delivery Note",
|
||||
"fiscal_year": "_Test Fiscal Year 2013",
|
||||
"plc_conversion_rate": 1.0,
|
||||
"posting_date": "2013-02-21",
|
||||
"posting_time": "9:00:00",
|
||||
"price_list_currency": "INR",
|
||||
"price_list_name": "_Test Price List",
|
||||
"status": "Draft",
|
||||
"territory": "_Test Territory",
|
||||
"grand_total": 500.0,
|
||||
"grand_total_export": 500.0,
|
||||
},
|
||||
{
|
||||
"description": "CPU",
|
||||
"doctype": "Delivery Note Item",
|
||||
"item_code": "_Test Item Home Desktop 100",
|
||||
"item_name": "CPU",
|
||||
"parentfield": "delivery_note_details",
|
||||
"qty": 4.0,
|
||||
"basic_rate": 50.0,
|
||||
"export_rate": 50.0,
|
||||
"amount": 500.0,
|
||||
"warehouse": "_Test Warehouse",
|
||||
"stock_uom": "No."
|
||||
}
|
||||
]
|
||||
|
||||
]
|
||||
Reference in New Issue
Block a user