diff --git a/addons/marketing_campaign/marketing_campaign.py b/addons/marketing_campaign/marketing_campaign.py index c1674f85cc3..d9b87e91347 100644 --- a/addons/marketing_campaign/marketing_campaign.py +++ b/addons/marketing_campaign/marketing_campaign.py @@ -203,6 +203,10 @@ Normal - the campaign runs normally and automatically sends all emails and repor return record return None + # prevent duplication until the server properly duplicates several levels of nested o2m + def copy(self, cr, uid, id, default=None, context=None): + raise osv.except_osv("Operation not supported", "Sorry, campaign duplication is not supported at the moment.") + marketing_campaign() class marketing_campaign_segment(osv.osv):