[FIX] marketing_campaign: prevent duplication of campaign until bug in server is fixed
bzr revid: odo@openerp.com-20100820114337-j3611s7k4xo4wkk9
This commit is contained in:
parent
a07a09d5d1
commit
ab04d3bf06
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue