Rushabh Mehta | 43ef4e9 | 2017-07-03 11:53:07 +0530 | [diff] [blame] | 1 | $.extend(frappe.test_data, { |
| 2 | 'Customer': { |
| 3 | 'Test Customer 1': [ |
| 4 | {customer_name: 'Test Customer 1'} |
| 5 | ], |
| 6 | 'Test Customer 2': [ |
| 7 | {customer_name: 'Test Customer 2'} |
| 8 | ], |
| 9 | 'Test Customer 3': [ |
| 10 | {customer_name: 'Test Customer 3'} |
| 11 | ], |
| 12 | }, |
| 13 | 'Item': { |
| 14 | 'Test Product 1': [ |
| 15 | {item_code: 'Test Product 1'}, |
| 16 | {item_group: 'Products'}, |
| 17 | {is_stock_item: 1}, |
| 18 | {standard_rate: 100}, |
| 19 | {opening_stock: 100}, |
| 20 | ], |
| 21 | 'Test Product 2': [ |
| 22 | {item_code: 'Test Product 2'}, |
| 23 | {item_group: 'Products'}, |
| 24 | {is_stock_item: 1}, |
| 25 | {standard_rate: 150}, |
| 26 | {opening_stock: 200}, |
| 27 | ], |
| 28 | 'Test Product 3': [ |
| 29 | {item_code: 'Test Product 3'}, |
| 30 | {item_group: 'Products'}, |
| 31 | {is_stock_item: 1}, |
| 32 | {standard_rate: 250}, |
| 33 | {opening_stock: 100}, |
| 34 | ], |
| 35 | 'Test Service 1': [ |
| 36 | {item_code: 'Test Service 1'}, |
| 37 | {item_group: 'Services'}, |
| 38 | {is_stock_item: 0}, |
| 39 | {standard_rate: 200} |
| 40 | ], |
| 41 | 'Test Service 2': [ |
| 42 | {item_code: 'Test Service 2'}, |
| 43 | {item_group: 'Services'}, |
| 44 | {is_stock_item: 0}, |
| 45 | {standard_rate: 300} |
| 46 | ] |
| 47 | } |
| 48 | }); |