fix: move farmOS UUID field below the Drupal ID
This commit is contained in:
parent
0ac2485bff
commit
41870ee2e2
9 changed files with 15 additions and 15 deletions
|
|
@ -62,8 +62,8 @@ class AnimalTypeView(AssetTypeMasterView):
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"description",
|
"description",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
has_rows = True
|
has_rows = True
|
||||||
|
|
@ -244,8 +244,8 @@ class AnimalAssetView(AssetMasterView):
|
||||||
"notes",
|
"notes",
|
||||||
"asset_type",
|
"asset_type",
|
||||||
"archived",
|
"archived",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
"thumbnail_url",
|
"thumbnail_url",
|
||||||
"image_url",
|
"image_url",
|
||||||
"thumbnail",
|
"thumbnail",
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,8 @@ class AssetTypeView(WuttaFarmMasterView):
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"description",
|
"description",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
def configure_grid(self, grid):
|
def configure_grid(self, grid):
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,8 @@ class GroupView(AssetMasterView):
|
||||||
"asset_type",
|
"asset_type",
|
||||||
"produces_eggs",
|
"produces_eggs",
|
||||||
"archived",
|
"archived",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,8 @@ class LandTypeView(AssetTypeMasterView):
|
||||||
|
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
has_rows = True
|
has_rows = True
|
||||||
|
|
@ -173,8 +173,8 @@ class LandAssetView(AssetMasterView):
|
||||||
"is_location",
|
"is_location",
|
||||||
"is_fixed",
|
"is_fixed",
|
||||||
"archived",
|
"archived",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
def configure_grid(self, grid):
|
def configure_grid(self, grid):
|
||||||
|
|
|
||||||
|
|
@ -61,8 +61,8 @@ class LogTypeView(WuttaFarmMasterView):
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"description",
|
"description",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
def configure_grid(self, grid):
|
def configure_grid(self, grid):
|
||||||
|
|
@ -136,8 +136,8 @@ class LogMasterView(WuttaFarmMasterView):
|
||||||
"is_movement",
|
"is_movement",
|
||||||
"is_group_assignment",
|
"is_group_assignment",
|
||||||
"quick",
|
"quick",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_query(self, session=None):
|
def get_query(self, session=None):
|
||||||
|
|
|
||||||
|
|
@ -62,8 +62,8 @@ class PlantTypeView(AssetTypeMasterView):
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"description",
|
"description",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
has_rows = True
|
has_rows = True
|
||||||
|
|
@ -227,8 +227,8 @@ class PlantAssetView(AssetMasterView):
|
||||||
"notes",
|
"notes",
|
||||||
"asset_type",
|
"asset_type",
|
||||||
"archived",
|
"archived",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
"thumbnail_url",
|
"thumbnail_url",
|
||||||
"image_url",
|
"image_url",
|
||||||
"thumbnail",
|
"thumbnail",
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,8 @@ class QuantityTypeView(WuttaFarmMasterView):
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"description",
|
"description",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
def configure_grid(self, grid):
|
def configure_grid(self, grid):
|
||||||
|
|
@ -119,8 +119,8 @@ class QuantityMasterView(WuttaFarmMasterView):
|
||||||
"value",
|
"value",
|
||||||
"units",
|
"units",
|
||||||
"label",
|
"label",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_query(self, session=None):
|
def get_query(self, session=None):
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,8 @@ class StructureTypeView(AssetTypeMasterView):
|
||||||
|
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
has_rows = True
|
has_rows = True
|
||||||
|
|
@ -173,8 +173,8 @@ class StructureAssetView(AssetMasterView):
|
||||||
"is_location",
|
"is_location",
|
||||||
"is_fixed",
|
"is_fixed",
|
||||||
"archived",
|
"archived",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
"thumbnail_url",
|
"thumbnail_url",
|
||||||
"image_url",
|
"image_url",
|
||||||
"thumbnail",
|
"thumbnail",
|
||||||
|
|
|
||||||
|
|
@ -100,8 +100,8 @@ class UnitView(WuttaFarmMasterView):
|
||||||
form_fields = [
|
form_fields = [
|
||||||
"name",
|
"name",
|
||||||
"description",
|
"description",
|
||||||
"farmos_uuid",
|
|
||||||
"drupal_id",
|
"drupal_id",
|
||||||
|
"farmos_uuid",
|
||||||
]
|
]
|
||||||
|
|
||||||
def configure_grid(self, grid):
|
def configure_grid(self, grid):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue