diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-04-16 15:03:56 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-04-16 15:03:56 +0200 |
| commit | fdb5200d807fda730e2758d64a4a8d1174ea51ca (patch) | |
| tree | 6c081eea1ac1224d36ae5cbf6bde5e1fe33d0388 | |
| parent | 3298051016f3e43799d27b7c4eb874a50c58fe66 (diff) | |
[FIX] crm_todo: usability fix: the lead was not present
in the task form view, but in the tree view, it is now present in both view when coming from 'my tasks' in crm menu.
lp bug: https://launchpad.net/bugs/1256392 fixed
bzr revid: tde@openerp.com-20140416130356-i3a5pqcib8smdx47
| -rw-r--r-- | addons/crm_todo/crm_todo_view.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/crm_todo/crm_todo_view.xml b/addons/crm_todo/crm_todo_view.xml index 0b3de338808..0d1fd30fc5f 100644 --- a/addons/crm_todo/crm_todo_view.xml +++ b/addons/crm_todo/crm_todo_view.xml @@ -42,6 +42,17 @@ </field> </record> + <record model="ir.ui.view" id="project_task_crm_form"> + <field name="name">project.task.form.crm</field> + <field name="model">project.task</field> + <field name="priority">20</field> + <field name="inherit_id" ref="project.view_task_form2" /> + <field name="arch" type="xml"> + <field name="partner_id" position="after"> + <field name="lead_id" invisible="not context.get('lead_id', False)"/> + </field> + </field> + </record> <record model="ir.actions.act_window" id="crm_todo_action"> <field name="name">My Tasks</field> |
