Skip to content

Commit

Permalink
Merge pull request #124 from hjanott/issue_2053_remove_statutes
Browse files Browse the repository at this point in the history
removed statutes
  • Loading branch information
hjanott authored Oct 15, 2024
2 parents 2a34d9d + 3e56dc9 commit 85d3285
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1119,11 +1119,6 @@ meeting:
to: motion_workflow/default_amendment_workflow_meeting_id
required: true
restriction_mode: B
motions_default_statute_amendment_workflow_id:
type: relation
to: motion_workflow/default_statute_amendment_workflow_meeting_id
required: true
restriction_mode: B
motions_preamble:
type: text
default: "The assembly may decide:"
Expand Down Expand Up @@ -1180,9 +1175,6 @@ meeting:
type: number
minimum: 1
restriction_mode: B
motions_statute_recommendations_by:
type: string
restriction_mode: B
motions_recommendation_text_mode:
type: string
enum:
Expand Down Expand Up @@ -1215,10 +1207,6 @@ meeting:
type: boolean
default: False
restriction_mode: B
motions_statutes_enabled:
type: boolean
default: False
restriction_mode: B
motions_amendments_enabled:
type: boolean
default: True
Expand Down Expand Up @@ -1602,11 +1590,6 @@ meeting:
to: motion_workflow/meeting_id
on_delete: CASCADE
restriction_mode: B
motion_statute_paragraph_ids:
type: relation-list
to: motion_statute_paragraph/meeting_id
on_delete: CASCADE
restriction_mode: B
motion_comment_ids:
type: relation-list
to: motion_comment/meeting_id
Expand Down Expand Up @@ -2649,11 +2632,6 @@ motion:
on_delete: CASCADE
equal_fields: meeting_id
restriction_mode: C
statute_paragraph_id:
type: relation
to: motion_statute_paragraph/motion_ids
equal_fields: meeting_id
restriction_mode: C
comment_ids:
type: relation-list
to: motion_comment/motion_id
Expand Down Expand Up @@ -3174,51 +3152,13 @@ motion_workflow:
type: relation
to: meeting/motions_default_amendment_workflow_id
restriction_mode: A
default_statute_amendment_workflow_meeting_id:
type: relation
to: meeting/motions_default_statute_amendment_workflow_id
restriction_mode: A
meeting_id:
type: relation
to: meeting/motion_workflow_ids
required: true
restriction_mode: A
constant: true

motion_statute_paragraph:
id:
*id_field
title:
type: string
required: true
restriction_mode: A
text:
type: HTMLStrict
restriction_mode: A
weight:
type: number
default: 10000
restriction_mode: A
sequential_number:
type: number
description: The (positive) serial number of this model in its meeting. This number is auto-generated and read-only.
read_only: true
required: true
restriction_mode: A
constant: true

motion_ids:
type: relation-list
to: motion/statute_paragraph_id
equal_fields: meeting_id
restriction_mode: A
meeting_id:
type: relation
to: meeting/motion_statute_paragraph_ids
required: true
restriction_mode: A
constant: true

poll:
id:
*id_field
Expand Down

0 comments on commit 85d3285

Please sign in to comment.