[Minor] Fix Crop Cycle test record (#14901)

* fix crop cycle test record

* load crop cycle doc if not yet loaded

* create test records for location

* land unit -> location , update in patch for tree index
This commit is contained in:
Zarrar
2018-07-15 20:04:24 +05:30
committed by Nabin Hait
parent 03b597418a
commit f579a2bd5d
5 changed files with 12 additions and 8 deletions

View File

@@ -2,8 +2,8 @@
{
"doctype": "Crop Cycle",
"title": "Basil from seed 2017",
"linked_land_unit": [{
"land_unit": "Basil Farm"
"linked_location": [{
"location": "Basil Farm"
}],
"crop": "Basil from seed",
"start_date": "2017-11-11",