[IMP]CRM Action: from partner you should see the whole computed domain, and draft only per default

This commit is contained in:
Fabien BOURGEOIS 2018-03-13 10:10:09 +01:00
parent 21db045488
commit 276c7a066f
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
{
'name': 'CRM Actions',
'summary': 'Action management, instead of new activity, in CRM',
'version': '10.0.1.3.3',
'version': '10.0.1.3.4',
'category': 'Sales',
'author': 'Fabien BOURGEOIS - Yaltik',
'license': 'AGPL-3',

View File

@ -58,5 +58,5 @@ class ResPartner(models.Model):
'view_mode': 'tree,form,calendar',
'res_model': 'crm.action',
'context': {'default_partner_id': partner.id,
'search_default_partner_id': partner.id},
'search_default_draft_only': 1},
'domain': domain}