arch-kiosk / arch-kiosk-office

💼 central place for collaboration
GNU Affero General Public License v3.0
1 stars 0 forks source link

Q&V: Drop parts that use a record type that does not exist in the current project #2729

Open urapadmin opened 1 month ago

urapadmin commented 1 month ago

If there is a part definition that is based on a record type that is unknown in the project's dsd, the part should be skippable with the option drop_on_unknown_record_type: True:

compilations:
  cm_compilation:
    groups:
      group_2:
        type: "accordion"
        parts:
          cm_ceramics_preprocessing.list:
            text: 'ceramic preprocessing'
            position: 2

cm_ceramics_preprocessing.list:
  record_type: su_ceramics_preprocessing_entry
  drop_on_unknown_record_type: True
  view_type: list
  max_height: 20em
  fields_selection: dsd
  layout_settings:
    type: list
    orchestration_strategy: table
    order_records_by: ["category_1", "category_2", "modified"]
    allow_ordering_by: [category_1, category_2, count, weight, modified, modified_by]
    order: [category_1, category_2, count, weight, modified, modified_by]
urapadmin commented 1 month ago

too complicated to implement for Kiosk 1.6 -> postponed