[purchase] [validation] validate warehouse belongs to company if set

This commit is contained in:
Rushabh Mehta
2013-05-02 11:34:37 +05:30
parent e97b07e43f
commit ecb36f2cb0
4 changed files with 26 additions and 2 deletions

View File

@@ -2,7 +2,8 @@ test_records = [
[{
"doctype": "Warehouse",
"warehouse_name": "_Test Warehouse",
"warehouse_type": "_Test Warehouse Type"
"warehouse_type": "_Test Warehouse Type",
"company": "_Test Company"
}],
[{
"doctype": "Warehouse",