diff --git a/res_partner_mails_count/__openerp__.py b/res_partner_mails_count/__openerp__.py index 8e67f6b..f2292f1 100644 --- a/res_partner_mails_count/__openerp__.py +++ b/res_partner_mails_count/__openerp__.py @@ -20,7 +20,7 @@ 'version': '0.1', # any module necessary for this one to work correctly - 'depends': ['base', 'mail_sent'], + 'depends': ['base'], # always loaded 'data': [ diff --git a/res_partner_mails_count/templates.xml b/res_partner_mails_count/templates.xml index 2cfcc3a..5adf411 100644 --- a/res_partner_mails_count/templates.xml +++ b/res_partner_mails_count/templates.xml @@ -17,61 +17,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res_partner_mails_count/views/res_partner_mails_count.xml b/res_partner_mails_count/views/res_partner_mails_count.xml index 5731ffc..d9f01d0 100644 --- a/res_partner_mails_count/views/res_partner_mails_count.xml +++ b/res_partner_mails_count/views/res_partner_mails_count.xml @@ -1,52 +1,29 @@ - + Mails from - mail.wall mail.message + tree,form { - 'search_default_model': False, - 'default_model': 'res.users', - 'default_res_id': uid, - 'thread_model': 'res.partner', - 'active_model': False, + 'active_test': False, } -

- No private message. -

- This list contains messages sent to you. + Mails from

- + Mails to - mail.wall + mail.message + tree,form { - 'default_model': 'res.users', - 'default_res_id': uid, - 'thread_model': 'res.partner', - 'needaction_menu_ref': ['mail.mail_tomefeeds'] + 'active_test': False, } -

- No message found and no message sent yet. -

- Click on the top-right icon to compose a message. This - message will be sent by email if it's an internal contact. + Mails to