|
78 | 78 | <page string="Builds"> |
79 | 79 | <field name="unique_build_error_link_ids" widget="one2many" context="{'hide_linked_error': 'True'}"/> |
80 | 80 | </page> |
81 | | - <page string="Similary qualified Errors" groups="runbot.group_runbot_admin,runbot.group_runbot_error_manager" invisible="not common_qualifiers"> |
82 | | - <div class="btn-group"> |
| 81 | + <page string="Qualifiers" groups="runbot.group_runbot_admin,runbot.group_runbot_error_manager" invisible="not common_qualifiers"> |
| 82 | + <field name="common_qualifiers" widget="runbotjsonb"/> |
| 83 | + |
83 | 84 | <button class="btn btn-sm btn-primary" type="object" name="action_view_similary_qualified"> |
84 | 85 | View similary qualified errors |
85 | 86 | </button> |
86 | | - </div> |
87 | | - <field name="common_qualifiers" widget="runbotjsonb"/> |
88 | | - <field name="similar_ids" widget="one2many" options="{'not_delete': True, 'no_create': True}" readonly="1"> |
89 | | - <list decoration-danger="test_tags and (fixing_pr_alive or not fixing_pr_id)" |
90 | | - decoration-success="fixing_pr_id and not test_tags and not fixing_pr_alive" |
91 | | - decoration-warning="test_tags and fixing_pr_id and not fixing_pr_alive" |
92 | | - > |
93 | | - <field name="id"/> |
94 | | - <field name="name" optional="show" readonly="1"/> |
95 | | - <field name="description" optional="hide" readonly="1"/> |
96 | | - <field name="first_seen_date" string="First Seen" optional="hide" readonly="1"/> |
97 | | - <field name="last_seen_date" string="Last Seen" readonly="1" options="{'link_field': 'last_seen_build_id'}"/> |
98 | | - <field name="last_seen_build_id" column_invisible="True"/> |
99 | | - <field name="error_count" readonly="1"/> |
100 | | - <field name="build_count" readonly="1"/> |
101 | | - <field name="team_id"/> |
102 | | - <field name="responsible" optional="show"/> |
103 | | - <field name="test_tags" optional="hide"/> |
104 | | - <field name="fixing_pr_id" optional="hide"/> |
105 | | - <field name="fixing_pr_alive" optional="hide"/> |
106 | | - </list> |
107 | | - </field> |
108 | | - </page> |
109 | | - <page string="Similary qualified Error Contents" groups="runbot.group_runbot_admin,runbot.group_runbot_error_manager" invisible="not common_qualifiers"> |
110 | | - <div class="btn-group"> |
111 | 87 | <button class="btn btn-sm btn-primary" type="object" name="action_view_similary_qualified_contents"> |
112 | 88 | View Similary Contents |
113 | 89 | </button> |
114 | | - </div> |
115 | | - <field name="common_qualifiers" widget="runbotjsonb"/> |
116 | | - <field name="similar_content_ids" widget="one2many" options="{'not_delete': True, 'no_create': True}" readonly="1"> |
117 | | - <list string="Error Contents" |
118 | | - decoration-danger="test_tags and (fixing_pr_alive or not fixing_pr_id)" |
119 | | - decoration-success="fixing_pr_id and not test_tags and not fixing_pr_alive" |
120 | | - decoration-warning="test_tags and fixing_pr_id and not fixing_pr_alive" |
121 | | - > |
122 | | - <field name="error_display_id" optional="show"/> |
123 | | - <field name="module_name" optional="show" readonly="1"/> |
124 | | - <field name="summary" optional="show" readonly="1"/> |
125 | | - <field name="random" string="Random"/> |
126 | | - <field name="first_seen_date" string="First Seen" optional="hide" readonly="1"/> |
127 | | - <field name="last_seen_date" string="Last Seen" readonly="1"/> |
128 | | - <field name="build_count" readonly="1"/> |
129 | | - <field name="team_id"/> |
130 | | - <field name="test_tags" optional="hide"/> |
131 | | - <field name="tags_min_version_id" string="Tags Min" optional="hide"/> |
132 | | - <field name="tags_max_version_id" string="Tags Max" optional="hide"/> |
133 | | - <field name="fixing_pr_id" optional="hide"/> |
134 | | - <field name="fixing_pr_alive" optional="hide"/> |
135 | | - <field name="fixing_pr_url" widget="url" text="view PR" readonly="1" invisible="not fixing_pr_url"/> |
136 | | - <field name="fingerprint" optional="hide"/> |
137 | | - </list> |
138 | | - </field> |
139 | | - </page> |
140 | | - <page string="Analogous Errors" groups="runbot.group_runbot_admin,runbot.group_runbot_error_manager" invisible="not unique_qualifiers"> |
141 | | - <div class="btn-group"> |
| 90 | + <field name="unique_qualifiers" widget="runbotjsonb"/> |
142 | 91 | <button class="btn btn-sm btn-primary" type="object" name="action_view_analogous_qualified"> |
143 | 92 | View analogous errors |
144 | 93 | </button> |
145 | | - </div> |
146 | | - <field name="unique_qualifiers" widget="runbotjsonb"/> |
147 | | - <field name="analogous_ids" widget="one2many" options="{'not_delete': True, 'no_create': True}" readonly="1"> |
148 | | - <list decoration-danger="test_tags and (fixing_pr_alive or not fixing_pr_id)" |
149 | | - decoration-success="fixing_pr_id and not test_tags and not fixing_pr_alive" |
150 | | - decoration-warning="test_tags and fixing_pr_id and not fixing_pr_alive" |
151 | | - > |
152 | | - <field name="id"/> |
153 | | - <field name="name" optional="show" readonly="1"/> |
154 | | - <field name="description" optional="hide" readonly="1"/> |
155 | | - <field name="first_seen_date" string="First Seen" optional="hide" readonly="1"/> |
156 | | - <field name="last_seen_date" string="Last Seen" readonly="1" options="{'link_field': 'last_seen_build_id'}"/> |
157 | | - <field name="last_seen_build_id" column_invisible="True"/> |
158 | | - <field name="error_count" readonly="1"/> |
159 | | - <field name="build_count" readonly="1"/> |
160 | | - <field name="team_id"/> |
161 | | - <field name="responsible" optional="show"/> |
162 | | - <field name="test_tags" optional="hide"/> |
163 | | - <field name="fixing_pr_id" optional="hide"/> |
164 | | - <field name="fixing_pr_alive" optional="hide"/> |
165 | | - </list> |
166 | | - </field> |
167 | | - </page> |
168 | | - <page string="Analogous Error Contents" groups="runbot.group_runbot_admin,runbot.group_runbot_error_manager" invisible="not unique_qualifiers"> |
169 | | - <div class="btn-group"> |
170 | 94 | <button class="btn btn-sm btn-primary" type="object" name="action_view_analogous_qualified_contents"> |
171 | 95 | View Analogous Contents |
172 | 96 | </button> |
173 | | - </div> |
174 | | - <field name="unique_qualifiers" widget="runbotjsonb"/> |
175 | | - <field name="analogous_content_ids" widget="one2many" options="{'not_delete': True, 'no_create': True}" readonly="1"> |
176 | | - <list string="Error Contents" |
177 | | - decoration-danger="test_tags and (fixing_pr_alive or not fixing_pr_id)" |
178 | | - decoration-success="fixing_pr_id and not test_tags and not fixing_pr_alive" |
179 | | - decoration-warning="test_tags and fixing_pr_id and not fixing_pr_alive" |
180 | | - > |
181 | | - <field name="error_display_id" optional="show"/> |
182 | | - <field name="module_name" optional="show" readonly="1"/> |
183 | | - <field name="summary" optional="show" readonly="1"/> |
184 | | - <field name="random" string="Random"/> |
185 | | - <field name="first_seen_date" string="First Seen" optional="hide" readonly="1"/> |
186 | | - <field name="last_seen_date" string="Last Seen" readonly="1"/> |
187 | | - <field name="build_count" readonly="1"/> |
188 | | - <field name="team_id"/> |
189 | | - <field name="test_tags" optional="hide"/> |
190 | | - <field name="tags_min_version_id" string="Tags Min" optional="hide"/> |
191 | | - <field name="tags_max_version_id" string="Tags Max" optional="hide"/> |
192 | | - <field name="fixing_pr_id" optional="hide"/> |
193 | | - <field name="fixing_pr_alive" optional="hide"/> |
194 | | - <field name="fixing_pr_url" widget="url" text="view PR" readonly="1" invisible="not fixing_pr_url"/> |
195 | | - <field name="fingerprint" optional="hide"/> |
196 | | - </list> |
197 | | - </field> |
198 | 97 | </page> |
199 | 98 | </notebook> |
200 | 99 | </sheet> |
|
0 commit comments