[IMP] gamification_sale_crm: change date filed for definition "Logged Calls"

The field date_close is only computed when writing the state done. In v8, the phonecalls are always created in state done if the user is not in the group crm.group_scheduled_calls (displays menus to schedule calls.
As the field date_closed is then almost never set, change the date field by the one displayed in the form view. opw 614893
This commit is contained in:
Martin Trigaux 2014-09-30 11:33:26 +02:00
parent a64af728b2
commit edaff77cc1
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
<field name="computation_mode">count</field>
<field name="suffix">calls</field>
<field name="model_id" eval="ref('crm.model_crm_phonecall')" />
<field name="field_date_id" eval="ref('crm.field_crm_phonecall_date_closed')" />
<field name="field_date_id" eval="ref('crm.field_crm_phonecall_date')" />
<field name="domain">[('user_id','=',user.id),('state','=','done')]</field>
</record>