2010-04-19 08:38:25 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
2012-06-13 13:15:07 +00:00
|
|
|
<menuitem id="menu_project_confi" name="Issues" parent="base.menu_definitions" sequence="2"/>
|
2010-09-28 12:50:08 +00:00
|
|
|
|
|
|
|
<record model="ir.ui.view" id="project_issue_version_search_view">
|
|
|
|
<field name="name">Issue Version</field>
|
|
|
|
<field name="model">project.issue.version</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Issue Version">
|
2012-06-22 11:12:51 +00:00
|
|
|
<field name="name" string="Issue Version"/>
|
2010-09-28 12:50:08 +00:00
|
|
|
<field name="active"/>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="project_issue_version_form_view">
|
|
|
|
<field name="name">Issue Version</field>
|
|
|
|
<field name="model">project.issue.version</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Issue Version">
|
2012-06-09 15:59:35 +00:00
|
|
|
<group col="2">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="active"/>
|
|
|
|
</group>
|
2010-09-28 12:50:08 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
<record id="project_issue_version_action" model="ir.actions.act_window">
|
|
|
|
<field name="name">Versions</field>
|
|
|
|
<field name="res_model">project.issue.version</field>
|
|
|
|
<field name="view_type">form</field>
|
2012-08-04 14:35:56 +00:00
|
|
|
<field name="help" type="html">
|
2012-08-04 13:56:31 +00:00
|
|
|
<p class="oe_view_nocontent_create">
|
2012-08-04 13:21:36 +00:00
|
|
|
Click to add a new version.
|
|
|
|
</p><p>
|
|
|
|
Define here the different versions of your products on which
|
|
|
|
you can work on issues.
|
|
|
|
</p>
|
|
|
|
</field>
|
2010-09-28 12:50:08 +00:00
|
|
|
</record>
|
2012-03-16 10:15:31 +00:00
|
|
|
<menuitem action="project_issue_version_action" id="menu_project_issue_version_act" parent="menu_project_confi" groups="base.group_no_one"/>
|
2010-05-27 09:26:52 +00:00
|
|
|
|
2010-09-01 09:49:27 +00:00
|
|
|
|
2010-04-19 08:38:25 +00:00
|
|
|
<record model="ir.ui.view" id="project_issue_form_view">
|
|
|
|
<field name="name">Project Issue Tracker Form</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Issue">
|
2012-06-04 12:11:39 +00:00
|
|
|
<header>
|
2013-11-27 09:53:00 +00:00
|
|
|
<field name="stage_id" widget="statusbar" clickable="True"
|
|
|
|
options="{'fold_field': 'fold'}"/>
|
2012-06-04 12:11:39 +00:00
|
|
|
</header>
|
2012-06-09 15:59:35 +00:00
|
|
|
<sheet string="Issue">
|
2014-08-21 10:53:47 +00:00
|
|
|
<div class="oe_right">
|
2014-05-08 15:34:32 +00:00
|
|
|
<field name="kanban_state" class="oe_inline" widget="kanban_state_selection"/>
|
2014-05-08 06:41:14 +00:00
|
|
|
</div>
|
2012-06-19 08:56:18 +00:00
|
|
|
<label for="name" class="oe_edit_only"/>
|
2013-02-25 16:30:25 +00:00
|
|
|
<h1>
|
|
|
|
<field name="name" class="oe_inline"/>
|
|
|
|
</h1>
|
2013-02-26 14:17:01 +00:00
|
|
|
<label for="categ_ids" class="oe_edit_only"/>
|
|
|
|
<field name="categ_ids" widget="many2many_tags"/>
|
2012-06-09 15:59:35 +00:00
|
|
|
<group>
|
2013-05-24 14:18:40 +00:00
|
|
|
<group>
|
2014-08-21 10:53:47 +00:00
|
|
|
<field name="user_id"
|
2013-09-04 14:11:22 +00:00
|
|
|
context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'project.group_project_user']}"/>
|
2013-10-17 11:35:03 +00:00
|
|
|
<field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
|
2012-06-09 15:59:35 +00:00
|
|
|
<field name="email_from"/>
|
2013-05-24 14:18:40 +00:00
|
|
|
<label for="project_id"/>
|
|
|
|
<div>
|
2012-11-20 07:45:52 +00:00
|
|
|
<field name="project_id" on_change="on_change_project(project_id)" class="oe_inline" context="{'default_use_issues':1}"/>
|
2013-06-26 15:52:17 +00:00
|
|
|
<button name="case_escalate" string="⇒ Escalate" type="object" class="oe_link"
|
2013-05-24 14:18:40 +00:00
|
|
|
groups="base.group_user"/>
|
2012-09-07 08:33:36 +00:00
|
|
|
</div>
|
2012-11-29 16:25:31 +00:00
|
|
|
</group>
|
|
|
|
<group>
|
2013-02-26 14:17:01 +00:00
|
|
|
<field name="id"/>
|
2012-11-29 16:25:31 +00:00
|
|
|
<field name="version_id" groups="base.group_user"/>
|
2014-02-21 12:21:21 +00:00
|
|
|
<field name="priority" groups="base.group_user" widget="priority"/>
|
2012-11-20 13:08:24 +00:00
|
|
|
<label for="task_id" groups="base.group_user"/>
|
|
|
|
<div groups="base.group_user">
|
2012-07-16 04:46:13 +00:00
|
|
|
<field name="task_id" on_change="onchange_task_id(task_id)" class="oe_inline" context="{'default_project_id':project_id}"/>
|
2012-07-12 14:46:00 +00:00
|
|
|
<field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}" class="oe_inline"/>
|
|
|
|
</div>
|
2012-03-05 12:03:41 +00:00
|
|
|
</group>
|
2010-04-19 08:38:25 +00:00
|
|
|
</group>
|
2012-07-12 14:46:00 +00:00
|
|
|
<notebook>
|
|
|
|
<page string="Description">
|
2012-11-29 16:14:58 +00:00
|
|
|
<field name="description" placeholder="Add an internal note..." groups="base.group_user"/>
|
2012-07-12 14:46:00 +00:00
|
|
|
</page>
|
2013-01-18 13:30:50 +00:00
|
|
|
<page string="Extra Info" groups="project.group_project_manager,project.group_project_user">
|
2014-08-06 09:36:54 +00:00
|
|
|
<group>
|
|
|
|
<group string="Statistics">
|
|
|
|
<field name="day_open"/>
|
|
|
|
<field name="day_close"/>
|
|
|
|
<field name="working_hours_open" widget="float_time"/>
|
|
|
|
<field name="working_hours_close" widget="float_time"/>
|
|
|
|
<field name="inactivity_days"/>
|
|
|
|
<field name="days_since_creation"/>
|
|
|
|
</group>
|
|
|
|
<group string="Status" groups="base.group_no_one">
|
|
|
|
<field name="active"/>
|
|
|
|
</group>
|
2012-06-22 11:46:01 +00:00
|
|
|
</group>
|
2010-06-09 05:49:31 +00:00
|
|
|
</page>
|
2010-04-19 08:38:25 +00:00
|
|
|
</notebook>
|
2012-05-16 05:13:29 +00:00
|
|
|
</sheet>
|
2012-07-13 09:53:41 +00:00
|
|
|
<div class="oe_chatter">
|
2012-11-20 08:44:46 +00:00
|
|
|
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/>
|
2012-10-26 09:58:21 +00:00
|
|
|
<field name="message_ids" widget="mail_thread"/>
|
2012-07-13 09:53:41 +00:00
|
|
|
</div>
|
2010-04-19 08:38:25 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2010-07-02 14:37:06 +00:00
|
|
|
|
2010-04-19 08:38:25 +00:00
|
|
|
<record model="ir.ui.view" id="project_issue_tree_view">
|
|
|
|
<field name="name">Project Issue Tracker Tree</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="arch" type="xml">
|
2013-06-26 15:52:17 +00:00
|
|
|
<tree string="Issue Tracker Tree" fonts="bold:message_unread==True">
|
2012-08-16 09:26:16 +00:00
|
|
|
<field name="message_unread" invisible="1"/>
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="id"/>
|
|
|
|
<field name="name"/>
|
2012-04-25 14:02:12 +00:00
|
|
|
<field name="partner_id"/>
|
2012-05-04 09:40:19 +00:00
|
|
|
<field name="project_id"/>
|
2012-06-01 15:07:18 +00:00
|
|
|
<field name="priority" string="Priority" groups="base.group_user"/>
|
2013-02-20 08:59:21 +00:00
|
|
|
<field name="create_date"/>
|
2010-09-28 12:50:08 +00:00
|
|
|
<field name="version_id" widget="selection"/>
|
2011-08-30 08:45:10 +00:00
|
|
|
<field name="user_id"/>
|
2010-09-30 14:41:19 +00:00
|
|
|
<field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
|
2012-05-31 15:15:56 +00:00
|
|
|
<field name="stage_id" widget="selection" readonly="1"/>
|
2012-07-11 13:21:30 +00:00
|
|
|
<field name="categ_ids" invisible="1"/>
|
2011-11-15 10:39:27 +00:00
|
|
|
<field name="task_id" invisible="1"/>
|
2010-04-19 08:38:25 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="view_project_issue_filter" model="ir.ui.view">
|
|
|
|
<field name="name">Project Issue Tracker Search</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Issue Tracker Search">
|
2013-04-22 15:34:49 +00:00
|
|
|
<field name="name" string="Issue" filter_domain="['|', '|', '|', ('partner_id','child_of',self), ('description','ilike',self),('email_from','ilike',self),('name','ilike',self)]"/>
|
2012-07-23 06:45:37 +00:00
|
|
|
<field name="id"/>
|
2014-04-22 16:20:28 +00:00
|
|
|
<field name="partner_id" operator="child_of"/>
|
2013-07-10 12:25:26 +00:00
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="project_id"/>
|
|
|
|
<field name="categ_ids"/>
|
2013-07-11 12:06:51 +00:00
|
|
|
<field name="stage_id" domain="[]"/>
|
2014-07-01 08:32:01 +00:00
|
|
|
<filter string="My Issues" domain="[('user_id','=',uid)]"/>
|
|
|
|
<filter string="Unassigned" name="unassigned" domain="[('user_id', '=', False)]"/>
|
|
|
|
<separator/>
|
|
|
|
<filter string="New" name="draft" domain="[('stage_id.sequence', '=', 1)]"/>
|
|
|
|
<separator/>
|
|
|
|
<filter string="New Mail" name="message_unread" domain="[('message_unread','=',True)]"/>
|
2014-05-22 09:44:35 +00:00
|
|
|
<group expand="0" string="Group By" >
|
2014-08-21 10:53:47 +00:00
|
|
|
<filter string="Assigned to" name="Responsible" context="{'group_by':'user_id'}" />
|
|
|
|
<filter string="Project" name="project" context="{'group_by':'project_id'}" />
|
|
|
|
<filter string="Task" context="{'group_by':'task_id'}"/>
|
|
|
|
<filter string="Priority" context="{'group_by':'priority'}" />
|
|
|
|
<filter string="Stage" context="{'group_by':'stage_id'}"/>
|
|
|
|
<filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
|
|
|
|
<separator/>
|
|
|
|
<filter string="Create Day" context="{'group_by':'create_date:day'}" help="Create Date"/>
|
|
|
|
<filter string="Last Message" name="group_message_last_post" context="{'group_by':'message_last_post:week'}"/>
|
2010-06-12 17:49:33 +00:00
|
|
|
</group>
|
2010-04-19 08:38:25 +00:00
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.ui.view" id="project_issue_calendar_view">
|
|
|
|
<field name="name">Project Issue Tracker Calendar</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="priority" eval="2"/>
|
|
|
|
<field name="arch" type="xml">
|
2011-08-30 08:45:10 +00:00
|
|
|
<calendar string="Issues" date_start="date" color="user_id" date_delay="duration">
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="name"/>
|
|
|
|
<field name="partner_id"/>
|
|
|
|
</calendar>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2011-09-15 12:36:42 +00:00
|
|
|
|
2012-07-09 15:54:24 +00:00
|
|
|
<!-- Project Issue Karban View-->
|
2011-09-15 12:36:42 +00:00
|
|
|
|
2012-07-09 15:54:24 +00:00
|
|
|
<record model="ir.ui.view" id="project_issue_kanban_view">
|
|
|
|
<field name="name">Project Issue Kanban</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<kanban default_group_by="stage_id">
|
2012-08-16 16:31:05 +00:00
|
|
|
<field name="stage_id"/>
|
2012-07-09 15:54:24 +00:00
|
|
|
<field name="color"/>
|
|
|
|
<field name="user_email"/>
|
|
|
|
<field name="user_id"/>
|
|
|
|
<field name="date_deadline"/>
|
2012-12-04 07:32:44 +00:00
|
|
|
<field name="kanban_state"/>
|
2013-02-14 14:34:17 +00:00
|
|
|
<field name="message_summary"/>
|
2012-07-09 15:54:24 +00:00
|
|
|
<templates>
|
|
|
|
<t t-name="kanban-tooltip">
|
2012-09-06 10:46:24 +00:00
|
|
|
<ul class="oe_kanban_tooltip">
|
2012-07-09 15:54:24 +00:00
|
|
|
<li><b>Project:</b> <field name="project_id"/></li>
|
2012-07-11 13:21:30 +00:00
|
|
|
<li><b>Category:</b> <field name="categ_ids"/></li>
|
2012-07-09 15:54:24 +00:00
|
|
|
</ul>
|
|
|
|
</t>
|
|
|
|
<t t-name="kanban-box">
|
2012-09-04 16:37:25 +00:00
|
|
|
<div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_global_click oe_semantic_html_override">
|
2012-11-26 13:36:42 +00:00
|
|
|
<div class="oe_dropdown_toggle oe_dropdown_kanban" groups="base.group_user">
|
2012-07-09 15:54:24 +00:00
|
|
|
<span class="oe_e">i</span>
|
|
|
|
<ul class="oe_dropdown_menu">
|
2012-09-04 14:12:04 +00:00
|
|
|
<t t-if="widget.view.is_action_enabled('edit')"><li><a type="edit">Edit...</a></li></t>
|
|
|
|
<t t-if="widget.view.is_action_enabled('delete')"><li><a type="delete">Delete</a></li></t>
|
2012-07-09 15:54:24 +00:00
|
|
|
<li><ul class="oe_kanban_colorpicker" data-field="color"/></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="oe_kanban_content" tooltip="kanban-tooltip">
|
|
|
|
<div>
|
|
|
|
<b><field name="name"/></b> <br/>
|
|
|
|
<field name="partner_id"/> <br/>
|
|
|
|
<field name="version_id"/>
|
|
|
|
</div>
|
2014-05-08 15:25:36 +00:00
|
|
|
<div class="oe_kanban_bottom_right">
|
|
|
|
<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"/>
|
|
|
|
<div class="pull-left" groups="base.group_user">
|
2014-05-08 15:34:32 +00:00
|
|
|
<field name="kanban_state" widget="kanban_state_selection"/>
|
2014-05-08 15:25:36 +00:00
|
|
|
<field name="priority" widget="priority"/>
|
2012-07-09 15:54:24 +00:00
|
|
|
</div>
|
2011-09-15 12:36:42 +00:00
|
|
|
</div>
|
2013-02-14 14:34:17 +00:00
|
|
|
<div class="oe_kanban_footer_left">
|
2014-05-08 15:25:36 +00:00
|
|
|
<field name="categ_ids"/>
|
2013-02-14 14:34:17 +00:00
|
|
|
<t t-raw="record.message_summary.raw_value"/>
|
|
|
|
</div>
|
2011-09-16 13:13:02 +00:00
|
|
|
</div>
|
2012-07-09 15:54:24 +00:00
|
|
|
<div class="oe_clear"></div>
|
2011-09-16 13:13:02 +00:00
|
|
|
</div>
|
2012-07-09 15:54:24 +00:00
|
|
|
</t>
|
|
|
|
</templates>
|
|
|
|
</kanban>
|
|
|
|
</field>
|
|
|
|
</record>
|
2011-09-15 12:36:42 +00:00
|
|
|
|
2014-08-21 10:53:47 +00:00
|
|
|
<record model="ir.ui.view" id="project_issue_graph_view">
|
|
|
|
<field name="name">Project Issue Tracker Graph</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph string="Project Issues" type="bar">
|
|
|
|
<field name="project_id" type="row"/>
|
|
|
|
<field name="create_date" interval="month" type="col"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2011-09-15 12:36:42 +00:00
|
|
|
|
2012-07-25 18:16:10 +00:00
|
|
|
<!-- Feature Requests -->
|
2010-04-19 08:38:25 +00:00
|
|
|
<record model="ir.ui.view" id="project_feature_tree_view">
|
|
|
|
<field name="name">Project Issue- Feature Tracker Tree</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="arch" type="xml">
|
2013-06-26 15:52:17 +00:00
|
|
|
<tree string="Feature Tracker Tree" fonts="bold:message_unread==True">
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="id"/>
|
2012-08-16 09:26:16 +00:00
|
|
|
<field name="message_unread" invisible="1"/>
|
2010-04-19 08:38:25 +00:00
|
|
|
<field name="name" string="Feature description"/>
|
2012-04-25 14:02:12 +00:00
|
|
|
<field name="partner_id"/>
|
2010-09-22 07:58:44 +00:00
|
|
|
<field name="priority" string="Priority"/>
|
2010-09-28 12:50:08 +00:00
|
|
|
<field name="version_id"/>
|
2011-08-30 08:45:10 +00:00
|
|
|
<field name="user_id"/>
|
2012-05-31 15:15:56 +00:00
|
|
|
<field name="stage_id" widget="selection" readonly="1"/>
|
2010-04-19 08:38:25 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-09-19 13:24:54 +00:00
|
|
|
<record id="act_project_project_2_project_issue_all" model="ir.actions.act_window">
|
|
|
|
<field name="res_model">project.issue</field>
|
|
|
|
<field name="view_type">form</field>
|
2012-09-27 17:36:41 +00:00
|
|
|
<field name="name">Issues</field>
|
2012-09-19 13:24:54 +00:00
|
|
|
<field name="view_mode">kanban,tree,form,calendar,graph</field>
|
2013-01-23 11:43:36 +00:00
|
|
|
<field name="context">{
|
2014-08-21 10:53:47 +00:00
|
|
|
'search_default_project_id': [active_id],
|
2013-04-03 08:10:09 +00:00
|
|
|
'default_project_id': active_id,
|
|
|
|
}
|
|
|
|
</field>
|
2013-01-23 11:43:36 +00:00
|
|
|
<field name="help" type="html">
|
2013-04-03 08:10:09 +00:00
|
|
|
<p>
|
2014-07-09 11:39:38 +00:00
|
|
|
The Odoo issues tacker allows you to efficiantly manage things
|
2013-04-03 08:10:09 +00:00
|
|
|
like internal requests, software development bugs, customer
|
|
|
|
complaints, project troubles, material breakdowns, etc.
|
|
|
|
</p>
|
2013-01-23 11:43:36 +00:00
|
|
|
</field>
|
2012-09-19 13:24:54 +00:00
|
|
|
</record>
|
2010-04-19 08:38:25 +00:00
|
|
|
|
2012-07-25 18:16:10 +00:00
|
|
|
<!-- Project -->
|
2010-07-26 09:41:14 +00:00
|
|
|
<record id="view_project_form_inherited" model="ir.ui.view">
|
|
|
|
<field name="name">project.project.form.inherited</field>
|
|
|
|
<field name="model">project.project</field>
|
|
|
|
<field name="inherit_id" ref="project.edit_project"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-08-30 07:49:03 +00:00
|
|
|
<xpath expr='//div[@name="options_active"]' position='inside'>
|
2013-05-21 10:36:30 +00:00
|
|
|
<field name="use_issues" class="oe_inline"
|
|
|
|
on_change="on_change_use_tasks_or_issues(use_tasks, use_issues)"/>
|
2012-08-30 07:49:03 +00:00
|
|
|
<label for="use_issues"/>
|
|
|
|
</xpath>
|
|
|
|
<xpath expr='//div[@name="buttons"]' position='inside'>
|
2014-08-21 10:53:47 +00:00
|
|
|
<button class="oe_inline oe_stat_button" type="action" attrs="{'invisible':[('use_issues','=', 0)]}"
|
2014-03-20 09:46:14 +00:00
|
|
|
name="%(act_project_project_2_project_issue_all)d" icon="fa-bug">
|
2014-03-20 11:20:17 +00:00
|
|
|
<field string="Issues" name="issue_count" widget="statinfo"/>
|
2014-03-20 09:46:14 +00:00
|
|
|
</button>
|
2012-05-30 06:59:34 +00:00
|
|
|
</xpath>
|
2013-02-21 14:53:04 +00:00
|
|
|
<xpath expr='//page[@name="project_stages"]' position="attributes">
|
2013-02-21 15:20:07 +00:00
|
|
|
<attribute name="attrs">{'invisible': [('use_tasks', '=', False),('use_issues','=',False)]}</attribute>
|
2013-02-22 16:57:30 +00:00
|
|
|
</xpath>
|
2013-05-21 10:36:30 +00:00
|
|
|
<xpath expr='//field[@name="use_tasks"]' position="attributes">
|
|
|
|
<attribute name="attrs">{'on_change': 'on_change_use_tasks_or_issues(use_tasks, use_issues)'}</attribute>
|
|
|
|
</xpath>
|
2013-03-22 09:37:35 +00:00
|
|
|
<field name="sequence" position="before">
|
2010-07-26 09:41:14 +00:00
|
|
|
<field name="project_escalation_id"/>
|
|
|
|
</field>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-09 15:54:24 +00:00
|
|
|
|
2012-03-28 06:08:12 +00:00
|
|
|
<record id="view_project_kanban_inherited" model="ir.ui.view">
|
|
|
|
<field name="name">project.project.kanban.inherited</field>
|
|
|
|
<field name="model">project.project</field>
|
|
|
|
<field name="inherit_id" ref="project.view_project_kanban"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-05-07 07:20:49 +00:00
|
|
|
<field name="use_tasks" position="after">
|
|
|
|
<field name="use_issues"/>
|
2013-10-18 13:21:20 +00:00
|
|
|
<field name="issue_ids" invisible="1"/>
|
2012-03-28 06:51:36 +00:00
|
|
|
</field>
|
2012-05-22 15:58:15 +00:00
|
|
|
<xpath expr="//div[contains(@class, 'oe_kanban_project_list')]" position="inside">
|
2012-10-28 08:35:08 +00:00
|
|
|
<a t-if="record.use_issues.raw_value" style="margin-right: 10px"
|
2012-05-22 15:58:15 +00:00
|
|
|
name="%(act_project_project_2_project_issue_all)d" type="action">
|
2014-07-01 07:35:27 +00:00
|
|
|
<t t-raw="record.issue_ids.raw_value.length"/> Issues
|
2012-10-31 06:05:13 +00:00
|
|
|
</a>
|
2012-03-28 06:08:12 +00:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-09 15:54:24 +00:00
|
|
|
|
|
|
|
<record id="analytic_account_inherited_issue_form" model="ir.ui.view">
|
2012-05-28 12:30:54 +00:00
|
|
|
<field name="name">account.analytic.account.issue.form.inherit</field>
|
|
|
|
<field name="model">account.analytic.account</field>
|
2012-06-04 10:33:42 +00:00
|
|
|
<field name="inherit_id" ref="project.analytic_account_inherited_form"/>
|
2012-05-28 12:30:54 +00:00
|
|
|
<field eval="18" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
2012-08-29 19:08:31 +00:00
|
|
|
<xpath expr='//div[@name="project"]' position='inside'>
|
2012-07-12 13:10:02 +00:00
|
|
|
<field name="use_issues"/>
|
2012-08-29 19:08:31 +00:00
|
|
|
<label for="use_issues"/>
|
2012-05-28 12:30:54 +00:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-07-25 18:16:10 +00:00
|
|
|
|
2013-06-14 12:10:20 +00:00
|
|
|
<record id="action_view_issues" model="ir.actions.act_window">
|
2013-05-31 05:46:02 +00:00
|
|
|
<field name="res_model">project.issue</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="name">Issues</field>
|
|
|
|
<field name="view_mode">kanban,tree,form,calendar,graph</field>
|
|
|
|
<field name="help" type="html">
|
|
|
|
<p>
|
2014-07-09 11:39:38 +00:00
|
|
|
The Odoo issues tacker allows you to efficiantly manage things
|
2013-05-31 05:46:02 +00:00
|
|
|
like internal requests, software development bugs, customer
|
|
|
|
complaints, project troubles, material breakdowns, etc.
|
|
|
|
</p>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2013-02-25 16:43:03 +00:00
|
|
|
<!-- res.partner -->
|
2013-02-25 15:08:18 +00:00
|
|
|
<record model="ir.ui.view" id="res_partner_issues_button_view">
|
|
|
|
<field name="name">res.partner.issues.button.view</field>
|
|
|
|
<field name="model">res.partner</field>
|
|
|
|
<field name="inherit_id" ref="base.view_partner_form" />
|
2013-05-31 05:46:02 +00:00
|
|
|
<field name="priority" eval="50"/>
|
2013-02-25 15:08:18 +00:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//div[@name='buttons']" position="inside">
|
2014-08-21 10:53:47 +00:00
|
|
|
<button class="oe_inline oe_stat_button" type="action" name="%(action_view_issues)d"
|
2013-06-14 12:10:20 +00:00
|
|
|
context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}"
|
2014-03-20 13:44:14 +00:00
|
|
|
attrs="{'invisible': [('customer', '=', False)]}"
|
|
|
|
icon="fa-bug" groups="project.group_project_user">
|
|
|
|
<field string="Issues" name="issue_count" widget="statinfo"/>
|
2014-08-21 10:53:47 +00:00
|
|
|
</button>
|
|
|
|
|
|
|
|
|
2013-02-25 15:08:18 +00:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2010-04-19 08:38:25 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|