diff options
| author | Haresh Shyara <hsh@odoo.com> | 2016-10-26 11:43:26 +0530 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2016-12-06 15:39:06 +0100 |
| commit | bc3d55550cc8fee6e6f750f0e292fa4343cab403 (patch) | |
| tree | e6f7f21d1d23d22d571c6c9216bd86c1765ff983 /addons/project_issue/views/project_issue_views.xml | |
| parent | 4b877547ef6267f9710a4b8138b4eb71e8dec5ab (diff) | |
[IMP] project, project_issue: tasks and issue stat button on partner view
- Use read_group to compute task_count of res.partner
for performance sake
- When creating a task/issue from partner form view,
the default partner will be the current one (event if
the use case is rare)
- Only display button when count is greater than 0
- Also avoid default 'My Tasks' filter when coming from
partner form view
Diffstat (limited to 'addons/project_issue/views/project_issue_views.xml')
| -rw-r--r-- | addons/project_issue/views/project_issue_views.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/project_issue/views/project_issue_views.xml b/addons/project_issue/views/project_issue_views.xml index afae340ff87..b35ba29dc73 100644 --- a/addons/project_issue/views/project_issue_views.xml +++ b/addons/project_issue/views/project_issue_views.xml @@ -282,6 +282,13 @@ </field> </record> + <record id="project_issue_action_from_partner" model="ir.actions.act_window"> + <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</field> + </record> + <record id="project_issue_categ_act0" model="ir.actions.act_window"> <field name="name">Issues</field> <field name="res_model">project.issue</field> |
