diff options
| author | Thibault Delavallée <tde@odoo.com> | 2017-01-10 09:41:50 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-02-21 16:41:14 +0100 |
| commit | 927fbe8845a91245b17d5834ea5ac6c95d62233d (patch) | |
| tree | b1709497272f57d9d2d3de7781420c73f904be74 /addons/note/data/note_data.xml | |
| parent | 80d26e26bba6cb3140e47eb4bb1933a5dfdbe144 (diff) | |
[IMP] mail: make tests less dependent on mail.channel model
Currently almost all mail tests run on mail.channel model. Indeed it is
the only model inheriting from mail.thread and mail.alias when having only
mail installed. However channel model have several specific features and
is not totally a standard mail.thread model. For example notification
recipients are computed a bit differently.
Since 4f9105a4ef40bccd3b27a6a10cc612636a6499f7 mail module has a test
model allowing to perform tests on a very simple mail.thread-like model.
This commit make mail tests use this test model instead of mail.channel
everywhere it is possible. Channel model should be used only when tests
are channel-dependent.
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions
