6 <record model="ir.ui.view" id="project_issue_version_search_view">
7 <field name="name">Issue Version</field>
8 <field name="model">project.issue.version</field>
9 <field name="arch" type="xml">
10 <search string="Issue Version">
11 <field name="name" string="Issue Version"/>
12 <field name="active"/>
16 <record model="ir.ui.view" id="project_issue_version_form_view">
17 <field name="name">Issue Version</field>
18 <field name="model">project.issue.version</field>
19 <field name="arch" type="xml">
20 <form string="Issue Version">
23 <field name="active"/>
28 <record id="project_issue_version_action" model="ir.actions.act_window">
29 <field name="name">Versions</field>
30 <field name="res_model">project.issue.version</field>
31 <field name="view_type">form</field>
32 <field name="help" type="html">
33 <p class="oe_view_nocontent_create">
34 Click to add a new version.
36 Define here the different versions of your products on which
37 you can work on issues.
42 <menuitem action="project_issue_version_action" id="menu_project_confi" name="Issues Versions" parent="base.menu_definitions" sequence="2"/>
45 <record model="ir.ui.view" id="project_issue_form_view">
46 <field name="name">Project Issue Tracker Form</field>
47 <field name="model">project.issue</field>
48 <field name="arch" type="xml">
51 <field name="stage_id" widget="statusbar" clickable="True"
52 options="{'fold_field': 'fold'}"/>
54 <sheet string="Issue">
55 <label for="name" class="oe_edit_only"/>
57 <h1 class="col-xs-11">
58 <field name="name" class="oe_inline"/>
60 <div class="col-xs-1 text-right">
61 <field name="kanban_state" class="oe_inline" widget="kanban_state_selection"
63 "states_legend_field": "stage_id",
64 "states_legend": {"normal": "legend_normal", "blocked": "legend_blocked", "done": "legend_done"}}'/>
67 <label for="categ_ids" class="oe_edit_only"/>
68 <field name="categ_ids" widget="many2many_tags"/>
72 context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'project.group_project_user']}"/>
73 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
74 <field name="email_from"/>
75 <label for="project_id"/>
77 <field name="project_id" on_change="on_change_project(project_id)" class="oe_inline" context="{'default_use_issues':1}"/>
78 <field name="can_escalate" invisible="1"/>
79 <button name="case_escalate" string="Escalate" type="object" class="oe_link" attrs="{'invisible':[('can_escalate','=',False)]}" groups="base.group_user"/>
84 <field name="version_id" groups="base.group_user"/>
85 <field name="priority" groups="base.group_user" widget="priority"/>
86 <label for="task_id" groups="base.group_user"/>
87 <div groups="base.group_user">
88 <field name="task_id" on_change="onchange_task_id(task_id)" class="oe_inline" context="{'default_project_id':project_id}"/>
89 <field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}" class="oe_inline"/>
94 <page string="Description">
95 <field name="description" placeholder="Add an internal note..." groups="base.group_user"/>
97 <page string="Extra Info" groups="project.group_project_manager,project.group_project_user">
99 <group string="Statistics">
100 <field name="day_open"/>
101 <field name="day_close"/>
102 <field name="working_hours_open" widget="float_time"/>
103 <field name="working_hours_close" widget="float_time"/>
104 <field name="inactivity_days"/>
105 <field name="days_since_creation"/>
107 <group string="Status" groups="base.group_no_one">
108 <field name="active"/>
114 <div class="oe_chatter">
115 <field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
116 <field name="message_ids" widget="mail_thread"/>
122 <record model="ir.ui.view" id="project_issue_tree_view">
123 <field name="name">Project Issue Tracker Tree</field>
124 <field name="model">project.issue</field>
125 <field name="arch" type="xml">
126 <tree string="Issue Tracker Tree" fonts="bold:message_unread==True">
127 <field name="message_unread" invisible="1"/>
130 <field name="partner_id"/>
131 <field name="project_id"/>
132 <field name="priority" string="Priority" groups="base.group_user"/>
133 <field name="create_date"/>
134 <field name="version_id" widget="selection"/>
135 <field name="user_id"/>
136 <field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
137 <field name="stage_id" widget="selection" readonly="1"/>
138 <field name="categ_ids" invisible="1"/>
139 <field name="task_id" invisible="1"/>
144 <record id="view_project_issue_filter" model="ir.ui.view">
145 <field name="name">Project Issue Tracker Search</field>
146 <field name="model">project.issue</field>
147 <field name="arch" type="xml">
148 <search string="Issue Tracker Search">
149 <field name="name" string="Issue" filter_domain="['|', '|', '|', ('partner_id','child_of',self), ('description','ilike',self),('email_from','ilike',self),('name','ilike',self)]"/>
151 <field name="partner_id" operator="child_of"/>
152 <field name="user_id"/>
153 <field name="project_id"/>
154 <field name="categ_ids"/>
155 <field name="stage_id" domain="[]"/>
156 <filter string="My Issues" domain="[('user_id','=',uid)]"/>
157 <filter string="Unassigned" name="unassigned" domain="[('user_id', '=', False)]"/>
159 <filter string="New" name="draft" domain="[('stage_id.sequence', '=', 1)]"/>
161 <filter string="New Mail" name="message_unread" domain="[('message_unread','=',True)]"/>
162 <group expand="0" string="Group By" >
163 <filter string="Assigned to" name="Responsible" context="{'group_by':'user_id'}" />
164 <filter string="Project" name="project" context="{'group_by':'project_id'}" />
165 <filter string="Task" context="{'group_by':'task_id'}"/>
166 <filter string="Priority" context="{'group_by':'priority'}" />
167 <filter string="Stage" context="{'group_by':'stage_id'}"/>
168 <filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
170 <filter string="Create Day" context="{'group_by':'create_date:day'}" help="Create Date"/>
171 <filter string="Last Message" name="group_message_last_post" context="{'group_by':'message_last_post:week'}"/>
177 <record model="ir.ui.view" id="project_issue_calendar_view">
178 <field name="name">Project Issue Tracker Calendar</field>
179 <field name="model">project.issue</field>
180 <field name="priority" eval="2"/>
181 <field name="arch" type="xml">
182 <calendar string="Issues" date_start="date" color="user_id" date_delay="duration">
184 <field name="partner_id"/>
190 <!-- Project Issue Karban View-->
192 <record model="ir.ui.view" id="project_issue_kanban_view">
193 <field name="name">Project Issue Kanban</field>
194 <field name="model">project.issue</field>
195 <field name="arch" type="xml">
196 <kanban default_group_by="stage_id">
197 <field name="stage_id" options='{"group_by_tooltip": {"description": "Description", "legend_priority": "Use of stars"}}'/>
198 <field name="color"/>
199 <field name="priority"/>
200 <field name="user_email"/>
201 <field name="user_id"/>
202 <field name="date_deadline"/>
203 <field name="message_summary"/>
205 <t t-name="kanban-tooltip">
206 <ul class="oe_kanban_tooltip">
207 <li><b>Project:</b> <field name="project_id"/></li>
208 <li><b>Category:</b> <field name="categ_ids"/></li>
211 <t t-name="kanban-box">
212 <div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click oe_semantic_html_override">
213 <div class="oe_dropdown_toggle oe_dropdown_kanban" groups="base.group_user">
214 <span class="oe_e">i</span>
215 <ul class="oe_dropdown_menu">
216 <t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit Issue</a></li></t>
217 <t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
218 <li><ul class="oe_kanban_colorpicker" data-field="color"/></li>
221 <div class="oe_kanban_content" tooltip="kanban-tooltip">
223 <b><field name="name"/></b> <br/>
224 <field name="partner_id"/> <br/>
225 <field name="version_id"/>
227 <div class="oe_kanban_bottom_right">
228 <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value)" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar pull-right"/>
229 <div class="pull-left" groups="base.group_user">
230 <field name="kanban_state" widget="kanban_state_selection"
231 options='{"states_legend": {"normal": "legend_normal", "blocked": "legend_blocked", "done": "legend_done"}}'/>
232 <field name="priority" widget="priority"/>
235 <div class="oe_kanban_footer_left">
236 <field name="categ_ids"/>
237 <t t-raw="record.message_summary.raw_value"/>
240 <div class="oe_clear"></div>
248 <record model="ir.ui.view" id="project_issue_graph_view">
249 <field name="name">Project Issue Tracker Graph</field>
250 <field name="model">project.issue</field>
251 <field name="arch" type="xml">
252 <graph string="Project Issues" type="bar">
253 <field name="project_id" type="row"/>
254 <field name="create_date" interval="month" type="col"/>
260 <!-- Feature Requests -->
261 <record model="ir.ui.view" id="project_feature_tree_view">
262 <field name="name">Project Issue- Feature Tracker Tree</field>
263 <field name="model">project.issue</field>
264 <field name="arch" type="xml">
265 <tree string="Feature Tracker Tree" fonts="bold:message_unread==True">
267 <field name="message_unread" invisible="1"/>
268 <field name="name" string="Feature description"/>
269 <field name="partner_id"/>
270 <field name="priority" string="Priority"/>
271 <field name="version_id"/>
272 <field name="user_id"/>
273 <field name="stage_id" widget="selection" readonly="1"/>
278 <record id="act_project_project_2_project_issue_all" model="ir.actions.act_window">
279 <field name="res_model">project.issue</field>
280 <field name="view_type">form</field>
281 <field name="name">Issues</field>
282 <field name="view_mode">kanban,tree,form,calendar,graph</field>
283 <field name="context">{
284 'search_default_project_id': [active_id],
285 'default_project_id': active_id,
288 <field name="help" type="html">
290 The Odoo issues tacker allows you to efficiently manage things
291 like internal requests, software development bugs, customer
292 complaints, project troubles, material breakdowns, etc.
298 <record id="view_project_form_inherited" model="ir.ui.view">
299 <field name="name">project.project.form.inherited</field>
300 <field name="model">project.project</field>
301 <field name="inherit_id" ref="project.edit_project"/>
302 <field name="arch" type="xml">
303 <xpath expr='//div[@name="options_active"]' position="attributes">
304 <attribute name="invisible">0</attribute>
306 <xpath expr='//div[@name="options_active"]' position='inside'>
308 <field name="use_issues" class="oe_inline" string="Use Issues"
309 on_change="on_change_use_tasks_or_issues(use_tasks, use_issues)"/>
310 <label for="use_issues" class="oe_inline"/> as <field name="label_issues" class="oe_inline"/>
313 <xpath expr='//div[@name="buttons"]' position='inside'>
314 <button class="oe_inline oe_stat_button" type="action" attrs="{'invisible':[('use_issues','=', False)]}"
315 name="%(act_project_project_2_project_issue_all)d" icon="fa-bug">
316 <field string="Issues" name="issue_count" widget="statinfo" options="{'label_field': 'label_issues'}"/>
319 <xpath expr='//page[@name="project_stages"]' position="attributes">
320 <attribute name="attrs">{'invisible': [('use_tasks', '=', False),('use_issues','=',False)]}</attribute>
322 <xpath expr='//field[@name="use_tasks"]' position="attributes">
323 <attribute name="attrs">{'on_change': 'on_change_use_tasks_or_issues(use_tasks, use_issues)'}</attribute>
325 <field name="sequence" position="before">
326 <field name="project_escalation_id"/>
331 <record id="view_project_kanban_inherited" model="ir.ui.view">
332 <field name="name">project.project.kanban.inherited</field>
333 <field name="model">project.project</field>
334 <field name="inherit_id" ref="project.view_project_kanban"/>
335 <field name="arch" type="xml">
336 <field name="use_tasks" position="after">
337 <field name="use_issues"/>
338 <field name="issue_ids" invisible="1"/>
340 <xpath expr="//div[contains(@class, 'oe_kanban_project_list')]/a" position="after">
341 <a t-if="record.use_issues.raw_value" style="margin-right: 20px" class="pull-right"
342 name="%(act_project_project_2_project_issue_all)d" type="action">
343 <t t-raw="record.issue_ids.raw_value.length"/> <field name="label_issues"/>
344 <field name="monthly_issues" widget="sparkline_bar" options="{'delayIn': '1000'}">
349 <xpath expr="//div[contains(@class, 'oe_kanban_project_list')]/div" position="replace">
350 <div t-if="!(record.use_tasks.raw_value and record.task_count.raw_value gt 0) and !(record.use_issues.raw_value and record.issue_ids.raw_value.length gt 0)" style="margin-top: 6px;margin-left:20px;">
351 <img src="/project/static/src/img/top_left_arrow.png" style="margin-top: -8px; width: 22px;" />
352 <span>No activity yet, click to enter in the project.</span>
358 <record id="analytic_account_inherited_issue_form" model="ir.ui.view">
359 <field name="name">account.analytic.account.issue.form.inherit</field>
360 <field name="model">account.analytic.account</field>
361 <field name="inherit_id" ref="project.analytic_account_inherited_form"/>
362 <field eval="18" name="priority"/>
363 <field name="arch" type="xml">
364 <xpath expr='//div[@name="project"]' position='inside'>
365 <field name="use_issues"/>
366 <label for="use_issues"/>
371 <record id="action_view_issues" model="ir.actions.act_window">
372 <field name="res_model">project.issue</field>
373 <field name="view_type">form</field>
374 <field name="name">Issues</field>
375 <field name="view_mode">kanban,tree,form,calendar,graph</field>
376 <field name="help" type="html">
378 The Odoo issues tacker allows you to efficiently manage things
379 like internal requests, software development bugs, customer
380 complaints, project troubles, material breakdowns, etc.
386 <record model="ir.ui.view" id="res_partner_issues_button_view">
387 <field name="name">res.partner.issues.button.view</field>
388 <field name="model">res.partner</field>
389 <field name="inherit_id" ref="base.view_partner_form" />
390 <field name="priority" eval="50"/>
391 <field name="arch" type="xml">
392 <xpath expr="//div[@name='buttons']" position="inside">
393 <button class="oe_inline oe_stat_button" type="action" name="%(action_view_issues)d"
394 context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}"
395 attrs="{'invisible': [('customer', '=', False)]}"
396 icon="fa-bug" groups="project.group_project_user">
397 <field string="Issues" name="issue_count" widget="statinfo"/>