Skip to content
Snippets Groups Projects
Commit fdb5200d authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[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
parent 32980510
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment