diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-05-29 10:22:20 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-07-09 11:12:50 +0200 |
| commit | 2c36354ca9c3939cc222e4fdad4adba6d3c0e315 (patch) | |
| tree | 715738733d34bf049299495397c357609c4a29ef /addons/portal | |
| parent | a316295e36f7c994facfee5b13f1704812a91244 (diff) | |
[RENAME] mail, website_mail, website_mail_group, various: mail.group
model has been renamed to mail.channel to prepare the slack modeling.
In future commits the mail.group model will be merged with the channel
model from im_chat. The first move is to rename mail.group into
mail.channel to have a model that will unite both features.
Diffstat (limited to 'addons/portal')
| -rw-r--r-- | addons/portal/tests/test_portal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/portal/tests/test_portal.py b/addons/portal/tests/test_portal.py index 65703cd973d..46223c9096d 100644 --- a/addons/portal/tests/test_portal.py +++ b/addons/portal/tests/test_portal.py @@ -14,7 +14,7 @@ class test_portal(TestMail): # Do: Chell creates a mail.compose.message record on Pigs, because he uses the wizard compose = self.env['mail.compose.message'].with_context({ 'default_composition_mode': 'comment', - 'default_model': 'mail.group', + 'default_model': 'mail.channel', 'default_res_id': self.group_portal.id }).sudo(self.user_portal).create({ 'subject': 'Subject', @@ -41,7 +41,7 @@ class test_portal(TestMail): # Do: create a mail_wizard_invite, validate it self._init_mock_build_email() mail_invite = self.env['mail.wizard.invite'].with_context({ - 'default_res_model': 'mail.group', + 'default_res_model': 'mail.channel', 'default_res_id': group_pigs.id}).create({ 'partner_ids': [(4, partner_carine.id)], 'send_mail': True}) mail_invite.add_followers() |
