fix: move farmOS UUID field below the Drupal ID

This commit is contained in:
Lance Edgar 2026-03-02 20:33:19 -06:00
parent 0ac2485bff
commit 41870ee2e2
9 changed files with 15 additions and 15 deletions

View file

@ -62,8 +62,8 @@ class AnimalTypeView(AssetTypeMasterView):
form_fields = [
"name",
"description",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
has_rows = True
@ -244,8 +244,8 @@ class AnimalAssetView(AssetMasterView):
"notes",
"asset_type",
"archived",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
"thumbnail_url",
"image_url",
"thumbnail",

View file

@ -50,8 +50,8 @@ class AssetTypeView(WuttaFarmMasterView):
form_fields = [
"name",
"description",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
def configure_grid(self, grid):

View file

@ -53,8 +53,8 @@ class GroupView(AssetMasterView):
"asset_type",
"produces_eggs",
"archived",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]

View file

@ -51,8 +51,8 @@ class LandTypeView(AssetTypeMasterView):
form_fields = [
"name",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
has_rows = True
@ -173,8 +173,8 @@ class LandAssetView(AssetMasterView):
"is_location",
"is_fixed",
"archived",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
def configure_grid(self, grid):

View file

@ -61,8 +61,8 @@ class LogTypeView(WuttaFarmMasterView):
form_fields = [
"name",
"description",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
def configure_grid(self, grid):
@ -136,8 +136,8 @@ class LogMasterView(WuttaFarmMasterView):
"is_movement",
"is_group_assignment",
"quick",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
def get_query(self, session=None):

View file

@ -62,8 +62,8 @@ class PlantTypeView(AssetTypeMasterView):
form_fields = [
"name",
"description",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
has_rows = True
@ -227,8 +227,8 @@ class PlantAssetView(AssetMasterView):
"notes",
"asset_type",
"archived",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
"thumbnail_url",
"image_url",
"thumbnail",

View file

@ -66,8 +66,8 @@ class QuantityTypeView(WuttaFarmMasterView):
form_fields = [
"name",
"description",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
def configure_grid(self, grid):
@ -119,8 +119,8 @@ class QuantityMasterView(WuttaFarmMasterView):
"value",
"units",
"label",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
def get_query(self, session=None):

View file

@ -50,8 +50,8 @@ class StructureTypeView(AssetTypeMasterView):
form_fields = [
"name",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
has_rows = True
@ -173,8 +173,8 @@ class StructureAssetView(AssetMasterView):
"is_location",
"is_fixed",
"archived",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
"thumbnail_url",
"image_url",
"thumbnail",

View file

@ -100,8 +100,8 @@ class UnitView(WuttaFarmMasterView):
form_fields = [
"name",
"description",
"farmos_uuid",
"drupal_id",
"farmos_uuid",
]
def configure_grid(self, grid):