summaryrefslogtreecommitdiff
path: root/addons/utm/security
diff options
context:
space:
mode:
authorqmo-odoo <qmo@odoo.com>2019-08-02 07:56:35 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-02 12:32:35 +0000
commita661b00015557281faca7c88eae4aa5321a2b843 (patch)
tree251c2fb9e07e8341ad551f2efe88acb4a05496e5 /addons/utm/security
parent2d086f5d8fb01f659ede9543dc676e60125477ee (diff)
[REF] utm,mass_mailing: replace mass mailing campaign by utm campaign
PURPOSE This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. We will also add relevant statistics on utm campaign model in order to use it in various applications. SPECIFICATIONS This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. This change implies that mass_mailing.tag and mass_mailing.stage have to move to the utm model along their associated views/data. These changes were made so that campaigns could be used in the future by social, mass_mailing and mass_sms and available in the same view This commit also removes the source_id and the medium_id fields on the campaign. This commit also moves the unique_ab_testing field from the mass_mailing_campaign to the mass_mailing model Task ID: 2002029 PR: #34015
Diffstat (limited to 'addons/utm/security')
-rw-r--r--addons/utm/security/ir.model.access.csv5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/utm/security/ir.model.access.csv b/addons/utm/security/ir.model.access.csv
index 3e31842f9d9..3602e9c8d5b 100644
--- a/addons/utm/security/ir.model.access.csv
+++ b/addons/utm/security/ir.model.access.csv
@@ -1,7 +1,12 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_utm_campaign_user,access_utm_campaign_user,model_utm_campaign,base.group_user,1,1,1,0
+access_utm_campaign_system,utm.campaign.system,model_utm_campaign,base.group_system,1,1,1,1
access_utm_medium_user,access_utm_medium_user,model_utm_medium,base.group_user,1,1,1,0
access_utm_source_user,access_utm_source_user,model_utm_source,base.group_user,1,1,1,0
+access_utm_stage_user,mail.utm.stage,model_utm_stage,base.group_user,1,0,0,0
+access_utm_stage_system,mail.utm.stage,model_utm_stage,base.group_system,1,1,1,1
access_utm_campaign,access_utm_campaign,model_utm_campaign,,1,0,1,0
access_utm_medium,access_utm_medium,model_utm_medium,,1,0,1,0
access_utm_source,access_utm_source,model_utm_source,,1,0,1,0
+access_utm_tag_user,utm.tag,model_utm_tag,base.group_user,1,0,0,0
+access_utm_tag_system,utm.tag,model_utm_tag,base.group_system,1,1,1,1