[FIX] crm: Do not show leads without next activities on NA menu
If nothing is planned for this lead, don't show it on the Next Activities menuitem
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
eval="[(5, 0, 0), (0, 0, {'view_mode': 'tree', 'view_id': ref('crm_lead_view_tree_activity')}),
|
||||
(0, 0, {'view_mode': 'form', 'view_id': ref('crm_case_form_view_oppor')}),
|
||||
(0, 0, {'view_mode': 'kanban'}), (0, 0, {'view_mode': 'calendar'}), (0, 0, {'view_mode': 'pivot'}), (0, 0, {'view_mode': 'graph'})]"/>
|
||||
<field name="domain">[('type','=','opportunity')]</field>
|
||||
<field name="domain">[('type','=','opportunity'), ('date_action', '!=', False)]</field>
|
||||
<field name="context">{
|
||||
'default_type': 'opportunity',
|
||||
'default_user_id': uid,
|
||||
|
||||
Reference in New Issue
Block a user