<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<page string="History" position="inside">
- <field name="opportunity_ids" colspan="4" nolabel="1">
+ <field name="opportunity_ids" colspan="4" nolabel="1" context="{'default_partner_id': active_id}">
<tree string="Leads and Opportunities" colors="blue:state=='pending';gray:state=='cancel'">
<field name="create_date"/>
<field name="name"/>
icon="gtk-cancel" />
</tree>
</field>
- <field name="meeting_ids" colspan="4" nolabel="1" >
+ <field name="meeting_ids" colspan="4" nolabel="1" context="{'default_partner_id': active_id}">
<tree string="Meetings" colors="gray:state in ('draft', 'cancel','done','pending')">
<field name="user_id" string="Responsible"/>
<field name="name" string="Subject" />
<field name="date_deadline" string="End Date"/>
</tree>
</field>
- <field name="phonecall_ids" colspan="4" nolabel="1">
+ <field name="phonecall_ids" colspan="4" nolabel="1" context="{'default_partner_id': active_id}">
<tree string="Phone Calls" colors="gray:state in ('draft', 'cancel','done','pending')">
<field name="date" string="Date"/>
<field name="name" string="Call Summary"/>