summaryrefslogtreecommitdiff
path: root/odoo/addons/base/security/base_security.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2017-09-13 15:18:12 +0200
committerYannick Tivisse <yti@odoo.com>2017-09-15 15:56:23 +0200
commit51b5ee7c3c1bbc08c5aa284300fd95f63cbf7ad1 (patch)
tree20e8d4393155038da314b6071ec04bb43af60b74 /odoo/addons/base/security/base_security.xml
parente9fca14452273be1807d3b47f6220f563c343481 (diff)
[IMP] mass_mailing: choose model among all chatter models
This commit removes the strange selection box based on a magic flag and some strange methods returning a string. Instead just allow to send mass mailing on all models inheriting from mail.thread using the is mail thread flag. Various addons are updated to remove the _mail_mass_mailing class attribute used to determine mass mailing capability. We consider people could send a mass mailing on every model inheriting from mail.thread. It makes no sense to limit it to a given set of addons.
Diffstat (limited to 'odoo/addons/base/security/base_security.xml')
-rw-r--r--odoo/addons/base/security/base_security.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/security/base_security.xml b/odoo/addons/base/security/base_security.xml
index 6ac1efaac5b..3330118f354 100644
--- a/odoo/addons/base/security/base_security.xml
+++ b/odoo/addons/base/security/base_security.xml
@@ -84,7 +84,7 @@
<record model="ir.rule" id="res_partner_rule">
<field name="name">res.partner company</field>
- <field name="model_id" ref="model_res_partner"/>
+ <field name="model_id" ref="base.model_res_partner"/>
<!--
Show partners from ancestors and descendants companies
(or company-less), this is usually a better default for