Odoo Help


Got error " Field `message_follower_ids` does not exist" without not calling this field in view

Phong Vy
on 11/22/16, 5:48 AM 308 views

this is my view file

 <record id='social_insurance_tab' model='ir.ui.view'>
     <field name='social.insurance.tab'></field>

     <field name='model'>hr.insurance</field>

    <field name='inherit_id' ref='hr.view_employee_form'></field>

    <field name='arch' type='xml'>


             <xpath expr="//notebook" position="inside">

                     <page string='Insurance'>

                             <field name='name'></field>





here is my models file

from openerp import models, fields, api
class hr_insurance(models.Model):
     _name = 'hr.insurance'

     name = fields.Many2one('hr.contract', 'Insurance', required=True)

Just a simple code to add new tab into Employee but I got error : "ParseError: "Invalid view definition

Error details:

Field `message_follower_ids` does not exist"

without I don't call field "message_follower_ids" into my inherit view, how can I resolve this ? 

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/22/16, 5:48 AM
Seen: 308 times
Last updated: 11/22/16, 6:38 AM