Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Model of filter must be same as resource model of Campaign error

on 9/29/15, 5:48 AM 358 views


I'm trying to create a marketing campaign and I get this error:

Model of filter must be same as resource model of Campaign

when Marketing Campaign: Segment Sync (cron) is executed.

In log file appears this:

2015-09-29 06:58:08,372 3906 ERROR openerp.addons.base.ir.ir_cron: Call of self.pool.get('marketing.campaign.segment').process_segment(cr, uid, *()) failed in Job 10 Traceback (most recent call last): File "/opt/openerp/v7/addons/base/ir/ir_cron.py", line 136, in _callback method(cr, uid, *args) File "/opt/openerp/v7/addons/marketing_campaign/marketing_campaign.py", line 383, in process_segment self.write(cr, uid, segment.id, {'sync_last_date':action_date}, context=context) File "/opt/openerp/v7/server/openerp/osv/orm.py", line 4282, in write self._validate(cr, user, ids, context) File "/opt/openerp/v7/server/openerp/osv/orm.py", line 1562, in _validate raise except_orm('ValidateError', '\n'.join(error_msgs)) except_orm: ('ValidateError', u'Error occurred while validating the field(s) ir_filter_id,campaign_id: Model of filter must be same as resource model of Campaign ')

I reviewed campaign, segment, and email template and their model is partner... I don't understand what it happens...

Someone could help me, please

Thanks a lot

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 9/29/15, 5:48 AM
Seen: 358 times
Last updated: 9/29/15, 5:48 AM