[FIX] crm: fixed view that have an onchange function returning a field which is not in the view

bzr revid: qdp-launchpad@openerp.com-20121004160010-9vk5ox9nzivzkmak
This commit is contained in:
Quentin (OpenERP)
2012-10-04 18:00:10 +02:00
parent c8c7c87c98
commit bcbf69225f
+1
View File
@@ -140,6 +140,7 @@
<field name="duration" widget="float_time"/>
<field name="section_id" colspan="1" widget="selection"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
<field name="email_from" invisible="1"/> <!--not needed because of the chatter, thus invisible, but must be in the view as it's returned by onchange_partner_id()-->
<field name="categ_id" widget="selection"
domain="[('object_id.model', '=', 'crm.phonecall')]"/>
<field name="partner_mobile"/>