[Fix] Issue #980 final

This commit is contained in:
Neil Trini Lasrado 2014-08-25 16:37:13 +05:30
parent d676491b6e
commit 9d1e8b61fe
4 changed files with 10 additions and 3 deletions

View File

@ -15,5 +15,12 @@
"doctype": "Cost Center",
"group_or_ledger": "Ledger",
"parent_cost_center": "_Test Company - _TC"
},
{
"company": "_Test Company",
"cost_center_name": "_Test Cost Center 2",
"doctype": "Cost Center",
"group_or_ledger": "Ledger",
"parent_cost_center": "_Test Company - _TC"
}
]

View File

@ -3,7 +3,8 @@
"doctype": "Item Group",
"is_group": "No",
"item_group_name": "_Test Item Group",
"parent_item_group": "All Item Groups"
"parent_item_group": "All Item Groups",
"default_cost_center": "_Test Cost Center 2 - _TC"
},
{
"doctype": "Item Group",

View File

@ -27,7 +27,7 @@ class TestItem(unittest.TestCase):
"warehouse": "_Test Warehouse - _TC",
"income_account": "Sales - _TC",
"expense_account": "_Test Account Cost for Goods Sold - _TC",
"cost_center": "_Test Cost Center - _TC",
"cost_center": "_Test Cost Center 2 - _TC",
"qty": 1.0,
"price_list_rate": 100.0,
"base_price_list_rate": 0.0,

View File

@ -28,7 +28,6 @@
"warehouse_reorder_qty": 20
}
],
"selling_cost_center": "_Test Cost Center - _TC",
"stock_uom": "_Test UOM",
"show_in_website": 1,
"website_warehouse": "_Test Warehouse - _TC"