[FIX] crm: when creating a new crm.case.categ from the lead form view, link it to the right object

bzr revid: qdp-launchpad@openerp.com-20130307103349-tn3w1kj0wipxaekm
This commit is contained in:
Quentin (OpenERP) 2013-03-07 11:33:49 +01:00
parent 09714dc7b1
commit c33742417d
1 changed files with 3 additions and 1 deletions

View File

@ -163,7 +163,9 @@
<field name="priority"/>
<field name="categ_ids"
widget="many2many_tags"
domain="[('object_id.model','=','crm.lead')]"/>
domain="[('object_id.model','=','crm.lead')]"
context="{'object_name': 'crm.lead'}"
/>
</group>
</group>
<notebook colspan="4">