[FIX] crm: create logged calls from tree view registers mobile phone

When a logged call is created from the tree view, the mobile phone of the
partner is not filled in automatically, while it is in the form view.

opw-640549
This commit is contained in:
Nicolas Martinelli 2015-06-09 14:31:43 +02:00
parent 87d48b0859
commit 7360a30b27
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,8 @@
on_change="on_change_partner_id(partner_id)"/>
<field name="partner_phone"
invisible="1"/>
<field name="partner_mobile"
invisible="1"/>
<field name="user_id" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'base.group_sale_salesman_all_leads']}"/>
<field name="categ_id" widget="selection"
domain="[('object_id.model', '=', 'crm.phonecall')]"